﻿/* ===== Theme / tokens ===== */
:root {
    --maroon: #8A1538;
    --maroon-dark: #4B0618;
    --muted: #8a8f98;
    /* Fluid type & spacing */
    --fs-body: clamp(12px, 1.1vw, 14px);
    --fs-lead: clamp(12px, 1.2vw, 16px);
    --fs-headline: clamp(16px, 2vw, 22px);
    --fs-small: clamp(10px, .9vw, 12px);
    --fs-social: clamp(18px, 1.8vw, 24px);
    --fs-icon: clamp(16px, 1.4vw, 20px);
    --radius: 8px;
    --pad-y: clamp(20px, 4vw, 40px);
    --gap: clamp(8px, 2vw, 16px);
}
/* ===== Base ===== */
.footer {
    background: var(--maroon);
    color: #fff;
    padding: var(--pad-y) 0 0;
    font-size: var(--fs-body);
    line-height: 1.6;
    position: static;
    bottom: auto;
    width: 100%;
}

    .footer .link-white {
        color: #fff;
        text-decoration: none;
    }

        .footer .link-white:hover {
            text-decoration: underline;
        }
/* Constrain inner width to match site grid */
.footer-inner {
    margin-inline: auto;
    padding-inline: 16px;
}
/* ===== Logo ===== */
.footer-logo {
    width: clamp(180px, 28vw, 345px);
    height: clamp(36px, 5.2vw, 70px);
    object-fit: contain;
}
/* ===== Social media ===== */
.social-media {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(8px, 1.8vw, 15px);
    justify-content: flex-start;
    margin-top: clamp(12px, 2.2vw, 20px);
    list-style: none;
    padding: 0;
    gap: 8px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 38px;
    padding: 8px;
    font-size: 14px;
    color: #fff;
    background: #AF697E;
    border: 1px solid #fff;
    border-radius: 6px;
    box-shadow: none;
    transition: opacity .2s ease, transform .2s ease;
}

.cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #EBE4E6;
    color: #8A1538;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 0 10px;
}

.social-icon:hover {
    transform: translateY(-1px);
    opacity: .9;
}
/* ===== Right column (contact) ===== */
.contact-details {
    font-size: var(--fs-body);
}

.lead-title {
    font-size: var(--fs-lead);
}

.headline {
    font-size: var(--fs-headline);
    font-weight: 700;
}

.contact-rows {
    gap: clamp(10px, 2vw, 10px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    min-width: 220px; /* allows wrapping nicely */
}

.contact-icon {
    color: #AF697E;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.label {
    font-size: var(--fs-small);
    opacity: .9;
}

.value {
    font-size: var(--fs-lead);
    font-weight: 700;
}
/* ===== Sub-footer ===== */
.sub-footer {
    background: var(--maroon-dark);
    padding: clamp(10px, 2vw, 15px) 0;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

    .sub-footer .copyright {
        font-size: var(--fs-small);
    }

    .sub-footer .footer-inner {
        border: none !important;
        outline: none !important;
    }

    .sub-footer * {
        border: none !important;
        outline: none !important;
    }
/* ===== Responsiveness ===== */
@media (max-width: 991.98px) {
    .footer .row,
    .footer .col,
    .footer .col-12,
    .footer .col-md,
    .footer .col-lg {
        text-align: center;
    }

    .social-media {
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .contact-details {
        align-items: center !important;
        text-align: center !important;
    }
}

@media (max-width: 575.98px) {

    
    .contact-rows {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 14px !important;
    }

    .contact-item {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 420px; 
        justify-content: flex-start !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        flex-direction: row-reverse; 
    }

    .cat-icon {
        margin: 0 !important; 
        flex: 0 0 auto !important;
    }

    
    .contact-item > div:last-child {
        min-width: 0;
    }

    .value, .label, .contact-item a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    
    .social-media {
        justify-content: center !important;
        margin: 12px auto 16px auto !important;
        padding: 0 !important;
        width: 100% !important;
        flex-wrap: wrap !important;
    }

    .headline {
        margin-top: 8px !important;
        line-height: 1.35 !important;
        text-align: center !important;
    }

    .contact-info {
        text-align: center !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    
    .sub-footer {
        width: 100%;
        padding-inline: 16px; 
        box-sizing: border-box;
        overflow: hidden; 
    }

        .sub-footer .copyright {
            max-width: 100%;
            white-space: normal !important;
            overflow-wrap: anywhere !important;
            word-break: break-word !important;
            text-align: center;
            margin: 0;
        }

        
        .sub-footer,
        .sub-footer *,
        .sub-footer .container,
        .sub-footer .row,
        .sub-footer [class*="col-"] {
            border: none !important;
            outline: none !important;
            box-shadow: none !important;
        }
}

