/* =============================================================================
   DHL-style Landing Page (public home)
   -----------------------------------------------------------------------------
   Palette bám theo DHL: đỏ #D40511 + vàng #FFCC00, nền trắng/xám nhạt.
   Layout full-width (không dùng mobile-frame của app nội bộ).
   =========================================================================== */

:root {
    --lp-red:        #d40511;
    --lp-red-dark:   #a3000b;
    --lp-yellow:     #ffcc00;
    --lp-black:      #111111;
    --lp-text:       #1c1e21;
    --lp-muted:      #6b7280;
    --lp-line:       #e6e8ee;
    --lp-bg:         #f4f5f7;
    --lp-white:      #ffffff;
    --lp-max:        1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    /* Khoá cuộn ngang: trên mobile việc vuốt dọc hay làm trang "nhảy" ngang
       và để lộ khoảng trắng ở mép. `clip` không tạo scroll container nên
       position: sticky của header vẫn hoạt động bình thường. */
    overflow-x: clip;
    overscroll-behavior-x: none;
}

body.lp-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
                 "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--lp-text);
    background: var(--lp-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    overscroll-behavior-x: none;
    /* Chỉ cho vuốt dọc + pinch-zoom (không chặn zoom accessibility) */
    touch-action: pan-y pinch-zoom;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

.lp-container {
    width: 100%;
    max-width: var(--lp-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Buttons ---------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .2px;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.lp-btn:active { transform: translateY(1px); }

.lp-btn--primary { background: var(--lp-red); color: #fff; }
.lp-btn--primary:hover { background: var(--lp-red-dark); }

.lp-btn--yellow { background: var(--lp-yellow); color: var(--lp-black); }
.lp-btn--yellow:hover { background: #f0c000; }

.lp-btn--outline {
    border: 2px solid var(--lp-red);
    color: var(--lp-red);
    background: transparent;
}
.lp-btn--outline:hover { background: var(--lp-red); color: #fff; }

.lp-btn--ghost {
    border: 2px solid var(--lp-line);
    color: var(--lp-text);
    background: #fff;
}
.lp-btn--ghost:hover { border-color: var(--lp-black); }

.lp-btn--sm { padding: 9px 16px; font-size: 13px; }

/* ---------- Top bar ---------- */
.lp-topbar {
    background: var(--lp-red);
    color: #fff;
    font-size: 13px;
}
.lp-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
}
.lp-topbar-ticker {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}
.lp-topbar-ticker strong { font-weight: 700; flex-shrink: 0; }
.lp-topbar-ticker span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lp-topbar-tools { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.lp-topbar-tools a { opacity: .92; }
.lp-topbar-tools a:hover { opacity: 1; text-decoration: underline; }
.lp-topbar-lang {
    display: inline-flex;
    gap: 10px;
    font-weight: 600;
}
.lp-topbar-lang a.is-active { color: var(--lp-red); }

/* ---------- Header ---------- */
.lp-header {
    background: var(--lp-yellow);
    border-bottom: 1px solid var(--lp-line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.lp-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 72px;
}
.lp-logo img { height: 40px; width: auto; }
.lp-logo-fallback {
    font-size: 22px;
    font-weight: 800;
    color: var(--lp-red);
    letter-spacing: 1px;
}
.lp-nav { display: flex; align-items: center; gap: 26px; flex: 1; }
.lp-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-text);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.lp-nav a:hover { color: var(--lp-red); border-bottom-color: var(--lp-yellow); }

.lp-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lp-auth-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 14px;
    border-left: 1px solid var(--lp-line);
}
.lp-auth-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-red);
}

.lp-burger {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--lp-black);
    border-radius: 4px;
}

/* ---------- Hero ---------- */
.lp-hero {
    position: relative;
    background: var(--lp-black);
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.lp-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.lp-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0 130px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.lp-hero-eyebrow {
    display: inline-block;
    background: var(--lp-yellow);
    color: var(--lp-black);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 2px;
    margin-bottom: 16px;
    text-shadow: none;
}
.lp-hero h1 {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    max-width: 720px;
    margin-bottom: 12px;
}
.lp-hero p {
    font-size: 17px;
    max-width: 560px;
    opacity: .94;
}
.lp-hero-cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ---------- Quick links ---------- */
.lp-quick {
    position: relative;
    z-index: 5;
    margin-top: -70px;
}
.lp-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.lp-quick-card {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-top: 4px solid var(--lp-yellow);
    border-radius: 6px;
    padding: 22px 20px;
    box-shadow: 0 10px 30px rgba(17, 17, 17, .08);
    transition: transform .18s, box-shadow .18s;
}
.lp-quick-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(17, 17, 17, .13); }
.lp-quick-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--lp-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.lp-quick-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.lp-quick-card p { font-size: 13px; color: var(--lp-muted); margin-bottom: 14px; }
.lp-quick-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--lp-red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lp-quick-link:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.lp-section { padding: 68px 0; }
.lp-section--grey { background: var(--lp-bg); }
.lp-section--dark { background: var(--lp-black); color: #fff; }

.lp-section-head { margin-bottom: 34px; }
.lp-section-head h2 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}
.lp-section-head p { color: var(--lp-muted); max-width: 720px; }
.lp-section--dark .lp-section-head p { color: rgba(255, 255, 255, .72); }

/* ---------- Teaser grid (services) ---------- */
.lp-teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.lp-teaser {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .18s, transform .18s;
}
.lp-teaser:hover { box-shadow: 0 14px 34px rgba(17, 17, 17, .12); transform: translateY(-3px); }
.lp-teaser-media {
    aspect-ratio: 16 / 10;
    background: var(--lp-bg) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9ccd1;
}
.lp-teaser-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.lp-teaser-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.lp-teaser-body p { font-size: 14px; color: var(--lp-muted); margin-bottom: 18px; flex: 1; }

/* ---------- Split (image + text) ---------- */
.lp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.lp-split-media {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--lp-bg) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9ccd1;
}
.lp-split h2 { font-size: 28px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.lp-split p { color: var(--lp-muted); margin-bottom: 18px; }
.lp-bullets { list-style: none; margin-bottom: 24px; }
.lp-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
}
.lp-bullet-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--lp-yellow);
    color: var(--lp-black);
}
.lp-bullet-icon svg { display: block; }

/* ---------- Service list ---------- */
.lp-svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.lp-svc-item {
    border: 1px solid var(--lp-line);
    border-radius: 6px;
    padding: 24px 20px;
    background: #fff;
    transition: border-color .15s, transform .15s;
}
.lp-svc-item:hover { border-color: var(--lp-yellow); transform: translateY(-3px); }
.lp-svc-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.lp-svc-item p { font-size: 13px; color: var(--lp-muted); }

/* ---------- Updates list ---------- */
.lp-updates { border-top: 1px solid var(--lp-line); }
.lp-update-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 4px;
    border-bottom: 1px solid var(--lp-line);
    transition: background .15s;
}
.lp-update-item:hover { background: var(--lp-bg); }
.lp-update-date {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--lp-red);
    background: rgba(212, 5, 17, .08);
    border-radius: 3px;
    padding: 5px 9px;
    min-width: 92px;
    text-align: center;
}
.lp-update-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.lp-update-summary { font-size: 13px; color: var(--lp-muted); }
.lp-empty { padding: 24px 0; color: var(--lp-muted); font-size: 14px; }

/* ---------- Extra columns ---------- */
.lp-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.lp-extra {
    border: 1px solid var(--lp-line);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
.lp-extra-media {
    aspect-ratio: 16 / 9;
    background: var(--lp-bg) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9ccd1;
}
.lp-extra-body { padding: 20px 22px 24px; }
.lp-extra-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.lp-extra-body p { font-size: 14px; color: var(--lp-muted); margin-bottom: 14px; }

/* ---------- CTA band ---------- */
.lp-cta-band {
    background: var(--lp-yellow);
    color: #fff;
    padding: 46px 0;
}
.lp-cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.lp-cta-band h2 { font-size: 26px; font-weight: 800; }
.lp-cta-band p { opacity: .9; }

/* ---------- Footer ---------- */
.lp-footer { background: var(--lp-black); color: rgba(255, 255, 255, .72); padding: 52px 0 26px; }
.lp-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.lp-footer h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.lp-footer ul { list-style: none; }
.lp-footer li { margin-bottom: 9px; font-size: 14px; }
.lp-footer a:hover { color: var(--lp-yellow); }
.lp-footer-brand-logo img { height: 36px; margin-bottom: 12px; }
.lp-footer-brand-desc { font-size: 13px; line-height: 1.7; }
.lp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    font-size: 12.5px;
    flex-wrap: wrap;
}
.lp-footer-legal { display: flex; gap: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .lp-teaser-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-svc-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .lp-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--lp-line);
        padding: 8px 20px 16px;
    }
    .lp-nav.is-open { display: flex; }
    .lp-nav a { width: 100%; padding: 11px 0; border-bottom: 1px solid var(--lp-line); }
    .lp-burger { display: inline-flex; margin-left: auto; }
    .lp-header-inner { position: relative; }
    .lp-split, .lp-two-col { grid-template-columns: 1fr; gap: 28px; }
    .lp-quick-grid { grid-template-columns: 1fr; }
    .lp-hero h1 { font-size: 30px; }
    .lp-hero-inner { padding: 56px 0 120px; }
    .lp-section { padding: 46px 0; }
}

@media (max-width: 620px) {
    .lp-topbar-tools { display: none; }
    .lp-teaser-grid, .lp-svc-grid { grid-template-columns: 1fr; }
    .lp-footer-grid { grid-template-columns: 1fr; }
    .lp-header-actions .lp-btn { padding: 9px 14px; font-size: 13px; }
}
