/* === app.css === */

:root {
    --teal: #1a5c6b;
    --teal-dk: #0e3d49;
    --orange: #e8521a;
    --white: #f2f2f2;
    --dark: #111111;
    --nav-h: 70px;
    font-family: "NHaasGroteskTX", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--dark);
    color: #f2f2f2;
    overflow-x: hidden;
}
body.page-home main {
    padding-top: 0;
}
body:not(.page-home) main {
    padding-top: var(--nav-h);
}
img {
    display: block;
    max-width: 100%;
}
a {
    text-decoration: none;
    color: inherit;
}
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}
ul,
ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
#site-footer {
    position: relative;
    background: #071e27;
    overflow: hidden;
}

/* ── Watermark — rendered as footer::before so it's never covered ── */
.footer__watermark {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
    opacity: 100%;
}

.footer__wm-img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.35;
    filter: grayscale(100%) brightness(1.8);
}

/* ── Top nav grid ────────────────────────────────── */
.footer__top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr 1fr;
    gap: 0 52px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 48px 220px;
}

/* ── Column titles ───────────────────────────────── */
.footer__col-title {
    font-size: 24px;
    font-weight: 700;
    color: #f2f2f2;
    margin-bottom: 18px;
    letter-spacing: 0;
    line-height: 28px;
}

.footer__col-title--spaced {
    margin-top: 32px;
}

.footer__col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col li a {
    font-size: 20px;
    color: #778288;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.3;
    display: block;
}

.footer__col li a:hover {
    color: rgba(255, 255, 255, 0.95);
}

/* ── Social icons ────────────────────────────────── */
.footer__social {
    display: flex;
    gap: 18px;
    margin-top: 6px;
}

.footer__social-link {
    color: #1e7a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
}

.footer__social-link:hover {
    color: #4ecdc4;
}
.footer__social-link svg {
    width: 22px;
    height: 22px;
}

/* ── Bottom bar ──────────────────────────────────── */
.footer__bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 48px;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__legal a:hover {
    color: #f2f2f2;
}

/* ── Product Enquiry floating button ─────────────── */
.footer__enquiry {
    position: fixed;
    bottom: 32px;
    right: 24px;
    z-index: 999;
    background: #ff5f1a;
    color: #111111;
    border-radius: 50px;
    width: 56px;
    height: 117px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 14px;
    gap: 0;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    text-align: center;
    overflow: visible;
}

.footer__enquiry:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 32px rgba(232, 82, 26, 0.55);
}

/* Hide the existing SVG */
.footer__enquiry svg {
    display: none;
}

.footer__enquiry span {
    position: absolute;
    width: 48px;
    height: 23px;
    left: calc(50% - 48px / 2 - 1px);
    top: 64px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: none;
    line-height: 13px;
    color: #021c25;
}
.enquiry__icon {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 44px;
    background: #fafafa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 3px solid #ff5f1a; */
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); */
}

.enquiry__icon svg {
    width: 29px;
    height: 34px;
    display: block;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 960px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 36px 40px;
        padding-bottom: 180px;
    }
}

@media (max-width: 560px) {
    .footer__top {
        grid-template-columns: 1fr;
        padding: 40px 24px 160px;
    }
    .footer__bottom {
        padding: 16px 24px;
    }
    .footer__wm-text {
        font-size: 18vw;
    }
    .footer__enquiry {
        bottom: 20px;
        right: 20px;
        width: 62px;
        height: 62px;
    }
}

/* ── Safety Core full-width image ───────────────────────── */
.safety-core-img {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    line-height: 0;
    overflow: hidden;
}

.safety-core-img img {
    width: 100%;
    height: auto;
    display: block;
}
