/* ============================================
   NGỌC ANH PAPER — style.css (v2.0 Full Upgrade)
   ============================================ */

/* ── CSS Variables ── */
:root {
    --bg-cream: #FDFBF7;
    --bg-dark: #2A2118;
    --text-dark: #2C2C2C;
    --text-light: #666362;
    --text-inverse: #F5F3EB;
    --accent-red: #C4302B;
    --accent-red-hover: #A02622;
    --accent-gold: #D4A373;
    --white: #FFFFFF;

    --font-main: 'Inter', sans-serif;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                  opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                  box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                  background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Base Reset ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 1;
    transition: opacity 0.3s ease;
}
body.page-fade-out { opacity: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: 90%; max-width: 1300px; margin: 0 auto; }
.section-padding { padding: var(--spacing-xl) 0; }
.section-title { font-size: 3rem; font-weight: 700; margin-bottom: 2rem; letter-spacing: -0.02em; }
.light-text { color: var(--text-inverse); }

/* ── Page Transition Overlay ── */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-cream);
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ── Floating CTA (Zalo Bubble + Phone) ── */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    z-index: 9999;
}

/* Zalo bubble */
.zalo-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0068FF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,104,255,0.4);
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.zalo-bubble svg { width: 32px; height: 32px; fill: #fff; }
.zalo-bubble:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(0,104,255,0.5); }
/* Pulse ring */
.zalo-bubble::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(0,104,255,0.4);
    animation: zalo-pulse 2s ease-out infinite;
}
.zalo-bubble::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px solid rgba(0,104,255,0.2);
    animation: zalo-pulse 2s ease-out 0.5s infinite;
}
@keyframes zalo-pulse {
    0%   { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Phone pill */
.btn { padding: 0.8rem 1.6rem; border-radius: 50px; font-weight: 600; text-align: center; cursor: pointer; }
.btn-hotline {
    background: var(--white);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-hotline:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.btn-quote {
    background: var(--accent-red);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(196,48,43,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-quote:hover { transform: translateY(-2px); background: var(--accent-red-hover); }

.btn-agency-highlight {
    background: var(--accent-gold);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.4);
    font-size: 0.95rem;
    font-weight: 800;
    border: 2px solid var(--accent-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.btn-agency-highlight:hover {
    background: #c59463;
    border-color: #c59463;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 163, 115, 0.6);
}

/* Back-to-Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid #E0DCD3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    z-index: 9998;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--accent-red); color: #fff; border-color: var(--accent-red); }

/* ── Header ── */
.header {
    padding: 1.5rem 0;
    background: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.4s ease, box-shadow 0.4s ease;
}
.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -1px; }
.nav { display: flex; gap: 2.5rem; align-items: center; }
.nav a { font-weight: 500; transition: color 0.3s; }
.nav a:hover { color: var(--accent-red); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-mobile-overlay.visible { display: block; opacity: 1; }

/* ── Marquee Ticker ── */
.marquee-section {
    background: var(--text-dark);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
}
.marquee-track {
    display: inline-flex;
    animation: marquee-scroll 25s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 2rem;
    color: var(--text-inverse);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.marquee-dot {
    width: 5px;
    height: 5px;
    background: var(--accent-gold);
    border-radius: 50%;
    flex-shrink: 0;
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Zoom on Hover Utility ── */
.zoom-on-hover {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
}
.zoom-on-hover:hover { transform: scale(1.08); }

/* ── Split Hero ── */
.split-hero { display: flex; min-height: 90vh; }
.split-left { width: 50%; position: relative; }
.sticky-image-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EFECE5;
    overflow: hidden;
}
.sticky-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.split-right {
    width: 50%;
    padding: var(--spacing-xl) 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.huge-title {
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}
.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.hero-cta .btn-primary {
    padding: 1.2rem 2.5rem;
    background: var(--accent-red);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(237, 27, 36, 0.3);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.hero-cta .btn-primary:hover { background: var(--accent-red-hover); transform: translateY(-3px); box-shadow: 0 15px 35px rgba(237, 27, 36, 0.4); }
.hero-cta .btn-secondary {
    padding: 1.2rem 2.5rem;
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid #D0CDC6;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.hero-cta .btn-secondary:hover { border-color: var(--text-dark); transform: translateY(-3px); }

/* ── Accordion ── */
.accordion-list { margin-top: 2rem; border-top: 1px solid #E0DCD3; }
.accordion-item { border-bottom: 1px solid #E0DCD3; }
.accordion-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; cursor: pointer; }
.accordion-header h3 { font-size: 1.2rem; font-weight: 600; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-content p { padding-bottom: 1.5rem; color: var(--text-light); }
.accordion-item.active .accordion-content { max-height: 500px; }
.accordion-item.active .icon { transform: rotate(45deg); }
.icon { font-size: 1.5rem; transition: transform 0.3s; }

/* ── Products Grid ── */
.bg-cream { background: var(--bg-cream); }
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2rem 0 3rem;
}
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; }

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.10);
}
.product-image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #F4F2EB;
    overflow: hidden;
    display: block;
}
.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .zoom-on-hover {
    transform: scale(1.06);
}
.product-details {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: var(--text-dark);
}
.specs {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.tag {
    display: inline-block;
    align-self: flex-start;
    background: #FBEAEA;
    color: var(--accent-red);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;
}

/* Responsive configurations */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}
@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem 0;
    }
    .product-details {
        padding: 1.2rem;
    }
    .product-details h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    .specs {
        font-size: 0.82rem;
        margin-bottom: 0.8rem;
    }
    .tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
}

/* ── Social Proof Stats Bar ── */
.stats-bar {
    background: var(--white);
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
    padding: 3rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item {}
.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--accent-red);
    line-height: 1;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Testimonials ── */
.testimonials { background: var(--bg-dark); color: var(--text-inverse); overflow: hidden; }
.testi-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}
.testi-text {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2rem;
    min-height: 150px;
}
.testi-left { padding-right: 2rem; }
.testi-nav-btn {
    background: #3A2F22;
    color: #FDF9F1;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}
.testi-nav-btn:hover {
    background: #504334;
    transform: translateY(-2px);
}
.testi-img-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    align-items: center;
    position: absolute;
    left: 0;
}
.testi-img {
    height: 380px;
    width: 280px;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0.4;
    transform: scale(0.85);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0);
}
.testi-img.active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* ── Footer ── */
.footer { padding: 5rem 0 2rem; background: var(--bg-dark); color: var(--text-inverse); }
.footer-inner { display: grid; grid-template-columns: 1.1fr 1.1fr 1.1fr 0.9fr; gap: 2.5rem; }
.footer-brand p { color: rgba(255,255,255,0.7); margin-top: 0.75rem; font-size: 0.9rem; line-height: 1.6; }
.footer-contact h3, .footer-legal h3 { margin-bottom: 1rem; font-size: 1.2rem; color: #fff; font-weight: 700; letter-spacing: 0.02em; }
.footer-contact p, .footer-legal p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.5rem; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; color: rgba(255,255,255,0.5); font-size: 0.8rem; }

/* ── Modern Premium Hotlines ── */
.hotlines-list { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1rem; }
.hotline-item { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: #fff; font-size: 1.6rem; font-weight: 900; transition: color 0.3s, transform 0.3s; }
.hotline-item:hover { color: var(--accent-gold); transform: translateX(5px); }
.hotline-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: rgba(255,255,255,0.06); border-radius: 50%; font-size: 0.85rem; color: var(--accent-gold); border: 1px solid rgba(255,255,255,0.1); transition: background 0.3s, border-color 0.3s; }
.hotline-item:hover .hotline-icon { background: rgba(212, 163, 115, 0.15); border-color: var(--accent-gold); }

/* ── Hover Effects for links ── */
.maps-link-hover, .legal-link-hover { transition: color 0.3s, transform 0.3s; }
.maps-link-hover:hover, .legal-link-hover:hover { color: #fff !important; transform: translateX(3px); }
.maps-link-hover span:last-child, .legal-link-hover span:last-child { transition: transform 0.3s; }
.maps-link-hover:hover span:last-child, .legal-link-hover:hover span:last-child { transform: translateX(3px); }



/* ── Animations & Helpers ── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.value-card:hover { transform: translateY(-10px); }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important; }
.news-card img { transition: transform 0.5s ease; }
.news-card:hover img { transform: scale(1.05); }

/* Circle Layout */
@media (max-width: 900px) {
    .circle-layout-wrapper {
        height: auto !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    .circle-layout-wrapper > div:first-child { display: none !important; }
    .center-circle { width: 300px !important; height: 300px !important; margin-bottom: 2rem !important; }
    .outer-circle { position: relative !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; width: 250px !important; height: 250px !important; margin: 0 auto !important; }
}

/* Stagger delays for children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }

/* ── Image Lightbox ── */
.lightbox-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    background: rgba(0,0,0,0.92);
    border: none;
    padding: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox-dialog[open] { display: flex; }
.lightbox-dialog img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* ── PDP (Product Detail Page) ── */
.pdp-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; max-width: 100%; }
.pdp-media { min-width: 0; max-width: 100%; overflow: hidden; }
.pdp-info { min-width: 0; max-width: 100%; }
.main-image-container {
    background: #F4F2EB;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    cursor: zoom-in;
    position: relative;
}
.main-image-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.main-image-container:hover img { transform: scale(1.03); }

.thumbnail-grid { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.5rem; }
.thumbnail-grid::-webkit-scrollbar { height: 4px; }
.thumbnail-grid::-webkit-scrollbar-thumb { background-color: var(--accent-gold); border-radius: 4px; }
.thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.65;
}
.thumb:hover { opacity: 0.9; }
.thumb.active { border-color: var(--accent-red); opacity: 1; }

.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--accent-red); }
.pdp-info .tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0 1.5rem; }
.specs-box { background: var(--white); padding: 2rem; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); margin-bottom: 2rem; }
.specs-box h3 { font-size: 1.2rem; margin-bottom: 1.5rem; }
.specs-box ul { list-style: none; }
.specs-box ul li { display: flex; justify-content: space-between; padding: 0.8rem 0; border-bottom: 1px solid #eee; font-size: 0.95rem; }
.specs-box ul li:last-child { border-bottom: none; }
.specs-box ul li span { color: var(--text-light); }
.pdp-actions { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.pdp-actions a {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.3s ease, background 0.3s ease;
}
.pdp-actions .btn-zalo { background: #0068FF; color: #fff; }
.pdp-actions .btn-zalo:hover { background: #0057d8; transform: translateY(-2px); }
.pdp-actions .btn-call { background: var(--accent-red); color: #fff; }
.pdp-actions .btn-call:hover { background: var(--accent-red-hover); transform: translateY(-2px); }

/* ══ Modal Đăng Ký Đại Lý ══ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.modal-box {
    background: var(--bg-cream);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 520px;
    width: 100%;
    position: relative;
    animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f0ede8;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.modal-close:hover { background: var(--accent-red); color: #fff; }
.modal-header { margin-bottom: 1.5rem; }

/* Form Fields */
.agent-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1rem;
    border: 1.5px solid #E0DCD3;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    background: var(--white);
    color: var(--text-dark);
    transition: border-color 0.2s ease;
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-red);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-red);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 0.5rem;
}
.form-submit-btn:hover { background: var(--accent-red-hover); transform: translateY(-2px); }
.form-success {
    text-align: center;
    padding: 2rem 1rem;
}
.form-success h3 { font-size: 1.5rem; margin: 0.75rem 0 0.5rem; }
.form-success p { color: var(--text-light); }

/* ── Responsive ── */
@media (max-width: 992px) {
    .split-hero { flex-direction: column; min-height: auto; }
    .split-left, .split-right { width: 100%; }
    .sticky-image-wrapper { height: 60vh; position: relative; }
    .huge-title { font-size: 3.5rem; }
    .feedback-item { grid-template-columns: 1fr; gap: 2rem; }
    .feedback-images { grid-template-columns: 1fr; }
    .feedback-images img { height: 250px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .pdp-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .main-image-container { height: 350px; }
    .modal-box { padding: 2rem 1.5rem; border-radius: 16px; }
    /* Testimonial Mobile Layout Override */
    .testi-container { flex-direction: column; gap: 2.5rem; align-items: stretch; }
    .testi-left { padding-right: 0; max-width: 100% !important; flex: none !important; }
    .testi-right { height: 340px !important; width: 100% !important; overflow: hidden !important; position: relative !important; flex: none !important; }
    .testi-img { width: 220px; height: 300px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 5%;
        width: 240px;
        background: var(--bg-dark);
        border: 1.5px solid var(--accent-gold);
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 0.75rem 0;
        z-index: 1000;
        font-size: 1.05rem;
    }
    .nav.open { display: flex; }
    .nav a {
        color: var(--text-inverse) !important;
        padding: 0.8rem 1.5rem !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(255,255,255,0.06) !important;
        transition: background 0.3s, color 0.3s;
        text-align: left;
    }
    .nav a:last-child {
        border-bottom: none !important;
    }
    .nav a:hover {
        background: rgba(255,255,255,0.05) !important;
        color: var(--accent-gold) !important;
    }
    .nav .btn-quote {
        border: none !important;
        background: var(--accent-red) !important;
        color: var(--white) !important;
        border-radius: 8px !important;
        margin: 0.5rem 1rem 0 !important;
        padding: 0.7rem 1rem !important;
        text-align: center !important;
    }
    .nav .btn-quote:hover {
        background: var(--accent-red-hover) !important;
        color: var(--white) !important;
    }
    .floating-cta { bottom: 1.5rem; right: 1.5rem; }
    .back-to-top { bottom: 1.5rem; left: 1.5rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    
    /* Responsive font size for testimonial text */
    .testi-text {
        font-size: 1.05rem;
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .huge-title { font-size: 2.8rem; letter-spacing: -1.5px; }
    .section-title { font-size: 2rem; }
    .subtitle { font-size: 1.1rem; max-width: 100%; }
    .section-padding { padding: 3rem 0; }
    .split-right { padding: 3rem 1.5rem; }
    .feedback-text { font-size: 1.2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stat-number { font-size: 2.5rem; }
    .carousel-item { flex: 0 0 280px; }
    .btn { padding: 0.8rem 1.4rem; font-size: 0.9rem; }
    .pdp-actions { flex-direction: column; }
}

/* ── B2B ABOUT PAGE STYLES ── */
.about-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: url('anh-san-pham/giay-ve-sinh-19kg/do_19kg_supermarket.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}
.about-hero-content {
    position: relative;
    z-index: 1;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.mv-card {
    background: #FDF9F1;
    padding: 3rem;
    border-radius: 20px;
}
.mv-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}
.mv-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-red);
}
.mv-card p, .mv-card li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}
.mv-card ul {
    list-style: none;
    padding: 0;
}
.mv-card li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}
.mv-card li::before {
    content: "•";
    color: var(--accent-red);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1.2;
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.core-values-grid .value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.core-values-grid .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: #E0DCD3;
}
.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--accent-red);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--accent-red);
}
.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-red);
}
.timeline-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .split-layout, .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    .split-right {
        padding-left: 0 !important;
    }
}

/* ── Mobile Responsive Enhancements (Email Overflow & Touch Support) ── */
.responsive-email {
    word-break: break-all;
    overflow-wrap: anywhere;
    max-width: 100%;
    display: inline-block;
}

.testi-track, .testimonial-card, .feedback-slider, .pdp-media {
    touch-action: pan-y;
    will-change: transform;
}

@media (max-width: 480px) {
    .responsive-email {
        font-size: 1.15rem !important;
        line-height: 1.4;
    }
    .footer-contact a[href^="mailto:"] {
        font-size: 1.15rem !important;
        word-break: break-all;
        overflow-wrap: anywhere;
    }
    .floating-cta {
        bottom: 1rem;
        right: 1rem;
        gap: 0.5rem;
    }
    .zalo-bubble {
        width: 52px;
        height: 52px;
    }
    .zalo-bubble svg {
        width: 28px;
        height: 28px;
    }
    .btn-hotline {
        padding: 0.65rem 1.1rem;
        font-size: 0.82rem;
    }
    .back-to-top {
        bottom: 1rem;
        left: 1rem;
        width: 42px;
        height: 42px;
    }
}

