/* ==========================================================================
   CSS FOOTER & ĐỐI TÁC - ATVMEDIA / XƯỞNG IN ĐÀ NẴNG
   Tách từ jqueryfooter/footertc.php sang sitebds/css/footerwweb.css
   ========================================================================== */

/* ==========================================================================
   RESET & BIẾN MÀU CHO FOOTER MÀU XANH NAVY ATVMEDIA
   ========================================================================== */
#atv-blue-footer,
#atv-blue-footer * {
    box-sizing: border-box;
}

#atv-blue-footer ul,
#atv-blue-footer ol,
#atv-blue-footer li,
#atv-blue-footer p,
#atv-blue-footer h1,
#atv-blue-footer h2,
#atv-blue-footer h3,
#atv-blue-footer h4,
#atv-blue-footer h5,
#atv-blue-footer h6 {
    margin: 0;
    padding: 0;
    list-style: none;
}

#atv-blue-footer {
    width: 100%;
    background: linear-gradient(180deg, #061c38 0%, #041429 100%);
    color: #cbd5e1;
    font-family: 'Roboto', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    position: relative;
    border-top: 3px solid #0284c7;
    overflow: hidden;
}

/* Hiệu ứng mạng lưới công nghệ chìm sang trọng */
#atv-blue-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 15% 30%, rgba(2, 132, 199, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(14, 165, 233, 0.08) 0%, transparent 45%);
    pointer-events: none;
}

.atv-ft-container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   TẦNG 1: 3 CAM KẾT VẬN CHUYỂN & HỖ TRỢ
   ========================================================================== */
.atv-ft-commitments {
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.atv-ft-commit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.atv-ft-commit-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.atv-ft-commit-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(56, 189, 248, 0.4);
}

.atv-ft-commit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #38bdf8;
    flex-shrink: 0;
}

.atv-ft-commit-text h4,
.atv-ft-commit-text .atv-ft-commit-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 3px;
}

.atv-ft-commit-text p {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.4;
}

/* ==========================================================================
   TẦNG 2: THÂN FOOTER 4 CỘT CHÍNH (THEO HÌNH MẪU MÀU XANH)
   ========================================================================== */
.atv-ft-main {
    padding: 42px 0 35px;
}

.atv-ft-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.5fr 1fr 1fr;
    gap: 32px;
}

/* Tiêu đề mục phong cách màu xanh */
.atv-ft-col-eyebrow {
    font-size: 12.5px;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    display: block;
}

.atv-ft-col-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.atv-ft-col-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2.5px;
    background: #38bdf8;
    border-radius: 2px;
}

/* CỘT 1: THÔNG TIN CÔNG TY & ĐỊA CHỈ */
.atv-ft-company-name {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.35;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.atv-ft-badge-slogan {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: linear-gradient(90deg, rgba(234, 88, 12, 0.2) 0%, rgba(245, 158, 11, 0.15) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 20px;
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
}

.atv-ft-address-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.atv-ft-address-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.atv-ft-address-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.45;
    color: #cbd5e1;
}

.atv-ft-address-item i {
    color: #38bdf8;
    margin-top: 3px;
    font-size: 13px;
    flex-shrink: 0;
}

.atv-ft-main-contacts {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.14);
}

.atv-ft-contact-line {
    font-size: 13px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.atv-ft-contact-line strong {
    color: #ffffff;
}

.atv-ft-contact-line a {
    color: #38bdf8;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s ease;
}

.atv-ft-contact-line a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* CỘT 2: BẢNG DANH BẠ TƯ VẤN HỖ TRỢ */
.atv-ft-hotline-top {
    margin-bottom: 14px;
    padding: 10px 14px;
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 6px;
}

.atv-ft-hotline-top-val {
    font-size: 18px;
    font-weight: 800;
    color: #38bdf8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.4px;
}

.atv-ft-hotline-top-val:hover {
    color: #ffffff;
}

.atv-ft-hotline-meta {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
    line-height: 1.4;
}

.atv-ft-hotline-meta a {
    color: #cbd5e1;
    text-decoration: none;
}

.atv-ft-hotline-meta a:hover {
    color: #38bdf8;
}

/* Lưới nhân viên kinh doanh & hỗ trợ */
.atv-ft-staff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.atv-ft-staff-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.atv-ft-staff-card:hover {
    background: rgba(2, 132, 199, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-1px);
}

.atv-ft-staff-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f87171;
    font-size: 11px;
    flex-shrink: 0;
}

.atv-ft-staff-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.atv-ft-staff-name {
    font-size: 11.5px;
    color: #e2e8f0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.atv-ft-staff-phone {
    font-size: 12px;
    color: #f87171;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.atv-ft-staff-card.is-tech {
    grid-column: span 2;
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.25);
}

.atv-ft-staff-card.is-tech .atv-ft-staff-icon {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.atv-ft-staff-card.is-tech .atv-ft-staff-phone {
    color: #fbbf24;
}

/* CỘT 3: HƯỚNG DẪN & CHÍNH SÁCH */
.atv-ft-link-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.atv-ft-link-item a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.atv-ft-link-item a:hover {
    color: #38bdf8;
    transform: translateX(3px);
}

.atv-ft-link-bullet {
    font-size: 9px;
    color: #64748b;
}

.atv-ft-link-item a:hover .atv-ft-link-bullet {
    color: #38bdf8;
}

/* CỘT 4: MENU ATVMEDIA & THỜI GIAN LÀM VIỆC + ZALO OA */
.atv-ft-hours-box {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    margin-bottom: 16px;
}

.atv-ft-hours-line {
    font-size: 12.5px;
    color: #cbd5e1;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.atv-ft-hours-note {
    font-size: 11.5px;
    color: #94a3b8;
    font-style: italic;
    margin-top: 6px;
    padding-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hộp Zalo OA như hình màu xanh */
.atv-ft-zalo-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(0, 104, 255, 0.14);
    border: 1px solid rgba(0, 104, 255, 0.35);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.atv-ft-zalo-card:hover {
    background: rgba(0, 104, 255, 0.25);
    border-color: #38bdf8;
    transform: translateY(-2px);
}

.atv-ft-zalo-logo {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #0068ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
}

.atv-ft-zalo-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.atv-ft-zalo-sub {
    font-size: 11.5px;
    color: #93c5fd;
    margin-top: 2px;
}

/* ==========================================================================
   TẦNG 3: THANH BẢN QUYỀN COPYRIGHT DƯỚI CÙNG
   ========================================================================== */
.atv-ft-bottom {
    background-color: #031326;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
}

.atv-ft-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.atv-ft-copyright-text {
    font-size: 13px;
    color: #94a3b8;
}

.atv-ft-backtotop-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #cbd5e1;
    font-size: 12.5px;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.atv-ft-backtotop-btn:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

/* ==========================================================================
   RESPONSIVE CHO CÁC THIẾT BỊ
   ========================================================================== */
@media (max-width: 1180px) {
    .atv-ft-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .atv-ft-commit-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .atv-ft-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .atv-ft-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* CSS CHO SESSION ĐỐI TÁC 1 HÀNG NGANG CHẠY CHẬM */
.pt-doitac-section {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #cbd5e1;
    padding: 30px 0 34px;
    position: relative;
    overflow: hidden;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.pt-doitac-header {
    text-align: center;
    margin-bottom: 20px;
}
.pt-doitac-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #e31e24;
    background: #fee2e2;
    padding: 3px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.pt-doitac-title {
    font-size: 19px;
    font-weight: 800;
    color: #0b3664;
    margin: 0;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}
.pt-doitac-marquee-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 6px 0;
    /* Làm mờ 2 bên mép tạo hiệu ứng vô tận mượt mà */
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.pt-doitac-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    will-change: transform;
    animation: ptDoitacScroll 40s linear infinite;
}
.pt-doitac-track:hover {
    animation-play-state: paused;
}
@keyframes ptDoitacScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.pt-doitac-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 165px;
    height: 76px;
    padding: 10px 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.pt-doitac-card:hover {
    transform: translateY(-3px);
    border-color: #0b3664;
    box-shadow: 0 8px 18px rgba(11, 54, 100, 0.12);
}
.pt-doitac-img {
    max-width: 130px;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(15%);
    opacity: 0.9;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}
.pt-doitac-card:hover .pt-doitac-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .pt-doitac-section {
        padding: 22px 0 24px;
    }
    .pt-doitac-title {
        font-size: 16px;
    }
    .pt-doitac-card {
        min-width: 135px;
        height: 64px;
        padding: 8px 14px;
    }
    .pt-doitac-img {
        max-width: 105px;
        max-height: 42px;
    }
    .pt-doitac-track {
        gap: 16px;
        animation-duration: 30s;
    }
}

