/* Export Marketing — bản thử v2. Trang bán hàng cho chủ nhà máy xuất khẩu.
   Layout: dải hero navy, các khối nội dung căn trái trên nền trắng/xám xanh nhạt, CTA màu hổ phách. */
:root {
  --navy: #0f2a44;
  --navy-2: #1d3d5e;
  --ink: #1b2733;
  --muted: #566676;
  --surface: #eef2f6;
  --white: #ffffff;
  --green: #5cb82a;      /* xanh lá sáng của logo: nền nút (chữ navy), chữ nhấn trên nền navy */
  --green-ink: #1f7a2a;  /* xanh lá đậm của logo: chữ xanh trên nền sáng (đạt tương phản) */
  --green-soft: #e6f4dc;
  --line: #d5dde5;
  --serif: "Source Serif 4", "Times New Roman", "Noto Serif", serif;
  --sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--green); color: var(--navy); padding: 8px 12px; z-index: 10; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: 32px; padding-right: 32px; } }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; margin: 0 0 0.5em; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p, ul, ol { margin: 0 0 1em; }
p { max-width: 66ch; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.small { font-size: 0.9rem; color: var(--muted); }
.kicker { font-weight: 700; color: var(--green); margin: 0 0 8px; }

/* Header */
.site-head { background: var(--white); color: var(--navy); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-family: var(--sans); font-weight: 500; font-size: 1.45rem; letter-spacing: -0.01em; color: var(--white); text-decoration: none; margin: 0; }
.brand span { font-weight: 800; color: var(--green); }
.nav { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 0.95rem; }
.nav a { color: var(--muted); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--green); }

/* Sections */
.band { padding-top: 64px; padding-bottom: 64px; }
.band.alt { background: var(--surface); }
.band.dark { background: var(--navy); color: #dce5ee; }
.band.dark h1, .band.dark h2, .band.dark h3 { color: var(--white); }
.band.dark .lead { color: #c3d0dd; }
@media (min-width: 900px) { .band { padding-top: 88px; padding-bottom: 88px; } }
.section-head { max-width: 760px; margin-bottom: 36px; }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 72px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 64px; } }
.buyer-check { background: var(--white); color: var(--ink); border-radius: 6px; padding: 24px; }
.band.dark .buyer-check h2 { font-size: 1.2rem; margin-bottom: 12px; color: var(--navy); }
.buyer-check ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.buyer-check li::marker { color: var(--green-ink); font-weight: 700; }
.buyer-check p { margin: 14px 0 0; font-size: 0.92rem; color: var(--muted); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; font: 700 1rem/1.2 var(--sans); text-decoration: none; padding: 15px 24px; border-radius: 4px; border: 2px solid var(--green); background: var(--green); color: var(--navy); cursor: pointer; }
.btn:hover { background: #74c947; border-color: #74c947; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }
.band:not(.dark) .btn.ghost { color: var(--navy); }

/* Pain list */
.pains { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .pains { grid-template-columns: 1fr 1fr; gap: 20px 40px; } }
.pains li { border-left: 3px solid var(--green); padding: 4px 0 4px 16px; }
.pains b { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 2px; }

.bridge { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.35; color: var(--navy); max-width: 30ch; margin: 48px 0 0; }

/* Benefits */
.benefits { display: grid; gap: 28px 40px; }
@media (min-width: 760px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefits h3 { margin-bottom: 6px; }
.benefits p { margin: 0; color: var(--muted); }
.note-time { margin-top: 40px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 20px 24px; max-width: 760px; }
.note-time p { margin: 0; }

/* Why us */
.why { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-width: 900px; }
.why li { display: grid; gap: 4px 32px; padding: 20px 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .why li { grid-template-columns: 18rem 1fr; } }
.why b { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--navy); }
.why span { color: var(--muted); }

/* Steps: real sequence */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; margin-bottom: 12px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 4px; }
.steps .when { font-size: 0.9rem; font-weight: 700; color: var(--green-ink); margin: 0 0 4px; }
.steps p { margin: 0; color: var(--muted); }

/* Offer */
.offer { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .offer { grid-template-columns: 1.2fr 1fr; gap: 56px; } }
.stack { list-style: none; padding: 0; margin: 0; }
.stack li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--navy-2); position: relative; }
.stack li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.price-card { background: var(--white); color: var(--ink); border-radius: 6px; padding: 28px; }
.price-card .was { color: var(--muted); text-decoration: line-through; margin: 0; }
.price-card .now { font-family: var(--serif); font-weight: 600; font-size: 3rem; line-height: 1; color: var(--navy); margin: 4px 0 8px; }
.price-card .save { display: inline-block; background: var(--green-soft); color: #1f5e14; font-weight: 700; padding: 4px 10px; border-radius: 3px; margin: 0 0 16px; }
.price-card .btn { width: 100%; text-align: center; }

/* Fit */
.fit { display: grid; gap: 24px; }
@media (min-width: 760px) { .fit { grid-template-columns: 1fr 1fr; gap: 48px; } }
.fit ul { padding-left: 1.2em; margin: 0; display: grid; gap: 8px; }

/* Table (bảng giá) */
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--white); }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: var(--white); font-weight: 600; }
td.num { white-space: nowrap; font-weight: 700; color: var(--navy); }
@media (max-width: 719px) {
  thead { display: none; }
  tr, td { display: block; }
  tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  td { border: 0; padding: 2px 0; }
  td:first-child { font-weight: 700; }
}

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; max-width: 820px; }
summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; color: var(--navy); }
details p { margin: 10px 0 0; color: var(--muted); }

/* Form */
form { display: grid; gap: 16px; max-width: 640px; min-width: 0; }
label { font-weight: 600; display: grid; gap: 6px; color: var(--navy); }
input, select, textarea { font: inherit; padding: 12px; border: 1px solid #9aa9b7; border-radius: 4px; background: var(--white); color: var(--ink); width: 100%; }
.check { display: flex; gap: 10px; font-weight: 400; align-items: flex-start; color: var(--ink); }
.check input { width: auto; margin-top: 6px; }
button.btn { justify-self: start; }
#form-status { min-height: 1.6em; font-weight: 600; }
.row { display: grid; gap: 24px 56px; }
@media (min-width: 900px) { .row { grid-template-columns: 1fr 1.3fr; } }
.row > * { min-width: 0; }

/* Draft gaps the owner must fill */
.todo { background: #fff1b8; color: var(--ink); outline: 1px dashed #b8915a; padding: 0 4px; }

/* Footer */
.site-foot { background: var(--navy); color: #c3d0dd; padding-top: 40px; padding-bottom: 40px; font-size: 0.92rem; }
.site-foot a { color: var(--white); }
.site-foot .wrap { display: grid; gap: 16px; }
@media (min-width: 720px) { .site-foot .wrap { grid-template-columns: 1.3fr 1fr; } }

/* Ba trụ: Think Strategy / Build Trust / Reach Buyers */
.pillars { display: grid; gap: 32px; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.pillars > div { background: var(--white); border-top: 4px solid var(--green); border-radius: 0 0 6px 6px; padding: 24px; }
.pillar-en { font-weight: 700; color: var(--green-ink); margin: 0 0 4px; }
.pillars ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; }
.pillars li { color: var(--muted); }
.pillars li b { color: var(--navy); }

/* Blog */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
@media (min-width: 760px) { .post-list { grid-template-columns: 1fr 1fr; } }
.post-card { border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 0 0 6px 6px; padding: 24px; }
.post-card h2 { font-size: 1.3rem; margin-bottom: 8px; }
.post-card h2 a { color: var(--navy); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card p { color: var(--muted); margin: 0 0 8px; }
.post-topic { font-weight: 700; color: var(--green-ink) !important; font-size: 0.9rem; }
.post-date { font-size: 0.85rem; }
.article-head .crumb { font-size: 0.9rem; margin: 0 0 12px; }
.article-head .crumb a { color: var(--green); }
.post-meta { color: #9fb2c4; margin: 0; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose li { margin-bottom: 0.4em; }
.prose .answer { font-size: 1.15rem; border-left: 4px solid var(--green); background: var(--surface); padding: 16px 20px; max-width: none; }
.prose table { margin-bottom: 1em; }
.next-read { margin-top: 2em; font-weight: 700; }

/* Logo trong header (nền trắng) */
.site-head .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.site-head .brand img { width: 40px; height: 40px; }
.site-head .brand .wm { color: var(--navy); font-weight: 500; }
.site-head .brand .wm span { color: #2e8b1e; font-weight: 800; }

/* Banner thương hiệu ở đầu trang chủ */
.banner { background: var(--white); padding-top: 24px; padding-bottom: 24px; }
.banner img { width: 100%; height: auto; border-radius: 8px; }
@media (max-width: 719px) { .banner { padding-top: 12px; padding-bottom: 12px; } .banner img { border-radius: 4px; } }

/* Footer: logo trên nền tròn trắng + nút mạng xã hội có icon */
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { width: 44px; height: 44px; background: var(--white); border-radius: 50%; padding: 3px; }
.foot-brand .wm { color: var(--white); font-weight: 500; }
.foot-brand .wm span { color: var(--green); font-weight: 800; }
.social-label { margin: 20px 0 8px; }
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; color: var(--white); text-decoration: none; }
.social a:hover { border-color: var(--green); color: var(--green); }
.social svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
