/* =====================================================================
   MỘC NHIÊN XANH – giao diện website khách
   Màu chủ đạo lấy từ biến CSS (--green, --green-2, --gold, --cream)
   được đặt từ trang quản trị > Màu sắc giao diện.
   ===================================================================== */
:root {
    --green: #2f4f1f;
    --green-2: #5a7d2a;
    --gold: #b8863b;
    --cream: #f5f0e4;
    --ink: #22301a;
    --muted: #667059;
    --line: rgba(47, 79, 31, .16);
    --paper: #f8f4ea;
    --radius: 18px;
    --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
    --sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --script: 'Dancing Script', 'Brush Script MT', cursive;
    --header-h: 78px;
    --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: env(safe-area-inset-bottom);
}
html { overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-2); }
.pre-line { white-space: pre-line; }
.serif { font-family: var(--serif); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 3000; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container-xxl { max-width: 1280px; padding-left: clamp(18px, 4vw, 40px); padding-right: clamp(18px, 4vw, 40px); }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2000;
    background: linear-gradient(90deg, var(--green-2), var(--gold)); transition: width .1s linear; }

/* ------------------------------------------------------------ Header */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1500; height: var(--header-h);
    display: flex; align-items: center;
    background: rgba(250, 247, 238, .88);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: height .35s var(--ease), box-shadow .35s, background .35s, border-color .35s;
}
.site-header > nav { width: 100%; }
.site-header.scrolled { --header-h: 66px; height: 66px; background: rgba(250, 247, 238, .96); box-shadow: 0 8px 30px rgba(34, 48, 26, .1); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--green); }
.brand img { width: 46px; height: 46px; object-fit: contain; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.12rem; letter-spacing: .06em; color: var(--green); font-weight: 700; }
.brand-text em { font-family: var(--serif); font-size: .72rem; font-style: italic; color: var(--muted); margin-top: 3px; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text em { color: rgba(255, 255, 255, .7); }
.brand-logo-chip { width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; }
.brand-logo-chip img { width: 38px; height: 38px; }

.nav-main { list-style: none; margin: 0; padding: 0; gap: clamp(14px, 2vw, 34px); align-items: center; }
.nav-main a { position: relative; font-size: .84rem; font-weight: 500; color: var(--ink); padding: 8px 0; letter-spacing: .01em; }
.nav-main a::after { content: ''; position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; background: var(--gold); transition: width .35s var(--ease); }
.nav-main a:hover::after, .nav-main a.active::after { width: 100%; }
.nav-main a.active { color: var(--green); font-weight: 600; }

.btn-call { align-items: center; gap: 8px; background: var(--green); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .85rem; position: relative; overflow: hidden; }
.btn-call:hover { color: #fff; background: var(--green-2); }
.btn-call i { animation: ring 2.6s infinite; }
.nav-toggle { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; font-size: 1.7rem; color: var(--green); display: grid; place-items: center; }
.mobile-menu { background: var(--paper); width: min(340px, 88vw); }
.mobile-menu li a { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.mobile-menu li a i { color: var(--gold); font-size: 1.15rem; }

/* ------------------------------------------------------------ Buttons */
.btn-mnx {
    --bg: var(--green);
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--bg); color: #fff; border: 1.5px solid var(--bg);
    padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .92rem; line-height: 1.2;
    cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s, color .3s, background .3s;
    box-shadow: 0 10px 24px rgba(47, 79, 31, .22);
}
.btn-mnx::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .28) 45%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-mnx:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 30px rgba(47, 79, 31, .3); }
.btn-mnx:hover::before { transform: translateX(120%); }
.btn-mnx i { transition: transform .35s var(--ease); }
.btn-mnx:hover i.bi-arrow-right { transform: translateX(5px); }
.btn-mnx-outline { background: transparent; color: var(--green); box-shadow: none; }
.btn-mnx-outline:hover { background: var(--green); color: #fff; }
.btn-mnx-light { --bg: #fff; color: var(--green); }
.btn-mnx-light:hover { color: var(--green); background: #f3ecd6; }
.btn-mnx-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-mnx-outline-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-lg-mnx { padding: 16px 30px; font-size: 1rem; }
.btn-msg { --bg: #0a7cff; }
.btn-zalo { --bg: #0068ff; }
.link-arrow { font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 8px; }
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ------------------------------------------------------------ Typography */
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .28em; color: var(--green-2); font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 34px; height: 1.5px; background: var(--gold); }
.text-center .eyebrow { justify-content: center; }
.eyebrow-light { color: #d9e6b8; }
.display-h { font-family: var(--serif); font-weight: 500; color: #1d3414; font-size: clamp(1.95rem, 4.2vw, 3.1rem); line-height: 1.18; margin-bottom: 18px; letter-spacing: -.005em; }
.display-xl { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.lead-serif { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--green-2); line-height: 1.5; margin-bottom: 18px; }
.body-copy { color: #3b4630; font-size: 1.02rem; max-width: 640px; margin-bottom: 26px; }
.section-head { margin-bottom: clamp(30px, 5vw, 56px); }
.section-head .body-copy { max-width: 700px; }

.section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.paper {
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(255, 255, 255, .7), transparent 60%),
        radial-gradient(900px 600px at -10% 110%, rgba(184, 134, 59, .08), transparent 60%),
        var(--paper);
}
.watermark { position: absolute; left: -60px; bottom: -40px; font-size: clamp(260px, 36vw, 520px); color: var(--green); opacity: .045; line-height: 1; pointer-events: none; animation: spin 90s linear infinite; }

/* ------------------------------------------------------------ Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 40px) 0 0; overflow: hidden; background: var(--cream); }
.hero-slides, .hero-slide, .hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide { opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { object-fit: cover; object-position: 70% 50%; transform-origin: 70% 40%; }
.hero-slide.active img { animation: kenburns 16s ease-out forwards; }
.hero-veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(247, 242, 229, .97) 0%, rgba(247, 242, 229, .9) 28%, rgba(247, 242, 229, .35) 52%, rgba(247, 242, 229, 0) 70%),
        linear-gradient(0deg, rgba(247, 242, 229, .55) 0%, transparent 28%);
}
.hero-inner { position: relative; flex: 1; display: flex; align-items: center; z-index: 2; }
.hero-copy { max-width: 600px; padding: 24px 0; }
.hero-title { font-family: var(--serif); font-weight: 500; color: #1d3414; font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.12; margin: 6px 0 22px; letter-spacing: -.01em; }
.hero-text { font-size: clamp(1rem, 1.5vw, 1.1rem); color: #38442e; max-width: 520px; margin-bottom: 30px; }
.hero-feat-wrap { position: relative; z-index: 2; padding-bottom: clamp(28px, 5vw, 50px); }
.hero-feats { list-style: none; margin: 0; padding: 20px 10px; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 760px; background: rgba(250, 247, 238, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .7); border-radius: 22px; box-shadow: 0 18px 40px rgba(34, 48, 26, .12); }
.hero-feats li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 4px 12px; font-size: .8rem; color: var(--green); font-weight: 500; line-height: 1.3; }
.hero-feats li + li { border-left: 1px solid var(--line); }
.hero-feats li i { font-size: 1.9rem; color: var(--green); transition: transform .5s var(--ease); }
.hero-feats li:hover i { transform: translateY(-5px) scale(1.12) rotate(-6deg); color: var(--gold); }
.scroll-cue { position: absolute; right: clamp(18px, 4vw, 40px); bottom: 36px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .85); color: var(--green); animation: bob 2s ease-in-out infinite; box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.hero-dots { position: absolute; z-index: 3; right: clamp(18px, 4vw, 40px); top: 50%; display: flex; flex-direction: column; gap: 10px; transform: translateY(-50%); }
.hero-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .6); border: 1px solid rgba(47, 79, 31, .4); transition: .4s; }
.hero-dots span.on { background: var(--gold); transform: scale(1.4); }

.hero-a { opacity: 0; transform: translateY(32px); animation: rise .95s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .14s + .15s); }

.leaf-field { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.fleaf { position: absolute; top: -50px; left: var(--x); width: var(--s); height: var(--s); opacity: .0; background: url('/img/leaf.svg') center/contain no-repeat; animation: fall var(--t) linear infinite; animation-delay: var(--d); filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .12)); }

/* ------------------------------------------------------------ Ảnh phụ (about / philosophy) */
.side-art { position: absolute; top: 0; bottom: 0; width: min(52%, 760px); pointer-events: none; }
.side-art-right { right: 0; }
.side-art img { width: 100%; height: 100%; object-fit: cover; object-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 18%, #000 42%), linear-gradient(0deg, transparent 0, #000 18%, #000 82%, transparent 100%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 18%, #000 42%), linear-gradient(0deg, transparent 0, #000 18%, #000 82%, transparent 100%); mask-composite: intersect; }
.about { min-height: 640px; display: flex; align-items: center; }
.about .container-xxl { width: 100%; }
.quote { margin: 34px 0 0; max-width: 480px; font-family: var(--serif); font-style: italic; color: var(--green); font-size: 1.12rem; display: flex; gap: 8px; align-items: flex-start; }
.quote i { font-size: 2rem; color: var(--gold); line-height: 1; margin-top: -4px; }

.philosophy { padding-bottom: clamp(80px, 10vw, 140px); }
.philosophy .side-art { width: min(46%, 640px); }
.pillars { position: relative; }
.pillar { padding: 8px clamp(14px, 2.4vw, 34px) 8px 0; }
.pillar + .pillar { border-left: 1px solid var(--line); padding-left: clamp(14px, 2.4vw, 34px); }
.pillar-badge { width: 70px; height: 70px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 1.9rem; margin-bottom: 14px; box-shadow: 0 12px 24px rgba(47, 79, 31, .3); transition: transform .5s var(--ease), background .4s; }
.pillar:hover .pillar-badge { transform: translateY(-6px) rotate(-8deg) scale(1.06); background: var(--gold); }
.pillar h3 { font-family: var(--serif); font-size: 1.7rem; color: var(--green); letter-spacing: .12em; margin-bottom: 6px; }
.pillar-tag { font-weight: 600; font-size: .96rem; color: #2e3d23; margin-bottom: 10px; }
.pillar-text { color: var(--muted); font-size: .94rem; max-width: 300px; }

/* ------------------------------------------------------------ Quality */
.quality { padding-top: clamp(70px, 9vw, 120px); }
.quality-bg { position: absolute; top: 0; right: 0; width: min(70%, 1000px); height: 70%; pointer-events: none; }
.quality-bg img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%), linear-gradient(0deg, transparent 0, #000 40%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 45%), linear-gradient(0deg, transparent 0, #000 40%); mask-composite: intersect; }
.q-feats { list-style: none; margin: 40px 0 36px; padding: 18px 8px; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 22px; border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 16px 40px rgba(34, 48, 26, .08); }
.q-feats li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 8px 12px; font-size: .86rem; color: var(--green); font-weight: 500; line-height: 1.35; }
.q-feats li + li { border-left: 1px solid var(--line); }
.q-feats i { font-size: 2.1rem; transition: transform .5s var(--ease); }
.q-feats li:hover i { transform: translateY(-6px) scale(1.1); color: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.gallery figure { margin: 0; }
.gallery a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 30px rgba(34, 48, 26, .15); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery a:hover img { transform: scale(1.12); }
.zoom-ico { position: absolute; inset: auto 12px 12px auto; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: .4s var(--ease); }
.gallery a:hover .zoom-ico { opacity: 1; transform: scale(1); }
.lightbox .modal-content img { max-height: 84vh; object-fit: contain; }

/* ------------------------------------------------------------ Sản phẩm */
.products { background: linear-gradient(180deg, var(--cream), #efe8d4 70%, var(--cream)); overflow: hidden; }
.products::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -120px; background: radial-gradient(circle, rgba(184, 134, 59, .18), transparent 70%); }
.p-card { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 34px rgba(34, 48, 26, .09); transition: box-shadow .4s, transform .25s ease-out; transform-style: preserve-3d; will-change: transform; border: 1px solid rgba(47, 79, 31, .06); }
.p-card:hover { box-shadow: 0 26px 60px rgba(34, 48, 26, .2); }
.p-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #efe6cf; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.08) rotate(.6deg); }
.p-sale { position: absolute; top: 14px; left: 14px; z-index: 2; background: #d2392b; color: #fff; font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 999px; box-shadow: 0 6px 14px rgba(210, 57, 43, .4); }
.p-badge { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--green); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.p-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.p-name { font-family: var(--serif); font-size: 1.22rem; line-height: 1.3; margin-bottom: 6px; }
.p-name a { color: #1d3414; }
.p-name a:hover { color: var(--green-2); }
.p-sum { color: var(--muted); font-size: .88rem; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: auto; margin-bottom: 16px; }
.p-price .now, .pd-price .now { font-size: 1.4rem; font-weight: 700; color: #c4321f; letter-spacing: -.01em; }
.p-price .old, .pd-price .old { color: #9a9a8a; font-size: .95rem; }
.p-price .unit, .pd-price .unit { color: var(--muted); font-size: .82rem; }
.p-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p-actions a { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: .8rem; font-weight: 600; padding: 11px 6px; border-radius: 12px; line-height: 1.2; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.p-actions a:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, .15); }
.pa-call { background: var(--green); color: #fff; }
.pa-call:hover { color: #fff; }
.pa-msg { background: #e7f1ff; color: #0a64d6; }
.pa-msg:hover { color: #0a64d6; }
.p-actions a:only-child { grid-column: 1 / -1; }

/* ------------------------------------------------------------ Hợp tác */
.partner { position: relative; overflow: hidden; padding: clamp(70px, 10vw, 130px) 0; color: #fff; background: #1d3a18; }
.partner-bg { position: absolute; inset: -40px 0; }
.partner-bg img { width: 100%; height: 100%; object-fit: cover; }
.partner-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 44, 18, .92) 0%, rgba(20, 44, 18, .78) 50%, rgba(20, 44, 18, .45) 100%); }
.partner .display-h { color: #fff; }
.partner-text { color: rgba(255, 255, 255, .85); max-width: 620px; font-size: 1.02rem; margin-bottom: 28px; }
.script-quote { font-family: var(--script); font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.25; color: #f3e6c1; transform: rotate(-4deg); text-shadow: 0 4px 24px rgba(0, 0, 0, .35); margin: 0; }

/* ------------------------------------------------------------ Bài viết */
.posts { background: var(--cream); }
.post-card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(34, 48, 26, .08); transition: transform .45s var(--ease), box-shadow .45s; }
.post-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(34, 48, 26, .16); }
.post-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.07); }
.post-cat { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .92); color: var(--green); font-size: .74rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { color: var(--muted); font-size: .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.post-body h3 { font-family: var(--serif); font-size: 1.22rem; line-height: 1.35; margin-bottom: 8px; }
.post-body h3 a { color: #1d3414; }
.post-body p { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-body .link-arrow { margin-top: auto; font-size: .9rem; }

/* ------------------------------------------------------------ Liên hệ */
.contact-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list span:not(.ci) { font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.contact-list a:hover { color: var(--green-2); }
.ci { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 10px 22px rgba(47, 79, 31, .25); }
.ci-blue { background: #0a7cff; box-shadow: 0 10px 22px rgba(10, 124, 255, .3); }
.contact-card { background: #fff; border-radius: 26px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 24px 60px rgba(34, 48, 26, .12); border: 1px solid rgba(47, 79, 31, .06); }
.contact-card h3 { font-family: var(--serif); font-size: 1.6rem; color: #1d3414; margin-bottom: 18px; }
.form-label { font-size: .84rem; font-weight: 600; color: #38442e; margin-bottom: 6px; }
.contact-card .form-control { border-radius: 12px; padding: 12px 14px; border: 1.5px solid #ddd6bf; background: #fcfaf3; }
.contact-card .form-control:focus { border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(90, 125, 42, .15); background: #fff; }
.map-wrap { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(34, 48, 26, .15); aspect-ratio: 21 / 8; min-height: 280px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------ Footer */
.site-footer { background: linear-gradient(180deg, #1f3a18, #162b12); color: rgba(255, 255, 255, .8); padding: clamp(54px, 7vw, 84px) 0 24px; }
.footer-about { margin: 16px 0 20px; max-width: 380px; font-size: .94rem; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.1rem; transition: .35s var(--ease); }
.social a:hover { background: var(--gold); color: #fff; transform: translateY(-4px); }
.footer-title { font-family: var(--serif); color: #fff; font-size: 1.15rem; margin-bottom: 16px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .8); }
.footer-links a:hover, .footer-contact a:hover { color: #f3e6c1; padding-left: 4px; }
.footer-links a { transition: padding .3s; }
.footer-contact li { min-width: 0; overflow-wrap: anywhere; display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: 3px; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.footer-bottom a { color: rgba(255, 255, 255, .7); }

/* ------------------------------------------------------------ Nút nổi */
.fab-stack { position: fixed; right: 22px; bottom: 26px; z-index: 1400; flex-direction: column; gap: 12px; align-items: center; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.4rem; position: relative; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transition: transform .35s var(--ease); }
.fab:hover { transform: scale(1.12); color: #fff; }
.fab-call { background: #e8312a; }
.fab-call::before, .fab-call::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #e8312a; animation: pulse 2.2s infinite; }
.fab-call::after { animation-delay: 1.1s; }
.fab-call i { animation: ring 2.6s infinite; }
.fab-msg { background: linear-gradient(135deg, #00b2ff, #006aff 55%, #a334fa); }
.fab-zalo { background: #0068ff; font-size: .9rem; font-weight: 700; }
.fab-top { background: var(--green); width: 44px; height: 44px; font-size: 1.1rem; opacity: 0; visibility: hidden; transform: translateY(14px); }
.fab-top.show { opacity: 1; visibility: visible; transform: none; }
.mobile-bar { position: fixed; z-index: 1400; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 247, 238, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0, 0, 0, .08); }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 8px; border-radius: 14px; font-weight: 700; color: #fff; font-size: .95rem; }
.mobile-bar .mb-call { background: #e8312a; }
.mobile-bar .mb-msg { background: linear-gradient(135deg, #00b2ff, #006aff); }
.mobile-bar .mb-zalo { background: #0068ff; flex: 0 0 25%; }
.mobile-bar a:hover { color: #fff; }

/* ------------------------------------------------------------ Trang con */
.page-hero { padding: calc(var(--header-h) + 54px) 0 clamp(28px, 4vw, 48px); background: radial-gradient(900px 400px at 90% 0, rgba(255, 255, 255, .8), transparent 60%), linear-gradient(180deg, #f2ecd9, var(--cream)); }
.page-hero-sm { padding-bottom: 18px; }
.crumbs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--gold); }
.crumbs a { color: var(--green); }
.pd-media { position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 70px rgba(34, 48, 26, .2); aspect-ratio: 1; background: #efe6cf; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .display-h { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 20px 0; }
.pd-price .now { font-size: 2rem; }
.pd-price .save { background: #fde7e3; color: #c4321f; padding: 3px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.pd-buy { display: grid; gap: 12px; margin-bottom: 22px; }
.pd-buy .btn-mnx { width: 100%; }
.pd-trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: #3b4630; font-size: .92rem; }
.pd-trust i { color: var(--green-2); margin-right: 8px; font-size: 1.1rem; }
.pd-desc { margin-top: clamp(40px, 6vw, 70px); max-width: 820px; }
.pd-desc p { color: #3b4630; }
.post-head { max-width: 860px; }
.post-wrap { max-width: 860px; padding-bottom: 60px; }
.post-cover { margin: 8px 0 28px; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(34, 48, 26, .18); }
.post-cover img { width: 100%; height: auto; display: block; }
.post-lead { font-family: var(--serif); font-size: 1.28rem; line-height: 1.6; color: var(--green); border-left: 3px solid var(--gold); padding-left: 18px; margin-bottom: 30px; }
.prose { font-size: 1.08rem; line-height: 1.85; color: #2f3a26; }
.prose h2 { font-family: var(--serif); font-size: 1.7rem; color: #1d3414; margin: 2em 0 .6em; }
.prose h3 { font-family: var(--serif); font-size: 1.35rem; color: #1d3414; margin: 1.6em 0 .5em; }
.prose img { border-radius: 14px; margin: 1.2em auto; display: block; box-shadow: 0 14px 34px rgba(0, 0, 0, .12); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--gold); background: #fbf6e6; border-radius: 0 14px 14px 0; font-family: var(--serif); font-style: italic; color: var(--green); }
.prose a { color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.post-cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 30px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, #1f3a18, var(--green)); }
.post-cta h2 { color: #fff; }
.pager { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 50px; font-weight: 600; }
.error-page { padding: calc(var(--header-h) + 90px) 0 120px; min-height: 80vh; background: radial-gradient(800px 400px at 50% 0, #fff, transparent 70%), var(--cream); }
.error-code { font-family: var(--serif); font-size: clamp(6rem, 20vw, 11rem); line-height: 1; color: var(--green); opacity: .15; margin: 0; }

/* ------------------------------------------------------------ Hiệu ứng cuộn */
.reveal, .reveal-right, .reveal-zoom { opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal { transform: translateY(36px); }
.reveal-right { transform: translateX(60px); }
.reveal-zoom { transform: scale(1.06); }
.reveal.in, .reveal-right.in, .reveal-zoom.in { opacity: 1; transform: none; }
.side-art.reveal-zoom img, .quality-bg.reveal-zoom img { transition: transform 2.4s var(--ease); }

/* ------------------------------------------------------------ Keyframes */
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate3d(-1.2%, -1%, 0); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fall {
    0% { transform: translate3d(0, -40px, 0) rotate(0deg); opacity: 0; }
    10% { opacity: .75; }
    50% { transform: translate3d(60px, 55vh, 0) rotate(220deg); }
    90% { opacity: .6; }
    100% { transform: translate3d(-40px, 112vh, 0) rotate(480deg); opacity: 0; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes ring { 0%, 55%, 100% { transform: rotate(0); } 60% { transform: rotate(-16deg); } 70% { transform: rotate(14deg); } 80% { transform: rotate(-10deg); } 90% { transform: rotate(8deg); } }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1199.98px) {
    .side-art { width: 48%; }
}
@media (max-width: 991.98px) {
    :root { --header-h: 68px; }
    .hero { padding-top: calc(var(--header-h) + 20px); }
    .hero-veil { background: linear-gradient(180deg, rgba(247, 242, 229, .96) 0%, rgba(247, 242, 229, .82) 38%, rgba(247, 242, 229, .2) 75%, rgba(247, 242, 229, .45) 100%); }
    .hero-slide img { object-position: 78% 50%; }
    .hero-feats { grid-template-columns: repeat(2, 1fr); gap: 14px 0; max-width: none; }
    .hero-feats li:nth-child(3) { border-left: 0; }
    .scroll-cue, .hero-dots { display: none; }

    .side-art { position: relative; width: 100%; height: 340px; margin: 0 0 8px; top: auto; bottom: auto; }
    .side-art img { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); -webkit-mask-composite: source-over; mask-composite: add; }
    .about { display: block; min-height: 0; padding-top: 0; }
    .philosophy { padding-top: 0; }
    .philosophy .side-art { order: -1; width: 100%; }
    .about, .philosophy { display: flex; flex-direction: column; }
    .about .container-xxl, .philosophy .container-xxl { padding-top: 10px; }
    .quality-bg { width: 100%; height: 340px; opacity: .5; }
    .pillar + .pillar { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 22px; }
    .pillar { padding-right: 0; }
    .q-feats { grid-template-columns: repeat(3, 1fr); gap: 14px 0; }
    .q-feats li:nth-child(4) { border-left: 0; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .partner-veil { background: linear-gradient(180deg, rgba(20, 44, 18, .9), rgba(20, 44, 18, .75)); }
    .script-quote { transform: none; text-align: left; }
    body { padding-bottom: 76px; }
}
@media (max-width: 575.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
    .footer-contact li, .contact-list li > div { min-width: 0; overflow-wrap: anywhere; }
    .hero-feats { padding: 16px 4px; border-radius: 18px; }
    .hero-feats li { font-size: .74rem; padding: 2px 6px; }
    .hero-feats li i { font-size: 1.6rem; }
    .q-feats { grid-template-columns: repeat(2, 1fr); }
    .q-feats li:nth-child(odd) { border-left: 0; }
    .q-feats li:nth-child(4) { border-left: 1px solid var(--line); }
    .q-feats li:nth-child(5) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
    .brand-text strong { font-size: .98rem; }
    .brand-text em { display: none; }
    .post-cta { padding: 22px; }
    .p-actions a span { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal, .reveal-right, .reveal-zoom, .hero-a { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------ Thẻ thông báo dùng chung */
.notice { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 16px; margin-bottom: 20px; border: 1px solid transparent; animation: rise .7s var(--ease) both; }
.notice strong { display: block; font-size: 1rem; line-height: 1.3; }
.notice span:not(.notice-ico) { display: block; font-size: .9rem; opacity: .9; }
.notice-ico { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; color: #fff; }
.notice-ok { background: #eaf5e3; border-color: #bcdca8; color: #234a15; }
.notice-ok .notice-ico { background: #3f8a2a; box-shadow: 0 0 0 6px rgba(63, 138, 42, .15); }
.notice-err { background: #fdecea; border-color: #f2b8b1; color: #7a1f16; }
.notice-err .notice-ico { background: #d2392b; box-shadow: 0 0 0 6px rgba(210, 57, 43, .13); }

/* ------------------------------------------------------------ Trang lỗi đồng bộ */
.error-page { position: relative; overflow: hidden; }
.error-page .error-code { position: absolute; left: 50%; top: calc(var(--header-h) + 20px); transform: translateX(-50%); font-family: var(--serif); font-size: clamp(9rem, 30vw, 20rem); line-height: 1; color: var(--green); opacity: .06; pointer-events: none; user-select: none; margin: 0; }
.error-ico { width: 96px; height: 96px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 2.6rem; margin-bottom: 18px; background: #e5efd9; color: var(--green); box-shadow: 0 0 0 12px rgba(90, 125, 42, .1); animation: bob 3s ease-in-out infinite; }
.error-ico.tone-warn { background: #fbefd2; color: #a8730f; box-shadow: 0 0 0 12px rgba(184, 134, 59, .12); }
.error-ico.tone-danger { background: #fbe2de; color: #c4321f; box-shadow: 0 0 0 12px rgba(210, 57, 43, .1); }
.error-hint { max-width: 560px; color: var(--muted); font-size: .95rem; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px dashed var(--line); }
.error-ref { margin-top: 26px; font-size: .75rem; color: #98a08c; letter-spacing: .04em; }

/* Định dạng căn lề/cỡ chữ do trình soạn thảo tạo ra */
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose figure { margin: 1.4em 0; }
.prose iframe, .prose video { max-width: 100%; border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 12px; }
