/* ==========================================================================
   LOTIUS CUSTOM SEMANTIC FOOTER
   ========================================================================== */

.lotius-footer {
    background-color: #16213e;
    background-image: 
        radial-gradient(circle at 90% 10%, rgba(83, 205, 255, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 100%, rgba(83, 205, 255, 0.04) 0%, transparent 70%),
        linear-gradient(to bottom, #16213e 0%, #16213e 15%, rgba(22, 33, 62, 0) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='600'%3E%3Cdefs%3E%3ClinearGradient id='grad' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%2353cdff' stop-opacity='0.02' /%3E%3Cstop offset='50%25' stop-color='%2353cdff' stop-opacity='0.25' /%3E%3Cstop offset='100%25' stop-color='%2353cdff' stop-opacity='0.02' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23grad)'%3E%3Cg stroke-width='3' opacity='0.4'%3E%3Cpath d='M 0 300 C 400 100, 800 500, 1200 300' /%3E%3Cpath d='M 0 315 C 400 115, 800 515, 1200 315' /%3E%3Cpath d='M 0 330 C 400 130, 800 530, 1200 330' /%3E%3C/g%3E%3Cg stroke-width='1.5' opacity='0.7'%3E%3Cpath d='M 0 250 C 300 550, 900 -50, 1200 250' /%3E%3Cpath d='M 0 265 C 300 565, 900 -35, 1200 265' /%3E%3Cpath d='M 0 280 C 300 580, 900 -20, 1200 280' /%3E%3Cpath d='M 0 295 C 300 595, 900 -5, 1200 295' /%3E%3C/g%3E%3Cg stroke-width='0.5' opacity='1'%3E%3Cpath d='M 0 200 C 500 0, 700 400, 1200 200' /%3E%3Cpath d='M 0 210 C 500 10, 700 410, 1200 210' /%3E%3Cpath d='M 0 220 C 500 20, 700 420, 1200 220' /%3E%3Cpath d='M 0 230 C 500 30, 700 430, 1200 230' /%3E%3Cpath d='M 0 240 C 500 40, 700 440, 1200 240' /%3E%3Cpath d='M 0 250 C 500 50, 700 450, 1200 250' /%3E%3C/g%3E%3Cg stroke-width='1' opacity='0.5'%3E%3Cpath d='M 0 350 C 400 600, 800 100, 1200 350' /%3E%3Cpath d='M 0 365 C 400 615, 800 115, 1200 365' /%3E%3Cpath d='M 0 380 C 400 630, 800 130, 1200 380' /%3E%3Cpath d='M 0 395 C 400 645, 800 145, 1200 395' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 100% 100%, 100% 100%, 100% 100%, 1200px 600px;
    background-position: top right, bottom center, top center, bottom center;
    color: #cbd5e1;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 60px 20px;
}

/* --- Brand Identity Column --- */
.footer-logo-link {
    display: inline-block;
    text-decoration: none;
}

.footer-logo {
    max-height: 48px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 2.6rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1px;
    display: inline-block;
}

.footer-logo-text .logo-dot {
    color: #53cdff;
}

.brand-tagline {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 20px 0 24px 0;
}

.brand-tagline__strong {
    font-size: 2rem;
}

.tagline-title {
    display: block;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
}

.brand-address {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-style: normal;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.4rem;
    line-height: 1.5;
}

.contact-item strong {
    color: #ffffff;
    font-weight: 600;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #53cdff;
}

.icon-footer {
    width: 18px;
    height: 18px;
    color: #53cdff;
    flex-shrink: 0;
    stroke-width: 2;
    margin-top: 2px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-socials a.social-fb:hover {
    background-color: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.footer-socials a.social-ln:hover {
    background-color: #0077b5;
    border-color: #0077b5;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4);
}

.footer-socials a.social-x:hover {
    background-color: #000000;
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.footer-socials a.social-yt:hover {
    background-color: #ff0000;
    border-color: #ff0000;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.footer-socials a.social-tiktok:hover {
    background-color: #010101;
    border-color: #69C9D0;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(105, 201, 208, 0.4);
}

.footer-socials a.social-zalo:hover {
    background-color: #0068ff;
    border-color: #0068ff;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 104, 255, 0.4);
}

.footer-socials a.social-ig:hover {
    background-color: #e1306c;
    border-color: #e1306c;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

.footer-socials a.social-custom:hover {
    background-color: #53cdff;
    border-color: #53cdff;
    color: #0f172a;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(83, 205, 255, 0.4);
}

.footer-socials svg {
    width: 16px;
    height: 16px;
}

/* --- Common Links Columns --- */
.footer-col-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 24px 0;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #53cdff 0%, #00f0ff 100%);
    box-shadow: 0 0 10px rgba(83, 205, 255, 0.4);
    border-radius: 4px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    position: relative;
}

.footer-links-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #53cdff;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 8px #53cdff;
    transition: all 0.3s ease;
}

.footer-links-list a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(83, 205, 255, 0.6);
    transform: translateX(12px);
}

.footer-links-list a:hover::before {
    opacity: 1;
    left: -12px;
}

.footer-links-list .icon-emoji {
    font-size: 1.8rem;
    margin-right: 6px;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #94a3b8;
}

.company-name {
    color: #ffffff;
    font-weight: 700;
    /* margin-bottom: 6px; */
}

.footer-badges {
    margin-top: 24px;
}

.dmca-badge {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.dmca-badge:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.dmca-badge img {
    width: 155px;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* ==========================================================================
   BOTTOM BAR
   ========================================================================== */
.footer-bottom {
    background-color: #0a0f1c;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 1.4rem;
    color: #64748b;
    margin: 0;
}

.bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    color: #64748b;
}

.bottom-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: #53cdff;
}

.bottom-links .divider {
    color: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   RESPONSIVE LAYOUT OVERRIDES
   ========================================================================== */

/* --- Tablet viewport (max-width: 1024px) --- */
@media screen and (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
        padding: 60px 2rem 40px 2rem;
    }

    .footer-links-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 20px;
    }
}

/* --- Mobile viewport (max-width: 767px) --- */
@media screen and (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 1rem 20px 1rem;
    }

    .footer-links-list {
        grid-template-columns: 1fr;
    }

    .brand-tagline {
        margin: 16px 0 20px 0;
    }

    .brand-tagline__strong {
        font-size: 2rem;
    }

    .footer-col-title {
        margin-bottom: 18px;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
}

.footer-link-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: -2px;
    display: inline-block;
}

/* Fix CSS Grid Blowout */
.footer-col {
    min-width: 0;
}

/* Responsive Iframe Embeds (Map, Fanpage) */
.lotius-lazy-embed-container {
    width: 100%;
    max-width: 100%;
    display: block;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.lotius-lazy-embed-container:hover {
    box-shadow: 0 10px 30px rgba(83, 205, 255, 0.15);
    border-color: rgba(83, 205, 255, 0.3);
}

.lotius-lazy-embed-container.embed-map iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: none;
    display: block;
}

.lotius-lazy-embed-container.embed-fanpage iframe {
    max-width: 100% !important;
    border: none;
    display: block;
    margin: 0 auto;
}

/* --- Creative Logo Animation --- */
.logo-dot {
    display: inline-block;
    animation: cyberPulse 2s ease-in-out infinite;
    color: #ff5500;
    text-shadow: 0 0 10px rgba(255, 85, 0, 0.8);
}
@keyframes cyberPulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* ==========================================================================
   GLOBAL SMART LABEL TAGS (Required / Optional) for Elementor Forms
   Fix: Prevent badges ("Bắt buộc", "Không bắt buộc") from breaking into two lines
   ========================================================================== */
.elementor-widget-form .elementor-field-required-mark {
    display: none !important;
}

.elementor-widget-form .elementor-form .elementor-field-label {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.6rem 0.8rem !important;
}

.elementor-widget-form .elementor-form .elementor-field-group.elementor-field-required>.elementor-field-label::after,
.elementor-widget-form .elementor-form .elementor-field-group.elementor-field-type-checkbox>.elementor-field-label::after {
    content: "Bắt buộc" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    padding: 0.2rem 0.6rem !important;
    border-radius: 0.4rem !important;
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
    transform: translateY(-0.1rem) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.elementor-widget-form .elementor-form .elementor-field-group:not(.elementor-field-required):not(.elementor-field-type-submit):not(.elementor-field-type-html):not(.elementor-field-type-checkbox)>.elementor-field-label::after {
    content: "Không bắt buộc" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    padding: 0.2rem 0.6rem !important;
    border-radius: 0.4rem !important;
    background-color: #f1f5f9 !important;
    color: #64748b !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
    transform: translateY(-0.1rem) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

@media (max-width: 767px) {
    .elementor-widget-form .elementor-form .elementor-field-group.elementor-field-required>.elementor-field-label::after,
    .elementor-widget-form .elementor-form .elementor-field-group.elementor-field-type-checkbox>.elementor-field-label::after,
    .elementor-widget-form .elementor-form .elementor-field-group:not(.elementor-field-required):not(.elementor-field-type-submit):not(.elementor-field-type-html):not(.elementor-field-type-checkbox)>.elementor-field-label::after {
        font-size: 0.95rem !important;
        padding: 0.15rem 0.5rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
}