/* Milo Enterprises Inc. — static rebuild */
:root {
    --color-bg: #ffffff;
    --color-text: #2b2b2b;
    --color-muted: #6b6b6b;
    --color-accent: #1a1a1a;
    --color-line: #e5e5e5;
    --color-soft-bg: #f6f6f4;
    --color-dark-bg: #1a1a1a;
    --max-width: 1140px;
    --font-body: "Cabin", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.15s ease;
}
a:hover { opacity: 0.7; }

h1, h2, h3, h4, h5 {
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1.25;
    margin: 0 0 0.6em;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }
h5 { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }

p { margin: 0 0 1em; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Hero (with embedded header) ---------- */
.hero {
    position: relative;
    background-color: #0f1f3d;
    background-image: url("../images/network-bg.svg");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    padding: 0 24px 140px;
    overflow: hidden;
}
.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 32px;
}
.hero-mark {
    display: block;
    margin: 0 auto 18px;
    width: auto;
    max-width: 220px;
    height: auto;
}
.hero h1 {
    color: #fff;
    font-size: 3rem;
    letter-spacing: 0.08em;
    margin: 80px 0 0.4em;
    font-weight: 600;
}
.hero p.tagline {
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.22em;
    font-size: 0.95rem;
    margin: 0;
}

/* Nav inside the hero */
.hero-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
}
.hero-nav a {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
}
.hero-nav a:hover { color: #fff; opacity: 1; }

/* Smaller hero on subpages (careers) */
.hero.compact { padding-bottom: 90px; }
.hero.compact h1 { margin-top: 50px; font-size: 2.4rem; }

/* Sticky simplified header for inner pages */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15,31,61,0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 24px;
}
.site-header .site-logo img { max-height: 40px; width: auto; }
.site-header .site-nav ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 22px;
}
.site-header .site-nav a {
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.site-header .site-nav a:hover { color: #fff; opacity: 1; }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 1.6rem;
    cursor: pointer;
    color: #fff;
}

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .hero-nav ul { gap: 16px; }
    .hero-nav a { font-size: 0.78rem; letter-spacing: 0.12em; }
    .hero h1 { font-size: 2rem; margin-top: 50px; }
    .site-header .site-nav {
        display: none;
        flex-basis: 100%;
        order: 3;
    }
    .site-header .site-nav.open { display: block; }
    .site-header .site-nav ul {
        flex-direction: column;
        gap: 12px;
        padding: 12px 0 4px;
    }
}

/* ---------- Sections ---------- */
.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--color-line);
}
.section.alt { background: var(--color-soft-bg); }
.section.dark {
    background: var(--color-dark-bg);
    color: #f4f4f4;
}
.section.dark h2,
.section.dark h5 { color: #fff; }
.section.dark p { color: rgba(255,255,255,0.85); }

.section-title { text-align: center; margin-bottom: 36px; }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
@media (max-width: 760px) {
    .two-col { grid-template-columns: 1fr; gap: 32px; }
}

.intro-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.05rem;
}

.brand-logo {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
.brand-logo img { max-width: 300px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 12px 26px;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--color-accent);
    border-radius: 2px;
    transition: background 0.15s, color 0.15s;
}
.btn:hover { background: #fff; color: var(--color-accent); opacity: 1; }
.btn.outline-light {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn.outline-light:hover { background: #fff; color: #1a1a1a; }
.button-row { text-align: center; margin-top: 28px; }

/* ---------- Contact ---------- */
.contact-info h5 { margin-top: 18px; }
.contact-info h5:first-child { margin-top: 0; }
.contact-info p { margin: 0 0 0.4em; }
.map-embed {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 4px;
}

/* ---------- News ---------- */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 32px;
    align-items: center;
}
.news-grid img { margin: 0 auto; max-height: 280px; width: auto; }
@media (max-width: 760px) {
    .news-grid { grid-template-columns: 1fr; }
}

/* ---------- Subscribe form ---------- */
.subscribe-form {
    max-width: 520px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}
.subscribe-form input {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 2px;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.6); }
.subscribe-form button {
    width: 100%;
    padding: 12px 26px;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #fff;
    color: #1a1a1a;
    border: 0;
    cursor: pointer;
    border-radius: 2px;
}
.subscribe-note {
    margin-top: 18px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}

/* ---------- Careers list ---------- */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.benefits-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-line);
}
.benefits-list li:last-child { border-bottom: 0; }

.address-block {
    background: var(--color-soft-bg);
    padding: 24px;
    border-left: 3px solid var(--color-accent);
}

/* ---------- Footer ---------- */
.site-footer {
    background: #111;
    color: #cfcfcf;
    padding: 40px 24px 24px;
    text-align: center;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}
.social-icons a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2a2a2a;
    color: #fff;
    font-size: 0.95rem;
}
.social-icons a:hover { background: #444; opacity: 1; }
.copyright {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
}
