/* ============================================================
   Bogo landing v4 — phong cách Lalamove (lalamove.com/vi-vn)
   Vàng Bogo #FFC947/#EDB128 + chữ đen, nền trắng, section xám xen kẽ,
   hero 2 cột, card đối tượng, feature grid, steps đánh số.
   ============================================================ */

:root {
    --yellow: #FFC947;
    --yellow-hover: #EDB128;
    --ink: #17181C;
    --muted: #5b5e66;
    --bg: #ffffff;
    --gray: #F7F7F5;
    --border: #E5E5E3;
    --radius: 14px;
    --container: 1120px;
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --t: 160ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0 0; }
.section-gray { background: var(--gray); padding: 80px 0; margin-top: 80px; }
.h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 40px; }

button, .btn { cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow-hover); outline-offset: 2px; border-radius: 6px; }

/* ---------- Nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: #fff; border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--container); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 24px; height: 64px;
}
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a {
    color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600;
    transition: color var(--t);
}
.nav-links a:hover { color: #b8860b; }
.nav-burger { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; margin-left: auto; }
.nav-menu { display: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 24px; border-radius: 10px; border: 2px solid transparent;
    font-family: inherit; font-size: 15px; font-weight: 700; text-decoration: none;
    transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn-lg { padding: 13px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-hover); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-line:hover { border-color: var(--ink); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
    padding-top: 72px; padding-bottom: 0;
}
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: #b8860b; }
.hero-sub { color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.15rem); margin-top: 16px; max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-art img { display: block; width: 100%; height: auto; }

/* ---------- Audience cards ---------- */
.audience {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    margin-top: 56px; padding-bottom: 0;
}
.aud-card {
    display: grid; gap: 6px; align-content: start; text-decoration: none;
    background: var(--gray); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 22px; transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.aud-card:hover { border-color: var(--yellow-hover); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(23, 24, 28, .08); }
.aud-icon {
    width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px; background: var(--yellow); color: var(--ink); font-size: 20px; margin-bottom: 6px;
}
.aud-card strong { color: var(--ink); font-size: 16px; }
.aud-card p { color: var(--muted); font-size: 13.5px; }
.aud-more { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 13.5px; font-weight: 700; margin-top: 4px; }
.aud-card:hover .aud-more { color: #b8860b; }
.aud-card:hover .aud-more .bi { transform: translateX(3px); }
.aud-more .bi { transition: transform var(--t); }

/* ---------- Feature grid ---------- */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feat {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--gray); border-radius: var(--radius); padding: 22px;
}
.feat-icon {
    flex-shrink: 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px; background: var(--yellow); color: var(--ink); font-size: 20px;
}
.feat h3 { font-size: 16px; margin-bottom: 4px; }
.feat p { color: var(--muted); font-size: 14px; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.step-num {
    display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--ink); color: var(--yellow);
    font-weight: 800; font-size: 16px; margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
}
.plan-featured { border: 2px solid var(--ink); }
.plan-tagline { color: #b8860b; font-weight: 700; font-size: 13.5px; margin-top: 2px; }
.plan-price { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 14px; }
.plan-price small { font-size: .85rem; font-weight: 600; opacity: .6; }
.plan-note { font-size: 12.5px; color: var(--muted); margin: 2px 0 18px; }
.plan-features { list-style: none; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); display: grid; gap: 9px; font-size: 13.5px; }
.plan-features .bi { color: #b8860b; margin-right: 8px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.quote blockquote { font-size: 14px; }
.quote figcaption { margin-top: 14px; display: grid; }
.quote figcaption span { color: var(--muted); font-size: 12.5px; }

/* ---------- FAQ ---------- */
.faq { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0 18px; margin-bottom: 10px; }
.faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px;
    padding: 16px 0; font-weight: 600; font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .bi { color: var(--muted); transition: transform var(--t); flex-shrink: 0; }
.faq[open] summary .bi { transform: rotate(45deg); color: #b8860b; }
.faq p { padding-bottom: 16px; color: var(--muted); font-size: 14.5px; }

/* ---------- Contact ---------- */
.lead-form { background: var(--gray); border-radius: var(--radius); padding: 26px; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
    font-family: inherit; font-size: 15px; color: var(--ink);
    border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px; background: #fff;
    transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--yellow-hover); box-shadow: 0 0 0 3px rgba(237, 178, 40, .22);
}
.field textarea { resize: vertical; }
.plan-pick { border: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.plan-pick legend { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.plan-pick label { cursor: pointer; }
.plan-pick input { position: absolute; opacity: 0; pointer-events: none; }
.plan-pick span {
    display: inline-block; padding: 8px 18px; border: 1px solid var(--border); border-radius: 10px;
    font-size: 14px; font-weight: 600; background: #fff; transition: all var(--t);
}
.plan-pick label:hover span { border-color: var(--ink); }
.plan-pick input:checked + span { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.plan-pick input:focus-visible + span { outline: 3px solid var(--yellow-hover); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 10px; padding: 12px 16px; font-size: 14.5px; }
.form-ok { background: #ECFAF1; color: #147A43; border: 1px solid #B8E8CD; }
.form-err { background: #FDF0EF; color: #B3372E; border: 1px solid #F3CDC9; }
.contact-meta { list-style: none; display: flex; gap: 12px 28px; flex-wrap: wrap; margin-top: 24px; color: var(--muted); font-size: 13.5px; }
.contact-meta .bi { color: #b8860b; margin-right: 7px; }
.contact-meta a { color: inherit; text-decoration: none; }
.contact-meta a:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); margin-top: 80px; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid p { color: var(--muted); font-size: 13.5px; margin-top: 14px; max-width: 34ch; }
.footer-grid h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }
.footer-grid nav { display: grid; gap: 8px; align-content: start; }
.footer-grid nav a { color: var(--muted); text-decoration: none; font-size: 13.5px; }
.footer-grid nav a:hover { color: var(--ink); }
.footer-grid h4 + h4 { margin-top: 20px; }
.copyright { color: var(--muted); font-size: 12.5px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .feat-grid { grid-template-columns: 1fr; }
    .quotes { grid-template-columns: 1fr 1fr; }
    .plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
    .audience { grid-template-columns: 1fr; }
    .plans { grid-template-columns: 1fr; max-width: 480px; }
    .steps { grid-template-columns: 1fr; }
    .quotes { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding-top: 56px; }
    .section-gray { padding: 56px 0; margin-top: 56px; }
}
@media (max-width: 640px) {
    .nav-links, .nav > .nav-inner > .btn { display: none; }
    .nav-burger { display: block; }
    body.nav-open .nav-menu {
        display: grid; gap: 4px; position: absolute; top: 64px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--border); padding: 14px 20px 18px;
    }
    .nav-menu a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 12px; border-radius: 10px; }
    .nav-menu a:hover { background: var(--gray); }
    .form-row { grid-template-columns: 1fr; }
}
