@charset "UTF-8";

/* FOOTER - Mobile First */

/* Base Mobile Styles (< 480px) */
.footer {
    background: linear-gradient(160deg, #fff 0, #f5f9ff 100%);
    border-top: 1px solid #037dd3;
    padding: 20px 10px 0;
    color: #2a2a2a;
    box-shadow: inset 0 10px 20px rgba(3, 125, 211, 0.03);
    overflow: hidden;
    margin-top: 10px;
    text-align: center;
}

.footer__top-section {
    margin: 0 0 10px 0;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.footer__middle-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 0 0 40px 0;
}

.footer__columns-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.footer__social {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer .mobile-only { display:block; }
.footer .desktop-only { display:none; }

.footer-social-link {
    display: inline-block;
    margin: 0 5px;
    transition: transform 0.3s;
}

.footer-social-link a {
    display: block;
    transition: opacity 0.3s;
}

.footer-social-link svg {
    width: 24px;
    height: 24px;
    fill: #037dd3;
    transition: fill 0.3s, transform 0.3s;
}

.footer-social-link:hover {
    transform: scale(1.1);
}

.footer-social-link:hover svg {
    fill: #0099ff;
}

.footer__column {
    width: 100%;
    background-color: #f9fbff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(3, 125, 211, 0.08);
    margin-bottom: 10px;
}

.footer__menu-title, 
.footer__contact-title {
    color: #037dd3;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    padding: 12px;
    padding-right: 25px;
    border-radius: 5px;
    background-color: transparent;
    text-align: center;
}

.footer__contact-title::after,
.footer__menu-title::after {
    content: "▼";
    font-size: 14px;
    transition: transform 0.3s;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.footer__contact-title.active::after,
.footer__menu-title.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.footer__column-content {
    display: none;
    padding: 10px;
}

.footer__menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__menu-item {
    margin-bottom: 8px;
}

.footer__menu-item a {
    color: #2a2a2a;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s, padding 0.3s;
    opacity: 0.9;
    display: block;
    padding: 5px 0;
}

.footer__menu-item a:hover {
    color: #037dd3;
    opacity: 1;
    padding-left: 5px;
}

.footer__contact-item {
    gap: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 5px 0;
}

.contact-icon {
    width: 16px;
    height: 16px;
}

.footer__contact-item a {
    color: #2a2a2a;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer__contact-item a:hover {
    color: #037dd3;
}

.footer__bottom-bar {
    padding: 0;
    border-top: 1px solid rgba(3, 125, 211, 0.1);
}

.footer__bottom-content {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 10px;
}

.footer__aicel, 
.footer__payments {
    display: flex;
    gap: 10px;
}

.footer__aicel img {
    max-width: 120px;
    height: auto;
}

.footer__payment-logos {
    flex-wrap: wrap;
}

.footer__payment-logos .product__payments_cards {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 0;
}

.footer__payment-logos .product__payments_cards img {
    max-width: 28px;
    max-height: 20px;
    height: auto;
    margin: 0 3px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s, filter 0.3s;
}

.footer__payment-logos .product__payments_cards img:hover {
    transform: scale(1.12);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2)) brightness(1.2);
}

.footer__legal {
    background-color: transparent;
    color: black;
    padding: 0;
    text-align: center;
    font-size: 7px;
    border-top: 1px solid rgba(3, 125, 211, 0.1);
}

.footer__legal-text {
    margin: 0;
    line-height: 1;
}

/* NEWSLETTER POPUP */
.newsletter-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter-popup-container {
    background-color: white;
    border-radius: 8px;
    max-width: 90%;
    width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.newsletter-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: #ffbe01;
    color: #004f87;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.newsletter-popup-close:hover {
    background: #e6a800;
}

.newsletter-form {
    max-width: 540px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid #ffbe00;
    border-radius: 8px;
    text-align: center;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 500;
    color: #ffbe00;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #2a2a2a;
    font-size: 14px;
}

.privacy-group label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #2a2a2a;
    font-size: 14px;
    font-weight: 700;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.submit-btn {
    background: linear-gradient(135deg, rgba(30,144,255,0.8), rgba(0,119,190,0.8));
    color: white;
    border: 2px solid #ffbe00;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 125, 211, 0.3);
}

.message {
    padding: 10px;
    margin: 10px 0;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
}

.message.error {
    color: #661d1d;
    background: #ffeded;
    border: 1px solid #e41818;
}

.message.success {
    color: #085229;
    background: #e7faf0;
    border: 1px solid #13ce66;
}

.hidden {
    display: none;
}

/* Newsletter Button Styles */
.footer-newsletter-content .footer-newsletter-right {
    justify-content: center;
    margin-top: 20px;
}

.footer-newsletter-content .footer-newsletter-right a {
    font-size: 14px;
    color: var(--text-input-submit);
    border: 2px solid var(--color-accent);
    background: var(--color-accent);
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    width: 30vh;
}

.footer-newsletter-content .footer-newsletter-right a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    transition: left 0.6s ease;
}

.footer-newsletter-content .footer-newsletter-right a:hover::before {
    left: 100%;
}

.footer-newsletter-content .footer-newsletter-right a:hover {
    background: linear-gradient(135deg, #4a9eff 0%, var(--color-primary) 100%);
    color: var(--color-onaccent);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(3, 125, 211, 0.35);
    border-color: var(--color-primary);
}

.footer-newsletter-content .footer-newsletter-right a:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

.button-icon {
    width: 16px;
    height: 16px;
    fill: var(--text-input-submit);
    margin-right: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-newsletter-content .footer-newsletter-right a:hover .button-icon {
    fill: var(--color-onaccent);
    transform: translateX(4px) rotate(10deg);
}

/* Tablet Small - 480px */
@media (min-width: 480px) {
    .footer {
        padding: 30px 15px 0;
    }
    
    .footer-social-link svg {
        width: 28px;
        height: 28px;
    }
    
    .footer__contact-title,
    .footer__menu-title {
        font-size: 17px;
    }
    
    .footer__contact-item a,
    .footer__menu-item a {
        font-size: 15px;
    }
    
    .footer__legal {
        font-size: 8px;
        padding: 10px 15px;
    }
    
    .footer__aicel img {
        max-width: 150px;
    }
    
    .footer__payment-logos .product__payments_cards img {
        max-width: 32px;
        max-height: 24px;
        margin: 0 5px;
    }
    
    .footer__bottom-content {
        gap: 15px;
    }
}

/* Tablet - 768px */
@media (min-width: 768px) {
  .footer .mobile-only { display:none; }
  .footer .desktop-only { display:block; }
    
    .footer__legal {
        font-size: 9px;
    }
    
    .footer__payment-logos .product__payments_cards img {
        max-width: 40px;
        max-height: 30px;
    }
}

/* Tablet Large - 769px to 1024px */
@media (min-width: 769px) {
    .footer {
        padding: 10px 0;
        text-align: left;
    }
    
    .footer__top-section {
        justify-content: flex-start;
        flex-direction: row;
        text-align: left;
    }
    
    .footer__middle-section {
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .footer__columns-container {
        flex-direction: row;
        gap: 20px;
    }
    
    .footer__column {
        flex: 1;
        padding: 0 20px;
        background-color: transparent;
        box-shadow: none;
        border-radius: 0;
    }
    
    .footer__menu-title, 
    .footer__contact-title {
        font-size: 18px;
        margin-bottom: 15px;
        cursor: default;
        padding: 0;
        text-align: left;
    }
    
    .footer__contact-title::after,
    .footer__menu-title::after {
        display: none;
    }
    
    .footer__column-content {
        display: block;
        padding: 0;
    }
    
    .footer__menu-list {
        gap: 0;
    }
    
    .footer__menu-item a {
        padding: 0;
    }
    
    .footer__contact-item {
        padding: 0;
        text-align: left;
    }
    
    .footer__social {
        justify-content: flex-start;
    }
    
    .footer__bottom-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 0;
    }
}

/* Desktop - 1024px */
@media (min-width: 1024px) {
    .footer__middle-section {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: row;
        gap: 30px;
    }
    
    .footer__columns-container {
        flex: 3;
        gap: 30px;
    }
    
    .footer__contact-social-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    
    .footer__contacts {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .footer__social {
        margin-top: 20px;
    }
    
    .footer__column--contacts {
        padding-bottom: 40px;
    }
}

/* Desktop Large - 1400px */
@media (min-width: 1400px) {
    .footer__columns-container {
        gap: 40px;
    }
    
    .footer__column {
        padding: 0 30px;
    }
}