/* ============================================
   Footer Styles - All Pages
   ============================================ */

.site-footer {
    background: #1A2B4A;
    padding: 48px 24px 24px;
    color: #fff;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Desktop: logo fixed left, 4 columns flex right */
.footer-main {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand {
    width: 150px;
    flex-shrink: 0;
}

.footer-brand img {
    height: 42px;
    width: auto;
    margin-bottom: 14px;
    display: block;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-columns {
    flex: 1;
    display: flex;
    gap: 24px;
    min-width: 0;
}

.footer-col {
    flex: 1;
    min-width: 0;
}

.footer-col-title {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #E85A24;
    white-space: nowrap;
}

.footer-col a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 12px;
    display: block;
    margin-bottom: 6px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #E85A24;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: #9CA3AF;
    font-size: 12px;
    line-height: 1.4;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: #9CA3AF;
    font-size: 12px;
    margin: 0;
}

.footer-bottom a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 12px;
}

/* <=1100px: logo on top, 4 columns below */
@media (max-width: 1100px) {
    .footer-main {
        flex-direction: column;
        gap: 24px;
    }

    .footer-brand {
        width: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .footer-brand img {
        margin-bottom: 0;
    }

    .footer-columns {
        gap: 20px;
    }
}

/* <=768px: 2x2 columns */
@media (max-width: 768px) {
    .footer-columns {
        flex-wrap: wrap;
        gap: 24px;
    }

    .footer-col {
        flex: 1 1 45%;
        min-width: 140px;
    }

    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* <=480px: single column */
@media (max-width: 480px) {
    .footer-col {
        flex: 1 1 100%;
    }
}

.cm-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cm-float-top {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid rgba(0, 107, 34, 0.15); background: #fff; color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 107, 34, 0.15); transition: border-color 0.2s, color 0.2s;
}
.cm-float-top.is-visible { display: flex; }
.cm-float-top:hover { border-color: var(--ember); color: var(--ember); }
.cm-float-top svg { width: 16px; height: 16px; }
.cm-float-quote {
  min-height: 48px; padding: 12px 20px; background: var(--ember); color: #fff;
  font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px rgba(0, 149, 48, 0.35);
  transition: background-color 0.2s;
}
.cm-float-quote:hover { background: var(--ember-dark); }
@media (min-width: 640px) { .cm-float-quote { display: none; } }
.cm-float-wa {
  display: flex; width: 56px; height: 56px; align-items: center; justify-content: center;
  border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 12px 30px rgba(0, 61, 20, 0.3); transition: transform 0.2s;
}
.cm-float-wa:hover { transform: scale(1.06); }
.cm-float-wa svg { width: 28px; height: 28px; }

