/* === layout_mock2.css — Top bar, header, nav, footer for public homepage mock === */

:root {
    --navy-dark:  #0f1d3a;
    --navy:       #1b2a52;
    --navy-light: #2d4080;
    --red:        #c1272d;
    --red-hover:  #a01f23;
    --white:      #ffffff;
    --gray-bg:    #f5f7fa;
    --gray-border:#e2e8f0;
    --text-dark:  #1a2035;
    --text-mid:   #4a5568;
    --font-h:     'Exo 2', sans-serif;
    --font-b:     'Mulish', sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { overflow-x: hidden; }

body {
    font-family: var(--font-b);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ── Top contact bar ─────────────────────────────────────────────────────── */
.lm-topbar {
    background: var(--navy-dark);
    color: rgba(255,255,255,.85);
    font-size: 1rem;
    padding: 5px 0;
}

.lm-topbar a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .2s;
}
.lm-topbar a:hover { color: var(--white); }

/* Contact items — spacing + separator + icon size */
.lm-topbar-contacts {
    gap: 1.25rem;
}
.lm-topbar-contacts .bi {
    font-size: 1.14rem;
}
.lm-topbar-contacts > span + span {
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lm-topbar-inner {
    padding: 0 32px;
}

/* N!NEXUS brand block — topbar */
.lm-nexus-of {
    font-size: .65rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    font-family: var(--font-b);
    white-space: nowrap;
}

.lm-nexus-name {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    letter-spacing: .03em;
    line-height: 1;
    white-space: nowrap;
}
.lm-nexus-name em {
    font-style: normal;
    color: var(--red);
}

.lm-nexus-tagline {
    font-size: .65rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    font-family: var(--font-b);
    white-space: nowrap;
}

/* B2B button — brand overrides only; Bootstrap btn btn-danger handles base styles */
.lm-btn-b2b {
    font-family: var(--font-h);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    border-radius: 2px;
    white-space: nowrap;
    padding: 6px 18px;
    background: var(--red);
    border-color: var(--red);
}
.lm-btn-b2b:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
    color: var(--white);
}

/* ── Main header ─────────────────────────────────────────────────────────── */

/* sticky-top, bg-white, border-bottom come from Bootstrap classes on the element.
 * !important needed to beat default.css (.navbar { height:50px; padding:0 25px !important }) */
.lm-header {
    height: auto !important;
    min-height: 0 !important;
    padding: 14px 0 !important;
    box-shadow: 0 2px 12px rgba(15,29,58,.07);
}

.lm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 32px;
}

.lm-brand img { height: 62px; width: auto; }

.lm-brand-name {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--navy);
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.15;
}

.lm-brand-sub {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.35;
    max-width: 240px;
}

/* ── Navigation (desktop, ≥1400px) ──────────────────────────────────────── */
.lm-nav {
    gap: clamp(0.25rem, 0.5vw, 0.75rem);
}

.lm-nav a {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: clamp(1rem, 0.45vw + 0.75rem, 1.25rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 8px;
    border-radius: 3px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.lm-nav a:hover {
    color: var(--navy);
    background: var(--gray-bg);
}
.lm-nav a.active {
    color: var(--navy);
    background: rgba(27, 42, 82, 0.06);
}

.lm-nav-search {
    font-size: 1.05rem;
    color: var(--text-mid);
    padding: 8px 10px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: color .2s, background .2s;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.lm-nav-search:hover {
    color: var(--navy);
    background: var(--gray-bg);
}

/* ── Hamburger — shown at <1400px via navbar-expand-xxl ─────────────────── */
.lm-mobile-toggle {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 32, 65, 0.18);
    border-radius: 0.5rem;
    background-color: var(--white);
    color: var(--navy-dark);
    cursor: pointer;
    flex-shrink: 0;
}
.lm-mobile-toggle .mdi {
    font-size: 1.75rem;
    line-height: 1;
}
/* Suppress Bootstrap's default toggler focus ring */
.lm-mobile-toggle:focus {
    box-shadow: none;
    outline: none;
}

/* ── Offcanvas navigation (mobile/tablet <1400px) ───────────────────────── */
.offcanvas-nav .nav-link {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-dark);
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(15, 32, 65, 0.08);
    transition: color .2s;
}
.offcanvas-nav .nav-link:hover { color: var(--navy); }
.offcanvas-nav .nav-link.active { color: var(--navy); }
.offcanvas-nav li:last-child .nav-link { border-bottom: none; }

/* ── Responsive header ───────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
    .lm-topbar-right { flex: 1; justify-content: space-between; }
    .lm-header { padding: 10px 0 !important; }
    .lm-brand img { height: 46px; }
    .lm-mobile-toggle {
        width: 3.25rem;
        height: 3.25rem;
        min-width: 3.25rem;
    }
    .lm-mobile-toggle .mdi { font-size: 2rem; }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.lm-footer {
    background: #0d1424;
    color: rgba(255,255,255,.7);
    padding: 48px 0 20px;
    overflow-x: hidden;
}

/* Cap content width to 1200px — Bootstrap container goes to 1320px at xxl */
.lm-footer .container {
    max-width: 1200px;
}

.lm-footer-col-title {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 0.929rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    line-height: 1.3;
}

.lm-footer-company-name {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.lm-footer p {
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255,255,255,.6);
}

.lm-footer a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.55;
    display: block;
    margin-bottom: 0;
    transition: color .2s;
}
.lm-footer a:hover { color: var(--white); }

/* Social icon circles */
.lm-footer-social {
    gap: 10px;
    margin-top: 24px;
}
.lm-footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.2);
    font-size: .9rem;
    transition: border-color .2s, color .2s;
}
.lm-footer-social a:hover {
    border-color: rgba(255,255,255,.7);
    color: var(--white);
}

/* Contact items column */
.lm-footer-contacts {
    gap: 14px;
}
.lm-footer-contact-item {
    gap: 12px;
    font-size: 1rem;
    color: rgba(255,255,255,.6);
}
.lm-footer-contact-item i {
    color: rgba(255,255,255,.35);
    font-size: .9rem;
    flex-shrink: 0;
}

/* Footer N!NEXUS — d-flex beats .lm-footer a { display:block } (Bootstrap !important) */
.lm-footer .lm-footer-nexus {
    margin-bottom: 0;
    padding-top: 0;
}
.lm-nexus-name--lg {
    font-size: 1.45rem;
    letter-spacing: .04em;
}
.lm-footer-nexus .lm-nexus-of {
    font-size: 0.786rem;
    letter-spacing: 0.12em;
}
.lm-footer-nexus .lm-nexus-of,
.lm-footer-nexus .lm-nexus-tagline {
    color: rgba(255,255,255,.4);
    white-space: normal;
}

.lm-footer-hr {
    border-top: 1px solid rgba(255,255,255,.18);
    /* margin via Bootstrap my-3; opacity via opacity-100 */
}

/* ── Footer bottom row ──────────────────────────────────────────────────── */
.lm-footer-bottom-inner {
    font-size: 0.857rem;
    color: rgba(255,255,255,.45);
}
.lm-footer-bottom-inner a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    font-size: 0.857rem;
    display: inline;
    margin-bottom: 0;
    transition: color .2s;
}
.lm-footer-bottom-inner a:hover { color: rgba(255,255,255,.85); }

@media (max-width: 767.98px) {
    .lm-footer { padding: 36px 0 20px; }
}
