/**
 * BIRO LAW footer — standalone file (no npm/Vite required).
 * Deploy with: public/css/biro-footer.css
 */

.biro-footer {
    border-top: 1px solid #e7d5c4;
    background: #f7f4f0;
    color: #451a03;
    font-family:
        'Instrument Sans',
        ui-sans-serif,
        system-ui,
        sans-serif,
        'Segoe UI',
        Roboto,
        'Helvetica Neue',
        Arial,
        sans-serif;
}

.biro-footer__inner {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 2.5rem 1.5rem 2rem;
}

@media (min-width: 768px) {
    .biro-footer__inner {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

.biro-footer__grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .biro-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 2rem;
    }
}

@media (min-width: 1024px) {
    .biro-footer__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 3rem 2rem;
    }
}

.biro-footer__col {
    min-width: 0;
}

.biro-footer__brand {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #451a03;
}

.biro-footer__lead {
    margin: 0.75rem 0 0;
    max-width: 22rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #78350f;
}

.biro-footer__heading {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #451a03;
}

.biro-footer__list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    line-height: 1.5;
}

.biro-footer__list li + li {
    margin-top: 0.5rem;
}

.biro-footer__link {
    color: #92400e;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition:
        color 0.15s ease,
        border-color 0.15s ease;
}

.biro-footer__link:hover {
    color: #451a03;
    border-bottom-color: #b45309;
}

.biro-footer__text-plain {
    color: #92400e;
}

.biro-footer__btn {
    display: inline;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    font: inherit;
    font-size: 0.875rem;
    color: #92400e;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition:
        color 0.15s ease,
        border-color 0.15s ease;
}

.biro-footer__btn:hover {
    color: #451a03;
    border-bottom-color: #b45309;
}

.biro-footer__bottom {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid #e7d5c4;
    text-align: center;
}

.biro-footer__legal {
    margin: 0 auto;
    max-width: 48rem;
    font-size: 0.75rem;
    line-height: 1.55;
    color: #92400e;
}

.biro-footer__copyright {
    margin: 1.25rem 0 0;
    font-size: 0.8125rem;
    color: #78350f;
}

/* -------------------------------------------------------------------------- */
/* Floating WhatsApp (all pages using this stylesheet)                       */
/* -------------------------------------------------------------------------- */

.biro-wa-btn {
    position: fixed;
    z-index: 9999;
    left: max(1rem, env(safe-area-inset-left, 0px));
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

@media (min-width: 768px) {
    .biro-wa-btn {
        width: 3.75rem;
        height: 3.75rem;
        left: max(1.25rem, env(safe-area-inset-left, 0px));
        bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    }
}

.biro-wa-btn:hover {
    background: #20bd5a;
    transform: scale(1.06);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.biro-wa-btn:active {
    transform: scale(0.98);
}

.biro-wa-btn:focus-visible {
    outline: 3px solid #451a03;
    outline-offset: 3px;
}

.biro-wa-btn__icon {
    width: 1.75rem;
    height: 1.75rem;
}

@media (min-width: 768px) {
    .biro-wa-btn__icon {
        width: 1.875rem;
        height: 1.875rem;
    }
}
