/* =========================================
   ROYAL OAK FOOTER
========================================= */

.ro-site-footer {
    position: relative;
    background-color: #002d56;
    color: #ffffff;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 70px 24px 35px;
    margin: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
}

#colophon {
    margin-bottom: 0 !important;
}

.ro-footer-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

/* =========================================
   TOP CTA BANNER
========================================= */

.ro-footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 45px;
}

.ro-footer-cta-content h2 {
    margin: 0;
    color: #ffffff;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(32px, 3.5vw, 44px);
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: -0.03em;
}

.ro-footer-cta-action {
    flex-shrink: 0;
}

.ro-footer-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 26px;
    background-color: #ffffff;
    color: #002d56;
    border-radius: 6px;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ro-footer-btn-white span {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.ro-footer-btn-white:hover {
    background-color: #f1f5f9;
    color: #002140;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.ro-footer-btn-white:hover span {
    transform: translateX(4px);
}

/* =========================================
   DIVIDER
========================================= */

.ro-footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    margin-bottom: 50px;
}

/* =========================================
   MAIN 4-COLUMN GRID
========================================= */

.ro-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 1.1fr) minmax(0, 1.35fr);
    column-gap: 50px;
    row-gap: 40px;
}

/* Column 1: Brand */

.ro-footer-logo-img {
    display: block;
    width: auto;
    max-width: 175px;
    height: auto;
    max-height: 60px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.ro-footer-desc {
    margin: 18px 0 24px;
    color: rgba(255, 255, 255, 0.72);
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14.5px;
    line-height: 1.65;
    max-width: 280px;
}


/* social icons */


/* =====================================
   FOOTER SOCIAL MEDIA ICONS
===================================== */

.ro-footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ro-footer-socials .ro-social-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background-color: #315978;

    text-decoration: none;
    overflow: hidden;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

/* PNG images */
.ro-footer-socials .ro-social-icon img {
    display: block;
    width: 19px;
    height: 19px;

    max-width: none;
    object-fit: contain;

    /* Display icons in white */
    filter: brightness(0) invert(1);
}

/* Hover effect */
.ro-footer-socials .ro-social-icon:hover {
    background-color: #c6a044;
    transform: translateY(-2px);
}


/* Headings */

.ro-footer-heading {
    margin: 0 0 20px;
    color: #e5a93c;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 17.5px;
    font-weight: 600;
    line-height: 1.3;
}

.ro-footer-heading-sub {
    margin-top: 26px;
}

/* Menus */

.ro-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ro-footer-menu li {
    margin: 0 0 12px;
    padding: 0;
}

.ro-footer-menu li a {
    color: rgba(255, 255, 255, 0.78);
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14.5px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.ro-footer-menu li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}


/* =========================================
   FOOTER CONTACT ICONS
   Royal Oak Financial
========================================= */

.ro-footer-col-contact .ro-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 26px;
}

.ro-footer-col-contact .ro-contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    flex: 0 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #104b73;
    border: 1px solid #286087;
    border-radius: 10px;

    color: #ffffff;
    box-sizing: border-box;
}

/* Footer contact icon boxes */
.ro-footer-col-contact .ro-contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    flex: 0 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #104b73;
    border: 1px solid #286087;
    border-radius: 10px;

    box-sizing: border-box;
    overflow: hidden;
}

/* PNG icons */
.ro-footer-col-contact .ro-contact-icon img {
    display: block;
    width: 24px;
    height: 24px;

    max-width: 100%;
    object-fit: contain;
    object-position: center;
}


.ro-footer-col-contact .ro-contact-info {
    display: flex;
    flex-direction: column;
    gap: 3px;

    min-width: 0;
    padding-top: 3px;
}

.ro-footer-col-contact .ro-contact-label {
    display: block;
    color: #ffffff;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.ro-footer-col-contact .ro-contact-value {
    display: block;
    color: #ffffff !important;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;

    text-decoration: none;
    overflow-wrap: anywhere;
}

.ro-footer-col-contact a.ro-contact-value:hover {
    color: #d3ae5e !important;
}

/* Mobile adjustment */
@media (max-width: 480px) {
    .ro-footer-col-contact .ro-contact-item {
        gap: 12px;
        margin-bottom: 22px;
    }

    .ro-footer-col-contact .ro-contact-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        flex-basis: 42px;
    }
}


/* Column 4: Contact */

.ro-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.ro-contact-item:last-child {
    margin-bottom: 0;
}

.ro-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    margin-top: 2px;
}

.ro-contact-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ro-contact-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2px;
    font-weight: 400;
}

.ro-contact-value {
    color: #ffffff;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

a.ro-contact-value:hover {
    color: #e5a93c;
}

/* =========================================
   BOTTOM COPYRIGHT
========================================= */

.ro-footer-bottom {
    margin-top: 55px;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.ro-footer-bottom p {
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.50);
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13.5px;
    font-weight: 400;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1024px) {

    .ro-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 40px;
        row-gap: 40px;
    }

    .ro-footer-cta {
        gap: 24px;
    }

}

@media (max-width: 640px) {

    .ro-site-footer {
        padding: 50px 18px 30px;
    }

    .ro-footer-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-bottom: 35px;
    }

    .ro-footer-cta-action {
        width: 100%;
    }

    .ro-footer-btn-white {
        width: 100%;
        justify-content: center;
    }

    .ro-footer-divider {
        margin-bottom: 40px;
    }

    .ro-footer-grid {
        grid-template-columns: 1fr;
        row-gap: 36px;
    }

    .ro-footer-desc {
        max-width: 100%;
    }

    .ro-footer-bottom {
        margin-top: 40px;
        padding-top: 25px;
    }

}

