/* Header and footer chrome shared by public inner pages. */
.site-head {
    --forest: #063f30;
    --green: #10885c;
    --line: #e3ebe6;
    --ink: #18362f;
    height: 82px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
}

.site-shell {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 34px;
}

.head-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.site-head a {
    text-decoration: none;
    color: inherit;
}

.site-head .logo {
    width: 165px;
    height: 62px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-head .logo img {
    width: 100%;
    height: 56px;
    object-fit: contain;
    display: block;
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navlinks a {
    font-size: 13px;
    color: #566a63;
    font-weight: 600;
}

.navlinks a:hover,
.navlinks a.active {
    color: var(--green);
}

.head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-head .btn,
#mobileNavPanel .btn {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 11px 17px;
    background: #fff;
    font-weight: 700;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}

.site-head .btn:hover,
#mobileNavPanel .btn:hover {
    transform: translateY(-1px);
}

.site-head .btn-primary,
#mobileNavPanel .btn-primary {
    background: var(--forest);
    color: #fff;
    box-shadow: 0 7px 18px #07443118;
}

.site-head .btn-primary:hover,
#mobileNavPanel .btn-primary:hover {
    background: #096044;
}

.site-head .btn-light {
    border-color: #d9e6dd;
    color: #275445;
}

.site-head .btn-sm {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 10px;
}

.site-head .btn-icon {
    width: 39px;
    height: 39px;
    padding: 0;
    border: 1px solid var(--line);
}

.mobile-menu-button {
    display: none;
}

.footer {
    background: #0d3328;
    color: #d9eee2;
    padding: 55px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr repeat(3, 1fr);
    gap: 40px;
}

.footer-logo {
    width: 190px;
    height: 75px;
    object-fit: contain;
    object-position: left;
}

.footer p {
    color: #a5c4b4;
    line-height: 1.7;
    max-width: 360px;
    font-size: 12px;
}

.footer h4 {
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    color: #e6f6ed;
    margin: 12px 0 18px;
}

.footer a {
    display: block;
    color: #a9c9b8;
    margin: 10px 0;
    font-size: 12px;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.footer .socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer .socials a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #fff;
}

.footer-bottom {
    margin-top: 38px;
    padding-top: 21px;
    border-top: 1px solid #31594b;
    color: #a3c1ae;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    gap: 20px;
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-bottom a {
    display: inline;
    margin: 0;
}

@media (max-width: 1150px) {
    .navlinks {
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .navlinks {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
    }

    .site-shell {
        padding: 0 24px;
    }
}

@media (max-width: 650px) {
    .site-shell {
        padding: 0 16px;
    }

    .site-head {
        height: 68px;
    }

    .site-head .logo {
        width: 124px;
        height: 50px;
    }

    .site-head .logo img {
        height: 47px;
    }

    .head-actions .btn-light {
        display: none;
    }

    .head-actions .btn-primary {
        padding: 9px 11px;
        font-size: 11px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        display: block;
    }
}

.wa-float {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 80;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 28px rgba(18, 140, 70, 0.38);
    text-decoration: none;
    transition: background 0.18s, transform 0.18s;
}

.wa-float:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

.wa-float svg {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .wa-float:hover {
        transform: none;
    }
}
