﻿/* =========================================================
   ANDALALI LANDING CHROME
   File: andalali-landing.chrome.css

   The landing page header & footer, re-used by the pages that
   are not part of the landing page itself:
   sign in, sign up, the reset password & the static pages.

   The admin panel keeps the default Sngine header & footer.

   Every rule is scoped to .landing-chrome (a body class) so the
   Bootstrap based pages keep their own components untouched
   (.btn, .container, body ... are never touched here).

   The same header & footer for the landing page itself live in
   andalali-landing.css - keep both files in sync.
   ========================================================= */


/* =========================================================
   1. TOKENS
   ========================================================= */

.landing-chrome {
    --ink: #0f3334;
    --ink-2: #153e3f;
    --lime: #c7f150;
    --cream: #f5f2ea;
    --mint: #ecf8f5;
}


/* =========================================================
   2. PAGE SHELL
   ========================================================= */

/* the Sngine topbar is fixed, the landing header is in the flow */
body.landing-chrome,
body.landing-chrome.n_activated,
body.landing-chrome.n_live {
    padding-top: 0 !important;
}

.landing-chrome .site-header,
.landing-chrome .footer {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.45;

    -webkit-font-smoothing: antialiased;
}

.landing-chrome .site-header a,
.landing-chrome .footer a {
    color: inherit;
    text-decoration: none;
}

.landing-chrome .site-header a:hover,
.landing-chrome .footer a:hover {
    text-decoration: none;
}

.landing-chrome .site-header .container,
.landing-chrome .footer .container {
    width: min(1180px, calc(100% - 44px));
    padding-right: 0;
    padding-left: 0;
    margin: auto;
}


/* =========================================================
   3. HEADER / NAVIGATION
   ========================================================= */

/* sticky (not absolute like the landing page: there is no hero to overlay) */
.landing-chrome .site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;

    background: #112f34;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-chrome .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    height: 104px;
    gap: 28px;
}

.landing-chrome .brand {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.landing-chrome .brand-mark {
    display: grid;
    place-items: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: var(--lime);
    color: var(--ink);

    font-size: 12px;
}

.landing-chrome .brand-logo {
    display: block;

    max-height: 72px;
    max-width: 320px;
    width: auto;

    object-fit: contain;
}

.landing-chrome .brand-text {
    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-chrome .nav-links {
    display: flex;
    gap: 28px;

    margin-left: 46px;

    color: #ffffff;

    font-size: 13px;
    opacity: 0.82;
}

.landing-chrome .nav-links a:hover {
    color: var(--lime);
}

.landing-chrome .nav-actions {
    display: flex;
    align-items: center;

    margin-left: auto;
    gap: 18px;

    color: #ffffff;

    font-size: 13px;
}

.landing-chrome .nav-actions .link {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}

.landing-chrome .nav-actions .link:hover {
    color: var(--lime);
}

/* buttons inside the header */
.landing-chrome .site-header .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 20px;

    border: 0;
    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;
}

.landing-chrome .site-header .btn-sm {
    padding: 9px 14px;
    font-size: 12px;
}

.landing-chrome .site-header .btn-lime {
    background: var(--lime);
    color: #173632;
}

.landing-chrome .site-header .btn-lime:hover {
    background: #d5f96b;
    color: #173632;
}

/* hamburger (mobile) */
.landing-chrome .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;

    width: 34px;
    height: 34px;
    padding: 0 8px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;

    background: transparent;

    cursor: pointer;
}

.landing-chrome .nav-toggle span {
    display: block;

    height: 2px;

    border-radius: 2px;

    background: #ffffff;
}

.landing-chrome .nav-mobile {
    display: none;
}


/* =========================================================
   4. FOOTER
   ========================================================= */

.landing-chrome .footer {
    position: relative;

    padding: 62px 0 26px;

    background: radial-gradient(circle at 12% 0%, rgba(199, 241, 80, 0.09), transparent 46%), #0b292a;
    color: #ffffff;
}

.landing-chrome .footer::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 3px;

    background: linear-gradient(90deg, var(--lime), rgba(199, 241, 80, 0.12));
}

.landing-chrome .footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1.25fr;
    align-items: start;

    gap: 36px 34px;
}

.landing-chrome .footer-grid > div {
    min-width: 0;
}

.landing-chrome .footer-col {
    min-width: 0;
}

.landing-chrome .footer h4 {
    position: relative;

    margin: 0 0 18px;
    padding-bottom: 12px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-chrome .footer h4::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 26px;
    height: 2px;

    border-radius: 2px;

    background: var(--lime);
}

/*
 * Column link lists only.
 * The brand anchor and the socials keep their own layout (flex / grid),
 * so they are excluded here to stay aligned with the headings above them.
 */
.landing-chrome .footer-grid > div > a:not(.brand) {
    display: block;

    margin: 0 0 10px;

    color: rgba(255, 255, 255, 0.74);

    font-size: 14px;
    line-height: 1.5;

    transition: color 0.18s ease, transform 0.18s ease;
}

.landing-chrome .footer-grid > div > a:not(.brand):last-child {
    margin-bottom: 0;
}

.landing-chrome .footer-grid > div > a:not(.brand):hover {
    color: var(--lime);

    transform: translateX(3px);
}

.landing-chrome .footer p {
    max-width: 34ch;
    margin: 0 0 20px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 14px;
    line-height: 1.7;
}

/* footer contact (address, phone, whatsapp & email) */

.landing-chrome .footer .footer-contact {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.landing-chrome .footer .footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 10px;
    margin: 0;

    color: rgba(255, 255, 255, 0.74);

    font-size: 14px;
    line-height: 1.5;

    transition: color 0.18s ease;
}

.landing-chrome .footer .footer-contact-item i {
    flex: 0 0 18px;

    margin-top: 3px;

    color: var(--lime);

    font-size: 14px;
    text-align: center;
}

.landing-chrome .footer .footer-contact-item span {
    min-width: 0;

    word-break: break-word;
}

.landing-chrome .footer .footer-contact-item:hover {
    color: #ffffff;
}

/* footer brand */

.landing-chrome .footer .brand {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    margin: 0 0 18px;
}

.landing-chrome .footer .brand-logo {
    max-height: 56px;
    max-width: 260px;

    object-fit: contain;
}

.landing-chrome .footer .brand-mark {
    width: 44px;
    height: 44px;

    font-size: 18px;
}

.landing-chrome .footer .brand-text {
    font-size: 18px;
    letter-spacing: 0.01em;
    text-transform: none;
}

/* social icons */

.landing-chrome .socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin: 0;
}

.landing-chrome .socials a {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.86);

    font-size: 16px;

    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.landing-chrome .socials a:hover {
    border-color: var(--lime);

    background: var(--lime);
    color: #0b292a;

    transform: translateY(-2px);
}

.landing-chrome .copyright {
    margin-top: 42px;
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: rgba(255, 255, 255, 0.6);

    font-size: 13px;
}


/* =========================================================
   5. RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .landing-chrome .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 28px;
    }

    .landing-chrome .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {

    .landing-chrome .nav-toggle {
        display: inline-flex;
    }

    .landing-chrome .nav-links {
        display: none;
    }

    .landing-chrome .brand-logo {
        max-height: 60px;
        max-width: 260px;
    }

    .landing-chrome .nav-links.is-open {
        position: absolute;
        z-index: 30;
        top: 104px;
        right: 0;
        left: 0;

        display: flex;
        flex-direction: column;

        gap: 14px;
        margin-left: 0;
        padding: 16px 20px 22px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.08);

        background: #112f34;

        font-size: 13px;
        opacity: 1;
    }

    .landing-chrome .nav-mobile {
        display: block;
    }
}

@media (max-width: 640px) {

    .landing-chrome .site-header .container,
    .landing-chrome .footer .container {
        width: min(100% - 28px, 1180px);
    }

    .landing-chrome .nav-wrap {
        height: 84px;
    }

    .landing-chrome .brand-logo {
        max-height: 56px;
        max-width: 210px;
    }

    .landing-chrome .nav-links {
        display: none;
    }

    .landing-chrome .nav-links.is-open {
        display: flex;
        top: 84px;
    }
    .landing-chrome .nav-actions .link {
        display: none;
    }

    .landing-chrome .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .landing-chrome .footer .brand-logo {
        max-height: 56px;
        max-width: 240px;
    }
}

@media (max-width: 480px) {

    .landing-chrome .brand-logo {
        max-height: 48px;
        max-width: 160px;
    }
}

