/* ==========================================================================
   Global Goods — 官网前台样式
   ========================================================================== */
:root {
    --blue: #509CFF;
    --blue-dark: #2f7fe6;
    --ink: #1B1919;
    --text: #475569;
    --muted: #94a3b8;
    --soft: #F9F9F9;
    --soft-blue: #EEF5FF;
    --line: #e8eef7;
    --dark: #101014;
    --shadow: 0 14px 40px rgba(15, 39, 73, .08);
    --poppins: 'Poppins', 'Segoe UI', sans-serif;
    --roboto: 'Roboto', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--roboto);
    color: var(--text);
    font-size: 15px;
    line-height: 1.75;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--poppins); color: var(--ink); margin: 0; line-height: 1.2; }
p { margin: 0 0 16px; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1210px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.center { text-align: center; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 3px;
    padding: 14px 32px;
    font-family: var(--poppins);
    font-size: 15px;
    font-weight: 500;
    transition: .25s;
    cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: #eaf2ff; }
.btn-block { width: 100%; }

.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-family: var(--poppins);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
}
.title-line {
    display: block;
    width: 74px;
    height: 3px;
    background: var(--blue);
    position: relative;
    margin: 18px auto 0;
}
.title-line::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--blue);
    transform: translateX(-50%) rotate(45deg);
}
.title-line.left { margin-left: 0; margin-bottom: 18px; }
.title-line.left::after { left: 0; transform: rotate(45deg); }

.section-head { text-align: center; max-width: 820px; margin: 0 auto 54px; }
.section-head h2 { font-size: 40px; font-weight: 700; }
.section-head p { margin: 22px 0 0; color: var(--text); font-size: 15px; }

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    font-weight: 500;
    font-size: 14px;
    transition: .2s;
}
.link-more:hover { gap: 10px; color: var(--blue-dark); }

/* ---------------- Top bar ---------------- */
.topbar { background: var(--dark); color: #fff; height: 46px; }
.topbar-inner { display: flex; align-items: stretch; justify-content: space-between; height: 46px; }
.topbar-mail { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #fff; }
.topbar-mail i { color: var(--blue); font-size: 16px; }
.topbar-mail:hover { color: var(--blue); }
.lang-switch { position: relative; margin-right: -20px; }
.lang-toggle {
    height: 46px;
    padding: 0 22px;
    background: var(--blue);
    color: #fff;
    border: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lang-toggle i { font-size: 11px; }
.lang-menu {
    position: absolute;
    right: 0;
    top: 46px;
    width: 220px;
    max-height: 340px;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    z-index: 60;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu a { display: block; padding: 9px 18px; font-size: 14px; color: var(--ink); }
.lang-menu a:hover { background: var(--soft-blue); color: var(--blue); }

/* ---------------- Header ---------------- */
.site-header {
    background: #fff;
    height: 84px;
    position: sticky;
    top: 0;
    z-index: 50;
    transition: box-shadow .25s;
}
.site-header.is-stuck { box-shadow: 0 5px 24px rgba(15, 39, 73, .1); }
.header-inner { display: flex; align-items: center; height: 84px; gap: 26px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-logo { height: 46px; width: auto; display: block; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 36px; }
.main-nav a { font-family: var(--poppins); font-size: 16px; font-weight: 500; color: var(--ink); position: relative; padding: 8px 0; }
.main-nav a::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--blue); transition: .25s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--blue); }
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.search-btn { background: none; border: 0; color: var(--ink); font-size: 20px; padding: 6px; }
.search-btn:hover { color: var(--blue); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 28px; color: var(--ink); }

/* ---------------- Hero ---------------- */
.hero { position: relative; height: 745px; overflow: hidden; background: #111; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8, 16, 28, .8) 0%, rgba(8, 16, 28, .45) 45%, rgba(8, 16, 28, .12) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 168px; max-width: 1210px; }
.hero-tag {
    display: inline-block;
    background: rgba(22, 48, 82, .78);
    color: #fff;
    font-size: 14px;
    padding: 7px 16px;
    margin-bottom: 22px;
    border-left: 2px solid var(--blue);
}
.hero h1 { color: #fff; font-size: 56px; font-weight: 700; max-width: 700px; letter-spacing: -.5px; }
.hero-line { display: block; width: 86px; height: 3px; background: var(--blue); margin: 26px 0 24px; position: relative; }
.hero-line::before { content: ""; position: absolute; left: -12px; top: -4px; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.hero p { color: rgba(255, 255, 255, .88); max-width: 640px; font-size: 15px; margin-bottom: 30px; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255, 255, 255, .18); color: #fff; border: 1px solid rgba(255,255,255,.4);
    z-index: 3; display: flex; align-items: center; justify-content: center; font-size: 20px;
    backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--blue); border-color: var(--blue); }
.hero-arrow { display: none; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 74px; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); padding: 0; }
.hero-dot.is-active { background: var(--blue); transform: scale(1.15); }

/* ---------------- Tracking ---------------- */
.track-holder { position: relative; z-index: 5; margin-top: -56px; }
.track-card {
    background: #fff; border-radius: 5px; box-shadow: 0 18px 48px rgba(15, 39, 73, .13);
    padding: 30px 36px; border-top: 3px solid var(--blue);
}
.track-row { display: flex; gap: 14px; }
.track-row input {
    flex: 1; height: 56px; border: 1px solid #dbe4f0; border-radius: 3px; padding: 0 20px;
    font-size: 15px; font-family: var(--roboto); color: var(--ink); outline: none; background: #FBFDFF;
}
.track-row input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(80,156,255,.12); }
.track-row .btn { min-width: 150px; height: 56px; }
.track-result { margin-top: 24px; border-top: 1px dashed var(--line); padding-top: 24px; display: none; }
.track-result.show { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none;} }
.track-empty { color: #d9534f; font-weight: 500; }
.track-summary { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; margin-bottom: 22px; }
.track-summary h3 { font-size: 20px; margin: 0; }
.track-summary .status-pill { background: var(--soft-blue); color: var(--blue-dark); font-weight: 600; font-size: 13px; padding: 5px 14px; border-radius: 20px; }
.track-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 24px; width: 100%; font-size: 13px; color: var(--text); }
.track-meta b { display: block; color: var(--ink); font-weight: 500; font-size: 13px; }
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 6px; }
.timeline-item { display: flex; gap: 16px; position: relative; padding-bottom: 20px; }
.timeline-item::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: #e8eef7; }
.timeline-item:last-child::before { display: none; }
.timeline-dot { width: 20px; height: 20px; border-radius: 50%; border: 3px solid #d8e1ee; background: #fff; flex: 0 0 auto; margin-top: 2px; z-index: 1; }
.timeline-item.done .timeline-dot { border-color: var(--blue); background: var(--blue); }
.timeline-body { font-size: 14px; }
.timeline-body strong { display: block; color: var(--ink); font-family: var(--poppins); font-size: 14px; font-weight: 600; }
.timeline-body span { color: var(--muted); font-size: 12.5px; }
.timeline-item.pending .timeline-body strong { color: #9aa7b8; }

/* ---------------- Services ---------------- */
.services-section { background: var(--soft); padding-top: 110px; }
.service-featured {
    display: flex; align-items: center; gap: 26px; background: #fff; padding: 30px 34px;
    border-radius: 5px; box-shadow: 0 8px 26px rgba(15,39,73,.05); margin-bottom: 30px;
}
.service-featured h3 { font-size: 21px; margin-bottom: 6px; }
.service-featured p { margin: 0; font-size: 14px; }
.service-featured .link-more { margin-left: auto; white-space: nowrap; }
.service-icon {
    width: 66px; height: 66px; border-radius: 4px; background: var(--soft-blue);
    display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.service-icon i { font-size: 32px; color: var(--blue); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    background: #fff; border-radius: 5px; padding: 34px 30px 30px;
    box-shadow: 0 8px 26px rgba(15,39,73,.05); transition: .28s;
    display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,39,73,.1); }
.service-card h3 { font-size: 20px; margin: 22px 0 10px; }
.service-card p { font-size: 14px; color: var(--text); margin-bottom: 14px; }
.service-card .link-more { margin-top: auto; }

/* ---------------- About ---------------- */
.about-section { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 78px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: 4px; position: relative; z-index: 2; }
.deco-dots {
    position: absolute; left: -22px; top: 50%; transform: translateY(-50%);
    width: 46px; height: 150px; z-index: 1;
    background-image: radial-gradient(#cfe0ff 2px, transparent 2px);
    background-size: 14px 14px;
}
.deco-line { position: absolute; left: -12px; bottom: -18px; width: 120px; height: 120px; border-left: 10px solid var(--blue); border-bottom: 10px solid var(--blue); z-index: 1; opacity: .9; }
.exp-badge {
    position: absolute; left: -16px; bottom: 14px; z-index: 3;
    background: #fff; padding: 14px 20px; box-shadow: var(--shadow); border-radius: 4px;
    display: flex; align-items: center; gap: 12px;
}
.exp-badge strong { font-family: var(--poppins); font-size: 38px; color: var(--blue); line-height: 1; }
.exp-badge span { font-size: 12px; max-width: 90px; line-height: 1.4; color: var(--ink); }
.about-copy h2 { font-size: 40px; margin: 8px 0 22px; }
.about-copy p { font-size: 15px; }
.check-list { margin: 4px 0 18px; }
.check-list li { display: flex; gap: 10px; margin-bottom: 8px; font-size: 14.5px; }
.check-list i { color: var(--blue); font-size: 18px; margin-top: 1px; }
.signature { margin: 22px 0 20px; }
.signature img { max-width: 150px; height: auto; }
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- Best services ---------------- */
.best-section { background: var(--soft); }
.best-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 46px; }
.best-card {
    background: #fff; border-radius: 5px; padding: 20px;
    box-shadow: 0 8px 26px rgba(15,39,73,.05); transition: .28s;
    display: flex; flex-direction: column;
}
.best-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,39,73,.1); }
.best-media { display: block; overflow: hidden; border-radius: 4px; }
.best-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: .5s; }
.best-card:hover .best-media img { transform: scale(1.05); }
.best-body { display: flex; flex-direction: column; flex: 1; padding: 4px 8px 6px; }
.best-card h3 { font-size: 19px; margin: 20px 0 9px; }
.best-card p { font-size: 14px; margin-bottom: 12px; }
.best-card .link-more { margin-top: auto; padding-top: 10px; }

/* ---------------- Why ---------------- */
.why-section { background: #fff; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 74px; align-items: center; }
.why-copy h2 { font-size: 40px; margin: 8px 0 22px; }
.why-copy > p { font-size: 15px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 32px; }
.feature-item {
    display: flex; align-items: center; gap: 14px; border: 1px solid #eef2f8; border-radius: 4px;
    background: #fff; padding: 16px 18px; box-shadow: 0 6px 18px rgba(15,39,73,.05);
}
.feature-item i { font-size: 30px; color: var(--blue); }
.feature-item span { font-family: var(--poppins); font-size: 14px; font-weight: 500; color: var(--ink); }
.why-media { position: relative; padding: 0 20px 20px 0; }
.why-media img { width: 100%; position: relative; z-index: 2; }
.blue-frame { position: absolute; right: 0; top: 24px; bottom: 0; left: 42px; background: var(--blue); z-index: 1; }
.play-btn {
    position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 82px; height: 82px; border-radius: 50%; border: 6px solid rgba(255,255,255,.75);
    background: rgba(255,255,255,.9); color: var(--blue); font-size: 34px; display: flex; align-items: center; justify-content: center;
}
.play-btn:hover { background: var(--blue); color: #fff; }

/* ---------------- Team ---------------- */
.team-section { background: var(--soft); }
.team-carousel { overflow: hidden; max-width: 100%; margin: 0 auto; }
.team-track { display: flex; gap: 28px; transition: transform .5s ease; }
.team-card { flex: 0 0 calc((100% - 56px) / 3); position: relative; border-radius: 4px; overflow: hidden; background: #eee; }
.team-card img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.team-caption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 12px 14px; text-align: center;
    background: linear-gradient(180deg, rgba(80,156,255,.92), #3f8bf1); color: #fff;
    font-family: var(--poppins);
}
.team-caption strong { display: block; font-size: 20px; font-weight: 700; }
.team-caption .team-role { display: block; font-size: 13px; opacity: .95; }
.team-follow {
    display: inline-block; margin-bottom: 6px; padding: 3px 12px; border-radius: 12px;
    background: rgba(255,255,255,.2); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.team-socials {
    display: flex; justify-content: center; gap: 8px; margin-bottom: 10px;
    opacity: 0; transform: translateY(-6px); transition: .3s;
}
.team-card:hover .team-socials { opacity: 1; transform: none; }
.team-socials a {
    width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.18); color: #fff; font-size: 13px;
}
.team-socials a:hover { background: #fff; color: var(--blue); }
.team-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.team-dots button { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--blue); background: #fff; padding: 0; }
.team-dots button.is-active { background: var(--blue); }

/* ---------------- Gallery ---------------- */
.gallery-section { background: #fff; }
.gallery-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 0 0 40px; }
.gallery-filters button {
    border: 0; background: #F4F6F8; color: var(--ink); font-size: 14px; padding: 9px 22px; border-radius: 20px; transition: .2s;
}
.gallery-filters button:hover, .gallery-filters button.is-active { background: var(--blue); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gallery-item { margin: 0; position: relative; overflow: hidden; border-radius: 4px; background: #f2f5f9; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.gallery-item figcaption {
    position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between;
    padding: 20px; color: #fff; font-family: var(--poppins); font-weight: 600; font-size: 16px;
    background: linear-gradient(180deg, transparent 45%, rgba(10, 22, 38, .82));
    opacity: 0; transition: .3s;
}
.gallery-item figcaption i { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover figcaption { opacity: 1; }
.gallery-item.is-hidden { display: none; }

/* ---------------- Stats ---------------- */
.stats-band { position: relative; padding: 92px 0; background: #0f1a28; overflow: hidden; }
.stats-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.stats-band::after { content: ""; position: absolute; inset: 0; background: rgba(9, 18, 30, .55); }
.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card {
    background: var(--blue); color: #fff; text-align: center; padding: 30px 16px 26px;
    border: 1px solid rgba(255,255,255,.4); border-radius: 4px;
}
.stat-card i { font-size: 42px; display: block; margin-bottom: 14px; }
.stat-card strong { display: block; font-family: var(--poppins); font-size: 34px; font-weight: 700; line-height: 1.2; }
.stat-card span { font-size: 15px; }

/* ---------------- Blog ---------------- */
.blog-section { background: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: #fff; border: 1px solid #edf1f7; border-radius: 4px; overflow: hidden; transition: .28s; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: 0 18px 40px rgba(15,39,73,.1); transform: translateY(-4px); }
.blog-media { position: relative; }
.blog-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.blog-date {
    position: absolute; left: 20px; top: 20px; background: #fff; color: var(--ink);
    font-family: var(--poppins); font-weight: 600; font-size: 13px; padding: 8px 12px; border-radius: 3px; text-align: center; line-height: 1.2;
}
.blog-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: 18px; color: var(--muted); font-size: 12.5px; margin-bottom: 10px; }
.blog-meta i { margin-right: 5px; }
.blog-body h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.45; }
.blog-body p { font-size: 14px; color: var(--text); margin-bottom: 12px; }
.blog-body .link-more { margin-top: auto; }

/* ---------------- Quote ---------------- */
.quote-section { position: relative; padding: 100px 0; overflow: hidden; background: var(--blue); }
.quote-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.quote-section::after { content: ""; position: absolute; inset: 0; background: rgba(64, 136, 235, .8); }
.quote-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.quote-card { background: #fff; border-radius: 4px; padding: 34px 36px; box-shadow: 0 20px 50px rgba(10, 40, 80, .2); }
.quote-card > h3 { font-size: 23px; margin-bottom: 24px; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.quote-form .field { margin: 0; }
.quote-form input, .quote-form select {
    width: 100%; height: 52px; border: 0; border-radius: 3px; background: var(--soft-blue);
    padding: 0 16px; font-family: var(--roboto); font-size: 14px; color: var(--ink); outline: none;
    appearance: none;
}
.quote-form select { background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%); background-position: calc(100% - 18px) 23px, calc(100% - 13px) 23px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.quote-form input:focus, .quote-form select:focus { box-shadow: 0 0 0 3px rgba(80,156,255,.18); }
.quote-form .btn { grid-column: span 2; height: 52px; margin-top: 4px; }
.quote-copy { color: #fff; }
.quote-copy .eyebrow { color: #fff; }
.quote-copy h2 { color: #fff; font-size: 40px; margin: 8px 0 20px; }
.quote-copy p { color: rgba(255,255,255,.92); font-size: 15px; margin-bottom: 26px; }
.quote-copy .title-line { background: #fff; }
.quote-copy .title-line::after { background: #fff; }

/* ---------------- Newsletter ---------------- */
.newsletter-holder { background: #fff; padding: 0 0 40px; }
.newsletter {
    margin-top: -36px; position: relative; z-index: 3; background: #fff; border: 1px solid #eaf0f8;
    box-shadow: var(--shadow); border-radius: 4px; padding: 28px 36px;
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.newsletter h3 { font-size: 20px; }
.subscribe-form { display: flex; align-items: center; border: 2px solid var(--blue); border-radius: 26px; overflow: hidden; background: #fff; min-width: 470px; }
.subscribe-form input { flex: 1; height: 48px; border: 0; outline: none; padding: 0 22px; font-size: 14px; }
.subscribe-form .btn { border-radius: 0; height: 48px; padding: 0 28px; background: #fff; color: var(--blue); font-weight: 500; }
.subscribe-form .btn:hover { background: #eaf3ff; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--dark); color: #b9c0cc; padding: 74px 0 56px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 50px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo img { height: 46px; width: auto; }
.footer-brand p { font-size: 14px; color: #aeb6c4; }
.footer-social-title { color: #fff; font-size: 18px; margin-top: 22px; }
.socials { display: flex; gap: 10px; margin: 18px 0; }
.socials a {
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid #2a2e39; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 14px; transition: .2s;
}
.socials a:hover { background: var(--blue); border-color: var(--blue); }
.footer-contact { font-size: 13px; color: #98a2b3; line-height: 1.9; margin: 14px 0 0; }
.footer-contact i { color: var(--blue); margin-right: 8px; }
.footer-col h4 { color: #fff; font-size: 18px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: #b9c0cc; transition: .2s; }
.footer-col a:hover { color: var(--blue); padding-left: 4px; }
.partners { display: flex; flex-direction: column; gap: 18px; margin-top: 6px; }
.partner-fedex { font-family: var(--poppins); font-size: 40px; font-weight: 800; color: #9c8ae8; letter-spacing: -1px; }
.partner-fedex em { color: #ff8a3d; font-style: normal; }
.partner-folk { font-family: var(--poppins); font-size: 32px; font-weight: 800; color: #ff6600; }
.partner-folk em { color: #e6e6e6; font-style: normal; }

/* ---------------- Blog post detail ---------------- */
.post-page .topbar-mail i.bi-arrow-left { font-size: 13px; }
.post-nav-links { display: flex; }
.post-hero { position: relative; height: 520px; overflow: hidden; background: #111; }
.post-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,16,28,.82), rgba(8,16,28,.35)); }
.post-hero-content { position: relative; z-index: 2; padding-top: 130px; }
.post-hero h1 { color: #fff; font-size: 44px; max-width: 860px; margin: 16px 0 22px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 22px; color: rgba(255,255,255,.85); font-size: 14px; }
.post-meta i { color: var(--blue); margin-right: 5px; }
.post-body { max-width: 940px; padding-top: 56px; padding-bottom: 90px; }
.post-back { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 14px; font-weight: 500; margin-bottom: 26px; }
.post-body > p { font-size: 17px; line-height: 1.95; color: #475569; margin-bottom: 24px; }
.post-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 26px;
    background: var(--soft); border-left: 4px solid var(--blue); padding: 28px 32px; margin: 42px 0 30px;
}
.post-cta h3 { font-size: 21px; margin-bottom: 6px; }
.post-cta p { margin: 0; font-size: 14px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 14px; }
.post-nav a { color: var(--blue); font-weight: 500; }

/* ---------------- Gallery lightbox ---------------- */
.lightbox-body { position: relative; z-index: 2; max-width: 1040px; width: 100%; background: #0b0f16; border-radius: 6px; overflow: hidden; }
.lightbox-body img { width: 100%; max-height: 78vh; object-fit: contain; display: block; }
.lightbox-caption { color: #fff; font-family: var(--poppins); font-size: 16px; padding: 14px 18px; }

/* ---------------- To top / modal / toast ---------------- */
.to-top {
    position: fixed; right: 26px; bottom: 30px; width: 46px; height: 46px; border-radius: 50%;
    background: var(--blue); color: #fff; border: 0; font-size: 18px; z-index: 40;
    opacity: 0; pointer-events: none; transition: .3s; box-shadow: 0 8px 22px rgba(80,156,255,.4);
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--blue-dark); }
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 12, 20, .78); }
.modal-body { position: relative; z-index: 2; background: #000; border-radius: 6px; overflow: hidden; max-width: 900px; width: 100%; }
.video-body img { width: 100%; display: block; }
.video-caption {
    background: #0b0f16; color: #fff; font-family: var(--poppins); font-size: 15px;
    padding: 14px 18px; display: flex; align-items: center; gap: 8px;
}
.video-caption i { color: var(--blue); font-size: 18px; }
.modal-close {
    position: absolute; right: 10px; top: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,.9); color: #111; font-size: 16px;
}
.toast-wrap { position: fixed; right: 24px; top: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
    background: #fff; border-left: 4px solid var(--blue); box-shadow: var(--shadow); border-radius: 4px;
    padding: 14px 20px; font-size: 14px; color: var(--ink); min-width: 240px; animation: slideIn .3s ease;
}
.toast.error { border-left-color: #e74c3c; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px);} to { opacity: 1; transform: none;} }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
    .main-nav { gap: 24px; }
    .hero h1 { font-size: 46px; }
    .about-grid, .why-grid, .quote-grid { gap: 44px; }
    .section-head h2, .about-copy h2, .why-copy h2, .quote-copy h2 { font-size: 34px; }
}

@media (max-width: 960px) {
    .main-nav {
        position: fixed; top: 130px; left: 0; right: 0; background: #fff; flex-direction: column;
        align-items: flex-start; gap: 0; padding: 10px 24px 20px; box-shadow: 0 20px 30px rgba(15,39,73,.12);
        display: none; z-index: 45;
    }
    .main-nav.open { display: flex; }
    .main-nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid #f1f4f9; }
    .nav-toggle { display: block; }
    .search-btn { margin-left: 12px; }
    .services-grid, .best-grid, .blog-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .why-grid, .quote-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .team-card { flex: 0 0 calc((100% - 28px) / 2); }
    .team-track { gap: 28px; }
    .track-meta { grid-template-columns: repeat(2, 1fr); }
    .newsletter { flex-direction: column; align-items: flex-start; }
    .subscribe-form { min-width: 0; width: 100%; }
    .post-nav-links { display: none !important; }
    .post-hero h1 { font-size: 32px; }
}

@media (max-width: 640px) {
    .topbar { height: 40px; }
    .topbar-inner { height: 40px; }
    .topbar-mail span { font-size: 12px; }
    .lang-toggle { height: 40px; padding: 0 14px; font-size: 12px; }
    .lang-menu { top: 40px; }
    .site-header, .header-inner { height: 70px; }
    .brand-logo { height: 38px; }
    .main-nav { top: 110px; }
    .hero { height: 620px; }
    .hero-content { padding-top: 110px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 14px; }
    .hero-arrow { display: none; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 36px; }
    .section-head h2, .about-copy h2, .why-copy h2, .quote-copy h2 { font-size: 27px; }
    .services-grid, .best-grid, .blog-grid, .gallery-grid, .feature-grid { grid-template-columns: 1fr; }
    .service-featured { flex-direction: column; align-items: flex-start; }
    .service-featured .link-more { margin-left: 0; }
    .team-card { flex: 0 0 100%; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-card strong { font-size: 27px; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .track-card { padding: 22px 20px; }
    .track-row { flex-direction: column; }
    .track-row .btn { width: 100%; }
    .track-meta { grid-template-columns: 1fr; }
    .quote-form { grid-template-columns: 1fr; }
    .quote-form .btn { grid-column: auto; }
    .newsletter { padding: 22px; }
    .subscribe-form { border-radius: 4px; flex-direction: column; border-width: 1px; }
    .subscribe-form input, .subscribe-form .btn { width: 100%; }
    .to-top { right: 16px; bottom: 18px; }
    .post-hero { height: 430px; }
    .post-hero-content { padding-top: 90px; }
    .post-hero h1 { font-size: 28px; }
    .post-cta { flex-direction: column; align-items: flex-start; }
}
