/* IORI Footer CTA Widget Styles */

/* Font import */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap'); */

/* Section Container */
.iori-footer-cta-section {
    position: relative;
    background-color: #2F373E;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.iori-footer-cta-title {
    text-align: left;
}

/* Dark overlay */
.iori-footer-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(43, 49, 55, 0.76);
    z-index: 1;
}

.iori-footer-cta-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
    width: 68%;
}

/* Content */
.iori-footer-cta-content {
    max-width: 700px;
}

/* Phone */
.iori-footer-cta-phone-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    color: white;
}

.iori-footer-cta-icon {
    width: 55px;
    height: 55px;
    background: #39424A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.iori-footer-cta-icon svg,
.iori-footer-cta-icon img {
    width: 20px;
    height: 20px;
}

.iori-footer-cta-phone {
    font-family: 'Montserrat', sans-serif;
    font-size: 27px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.iori-footer-cta-phone:hover {
    color: #FFFFFF;
}

/* Hours */
.iori-footer-cta-hours-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.iori-footer-cta-text {
    font-family: 'Montserrat', sans-serif;
}

.iori-footer-cta-text p {
    margin: 0 0 5px 0;
    font-size: initial;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.3;
}

.iori-footer-cta-text p:last-child {
    margin-bottom: 0;
}

/* Address */
.iori-footer-cta-address-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
}

/* Response Time */
.iori-footer-cta-response {
    font-family: 'Montserrat', sans-serif;
    font-size: medium;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0;
}

/* Bottom blocks wrapper for reordering */
.iori-footer-cta-bottom-blocks {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Desktop order: social -> response -> button */
.iori-footer-cta-social-wrapper {
    order: 1;
    margin-bottom: 0;
}

.iori-footer-cta-response {
    order: 2;
    margin-bottom: 0;
}

.iori-footer-cta-button {
    order: 3;
    margin: 0;
}

/* Social Icons */
.iori-footer-cta-social-wrapper {
    display: flex;
    gap: 15px;
}

.iori-footer-cta-social {
    width: 72px;
    height: 72px;
    background: #F3A623;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.iori-footer-cta-social:hover {
    background: #E09500;
    transform: translateY(-2px);
}

.iori-footer-cta-social img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Responsive - Small Mobile */
@media (max-width: 768px) {
    .iori-footer-cta-container {
        display: block;
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .iori-footer-cta-title {
        text-align: center;
    }

    .iori-footer-cta-overlay {
        display: none;
    }
    
    .iori-footer-cta-phone {
        font-size: 22px;
    }
    
    .iori-footer-cta-icon {
        width: 36px;
        height: 36px;
        margin-right: 12px;
    }
    
    .iori-footer-cta-icon svg,
    .iori-footer-cta-icon img {
        width: 14px;
        height: 14px;
    }

    .iori-footer-cta-social {
        width: 49px;
        height: 49px;
    }

    .iori-footer-cta-social img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    .iori-footer-cta-text p {
        font-size: small;
    }
    
    .iori-footer-cta-response {
        font-size: small;
        margin-bottom: 20px;
    }

    .iori-footer-cta-button {
        margin: 0 auto;
    }

    .iori-footer-cta-social-wrapper {
        justify-content: center;
    }

    .iori-footer-cta-response {
        text-align: center;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .iori-footer-cta-container {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .iori-footer-cta-title {
        text-align: center;
    }

    .iori-footer-cta-phone {
        font-size: medium;
    }
    
    .iori-footer-cta-button {
        margin: 0 auto;
    }

    .iori-footer-cta-social {
        width: 49px;
        height: 49px;
    }
    
    .iori-footer-cta-social img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    .iori-footer-cta-social-wrapper {
        justify-content: center;
    }

    .iori-footer-cta-response {
        text-align: center;
    }
}
