/* ==========================================================================
   Xanh Việt Garden – Giao diện website
   ========================================================================== */

:root {
    --forest-950: #0b1f13;
    --forest-900: #10291a;
    --forest-800: #173822;
    --forest-700: #1f4d2e;
    --forest-600: #2a6339;
    --leaf-500: #6fae36;
    --leaf-400: #8cc63f;
    --leaf-300: #b5dc7a;
    --sand-50: #fbf9f3;
    --sand-100: #f4efe3;
    --sand-200: #e8e0cd;
    --sand-300: #d6cab0;
    --ink: #18231c;
    --ink-soft: #3d4a41;
    --muted: #5f6c63;
    --white: #fff;
    --danger: #b42318;
    --zalo: #0068ff;

    --font-sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 10px rgba(16, 41, 26, .06);
    --shadow: 0 20px 44px -22px rgba(16, 41, 26, .3);
    --shadow-lg: 0 40px 90px -36px rgba(11, 31, 19, .5);
    --ease: cubic-bezier(.22, .61, .36, 1);

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --section-y: clamp(80px, 10vw, 136px);
    --mobile-bar-h: 0px;

    --leaf-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath d='M24 70c0-18 13-31 35-34-2 22-15 35-35 34Zm0 0 14-15' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");

    interpolate-size: allow-keywords;
}

/* ---------- Reset & nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--sand-50);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    overflow-x: clip;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
    outline: 2px solid var(--leaf-500);
    outline-offset: 3px;
    border-radius: 6px;
}

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--forest-900);
    color: var(--white);
    font-weight: 600;
    transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Kiểu chữ ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--forest-600);
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1.5px;
    background: currentColor;
    opacity: .6;
}
.eyebrow--light { color: var(--leaf-300); }

.section-title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(2rem, 1.35rem + 2.4vw, 3.4rem);
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--forest-900);
    text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--forest-600); }

.lead { font-size: 1.125rem; color: var(--ink-soft); }

.section { padding-block: var(--section-y); position: relative; }

.section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px 64px;
    align-items: end;
    margin-bottom: clamp(44px, 6vw, 72px);
}
.section-head .section-title { max-width: 16ch; }
.section-intro { color: var(--muted); max-width: 52ch; font-size: 1.05rem; }
.section-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .section-title { max-width: 20ch; }
.section-head--center .eyebrow::after {
    content: "";
    width: 28px;
    height: 1.5px;
    background: currentColor;
    opacity: .6;
}
.section-head--light .section-title { color: var(--white); }
.section-head--light .section-title em { color: var(--leaf-300); }
.section-head--light .section-intro { color: rgba(255, 255, 255, .72); }

@media (min-width: 900px) {
    .section-head { grid-template-columns: 1.1fr 1fr; }
    .section-head--center { grid-template-columns: 1fr; }
}

/* ---------- Nút ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    padding: .82em 1.5em;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--leaf-400); color: var(--forest-950); }
.btn-primary:hover { background: var(--leaf-300); box-shadow: 0 14px 30px -12px rgba(140, 198, 63, .65); }

.btn-dark { background: var(--forest-800); color: var(--white); }
.btn-dark:hover { background: var(--forest-700); box-shadow: 0 14px 30px -14px rgba(16, 41, 26, .6); }

.btn-ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: var(--white); color: var(--forest-900); border-color: var(--white); }

.btn-outline { border-color: var(--forest-700); color: var(--forest-800); }
.btn-outline:hover { background: var(--forest-800); color: var(--white); border-color: var(--forest-800); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-weight: 600;
    color: var(--forest-700);
    border-bottom: 1.5px solid var(--leaf-400);
    padding-bottom: 4px;
    transition: gap .3s var(--ease), color .3s;
}
.link-arrow:hover { gap: .85em; color: var(--forest-900); }

.tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--leaf-400);
    color: var(--forest-950);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.4;
}

/* ==========================================================================
   Header & menu
   ========================================================================== */
.site-header {
    position: fixed;
    inset: 14px 0 auto;
    z-index: 50;
    padding-inline: 14px;
    transition: inset .4s var(--ease);
}
.header-inner {
    position: relative;
    max-width: 1280px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 8px 8px 20px;
    border-radius: 999px;
    background: rgba(251, 249, 243, .9);
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 10px 34px -16px rgba(11, 31, 19, .45);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    transition: background-color .4s, box-shadow .4s;
}
.site-header.is-scrolled { inset-block-start: 10px; }
.site-header.is-scrolled .header-inner {
    background: rgba(251, 249, 243, .97);
    box-shadow: 0 14px 40px -18px rgba(11, 31, 19, .5);
}

.brand img { height: 52px; width: auto; transition: height .4s var(--ease); }
.site-header.is-scrolled .brand img { height: 46px; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .93rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color .25s, background-color .25s;
}
.nav-link:hover { color: var(--forest-900); background: var(--sand-100); }
.nav-link.is-active { color: var(--forest-900); font-weight: 600; }
.nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--leaf-500);
}
.nav-caret { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav-hotline { padding: .75em 1.3em; }

.sub-toggle { display: none; }
.sub-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 5;
    display: grid;
    gap: 2px;
    width: 330px;
    padding: 10px;
    border-radius: 22px;
    background: var(--sand-50);
    border: 1px solid var(--sand-200);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
}
.sub-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: background-color .2s, color .2s;
}
.sub-menu a:hover { background: var(--sand-100); color: var(--forest-900); }
.sub-menu .icon {
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 10px;
    background: var(--sand-100);
    color: var(--forest-700);
}

@media (min-width: 1081px) {
    .has-sub:hover .sub-menu,
    .has-sub:focus-within .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
        transition: opacity .25s var(--ease), transform .25s var(--ease);
    }
    .has-sub:hover .nav-caret,
    .has-sub:focus-within .nav-caret { transform: rotate(180deg); }
}

.nav-toggle {
    display: none;
    position: relative;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--forest-800);
    color: var(--white);
    align-items: center;
    justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1080px) {
    .nav-toggle { display: inline-flex; }
    .header-inner { padding-left: 16px; }
    .brand img { height: 46px; }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        max-height: calc(100vh - 110px - var(--mobile-bar-h));
        max-height: calc(100dvh - 110px - var(--mobile-bar-h));
        overflow-y: auto;
        padding: 14px;
        border-radius: 24px;
        background: var(--sand-50);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
    }
    .nav-open .site-nav {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity .3s var(--ease), transform .3s var(--ease);
    }
    .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-link { padding: 12px 16px; font-size: 1rem; border-radius: 14px; }
    .nav-link.is-active { background: var(--sand-100); }
    .nav-link.is-active::after { display: none; }
    .nav-caret { display: none; }

    .has-sub { display: grid; grid-template-columns: 1fr auto; align-items: center; }
    .sub-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 12px;
        background: var(--sand-100);
        color: var(--forest-800);
    }
    .sub-toggle .icon { transition: transform .3s var(--ease); }
    .has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
    .sub-menu {
        position: static;
        grid-column: 1 / -1;
        display: none;
        width: auto;
        margin: 4px 0 6px;
        padding: 6px;
        border-radius: 16px;
        box-shadow: none;
        background: var(--white);
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
    .sub-menu::before { display: none; }
    .has-sub.is-open .sub-menu { display: grid; }
    .nav-hotline { width: 100%; padding-block: 1em; }
}

/* ==========================================================================
   Hero trang chủ
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding-block: 140px clamp(72px, 11vh, 128px);
    color: var(--white);
    background: var(--forest-950);
    overflow: hidden;
    isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 31, 19, .72) 0%, rgba(11, 31, 19, .35) 45%, rgba(11, 31, 19, 0) 75%),
        linear-gradient(180deg, rgba(11, 31, 19, .35) 0%, rgba(11, 31, 19, 0) 30%, rgba(11, 31, 19, .15) 60%, rgba(11, 31, 19, .85) 100%);
}
.hero-content { position: relative; }
.hero-eyebrow { gap: 10px; }
.hero-eyebrow::before { display: none; }
.hero-eyebrow .icon { width: 18px; height: 18px; }

.hero-title {
    max-width: 14ch;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(2.6rem, 1.3rem + 5vw, 5.6rem);
    line-height: 1.12;
    letter-spacing: -.015em;
    text-wrap: balance;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.hero-title em { font-style: italic; color: var(--leaf-300); }
.hero-lead {
    max-width: 58ch;
    margin-top: 24px;
    font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
    font-weight: 300;
    color: rgba(255, 255, 255, .86);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    max-width: 640px;
    font-size: .92rem;
    color: rgba(255, 255, 255, .85);
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--leaf-400); }

.hero-video-toggle {
    position: absolute;
    left: var(--gutter);
    bottom: 22px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    background: rgba(11, 31, 19, .25);
    backdrop-filter: blur(6px);
    color: var(--white);
    transition: background-color .3s;
}
.hero-video-toggle:hover { background: rgba(255, 255, 255, .18); }
.hero-video-toggle .icon { width: 18px; height: 18px; }
.hero-video-toggle .icon-play { display: none; }
.hero-video-toggle.is-paused .icon-play { display: block; }
.hero-video-toggle.is-paused .icon-pause { display: none; }
.no-js .hero-video-toggle { display: none; }

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 1.5px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
}
.hero-scroll span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: var(--white);
    animation: scroll-hint 2s var(--ease) infinite;
}
@keyframes scroll-hint {
    0% { opacity: 0; transform: translateY(0); }
    30% { opacity: 1; }
    80%, 100% { opacity: 0; transform: translateY(14px); }
}

@media (max-width: 700px) {
    .hero { padding-bottom: 96px; }
    .hero-video-toggle { width: 40px; height: 40px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-points { gap: 8px 20px; }
}

/* ==========================================================================
   Banner trang con
   ========================================================================== */
.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(420px, 62vh, 600px);
    padding-block: 150px clamp(56px, 7vw, 88px);
    color: var(--white);
    background: var(--forest-900);
    overflow: hidden;
    isolation: isolate;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(11, 31, 19, .78) 0%, rgba(11, 31, 19, .35) 60%, rgba(11, 31, 19, .2) 100%),
        linear-gradient(180deg, rgba(11, 31, 19, .45) 0%, rgba(11, 31, 19, 0) 35%, rgba(11, 31, 19, .7) 100%);
}
.page-hero-img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: hero-zoom 14s var(--ease) both;
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.page-hero--plain {
    min-height: clamp(380px, 52vh, 520px);
    background:
        radial-gradient(circle at 85% 20%, rgba(140, 198, 63, .2), transparent 45%),
        radial-gradient(circle at 10% 110%, rgba(140, 198, 63, .14), transparent 40%),
        var(--leaf-pattern),
        var(--forest-900);
}
.page-hero--plain::after { display: none; }
.page-hero--tall { min-height: 86vh; min-height: 86svh; }

.page-hero-content { position: relative; }
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 22px;
    font-size: .88rem;
    color: rgba(255, 255, 255, .7);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--leaf-300); }

.page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--leaf-300);
}
.page-hero-eyebrow > .icon {
    width: 46px;
    height: 46px;
    padding: 11px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
}
.page-title {
    max-width: 20ch;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.4rem);
    line-height: 1.15;
    letter-spacing: -.01em;
    text-wrap: balance;
}
.page-title em { font-style: italic; color: var(--leaf-300); }
.page-subtitle {
    max-width: 60ch;
    margin-top: 18px;
    font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
    font-weight: 300;
    color: rgba(255, 255, 255, .84);
}
.page-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 22px;
    font-size: .92rem;
    color: rgba(255, 255, 255, .78);
}
.page-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero-meta .icon { width: 18px; height: 18px; color: var(--leaf-300); }

.error-code {
    font-family: var(--font-serif);
    font-size: clamp(5rem, 3rem + 10vw, 9rem);
    line-height: 1;
    font-style: italic;
    color: var(--leaf-400);
}

/* ==========================================================================
   Giới thiệu (trang chủ)
   ========================================================================== */
.about-grid { display: grid; gap: clamp(48px, 7vw, 96px); align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-media { position: relative; padding-bottom: 36px; }
.about-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 55% center; }
.about-media::before {
    content: "";
    position: absolute;
    top: -22px;
    left: -22px;
    width: 46%;
    height: 56%;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle, var(--sand-300) 1.4px, transparent 1.6px) 0 0 / 16px 16px;
    z-index: -1;
}
.about-badge {
    position: absolute;
    right: -12px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px 18px 18px;
    border-radius: var(--radius);
    background: var(--forest-800);
    color: var(--white);
    box-shadow: var(--shadow);
}
.about-badge-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--leaf-400);
    color: var(--forest-950);
}
.about-badge-icon .icon { width: 24px; height: 24px; }
.about-badge p { font-size: .9rem; color: rgba(255, 255, 255, .78); line-height: 1.5; }
.about-badge strong { display: block; font-family: var(--font-serif); font-size: 1.45rem; font-weight: 500; color: var(--white); }

.about-content .section-title,
.story-content .section-title { margin-bottom: 24px; }
.about-content > p + p,
.story-content > p + p { margin-top: 16px; color: var(--ink-soft); }

.check-list { display: grid; gap: 12px; margin: 28px 0 36px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list .icon,
.mini-checks .icon {
    width: 22px;
    height: 22px;
    padding: 4px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--leaf-400);
    color: var(--forest-950);
    stroke-width: 2.4;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: clamp(64px, 8vw, 104px);
    border-top: 1px solid var(--sand-200);
}
.stat { display: flex; flex-direction: column-reverse; gap: 4px; padding: 28px 8px 0; }
.stat dd {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem);
    line-height: 1.1;
    color: var(--forest-800);
}
.stat dd span { font-variant-numeric: tabular-nums; }
.stat dt { color: var(--muted); font-size: .95rem; }
@media (min-width: 800px) {
    .stats { grid-template-columns: repeat(4, 1fr); }
    .stat { padding: 32px 28px 0; border-left: 1px solid var(--sand-200); }
    .stat:first-child { border-left: 0; padding-left: 0; }
}

/* ==========================================================================
   Dịch vụ
   ========================================================================== */
.services { background: var(--sand-100); }
.service-grid { display: grid; gap: 20px; }
@media (min-width: 680px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.service-card,
.service-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 3vw, 40px);
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--sand-200);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
    overflow: hidden;
}
.service-card::before,
.service-item::before {
    content: "";
    position: absolute;
    inset: auto -30% -60% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 198, 63, .18), transparent 70%);
    opacity: 0;
    transition: opacity .45s;
    pointer-events: none;
}
.service-card:hover,
.service-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before,
.service-item:hover::before { opacity: 1; }

.service-num {
    position: absolute;
    top: 28px;
    right: 32px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--sand-300);
}
.service-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 20px;
    background: var(--sand-100);
    color: var(--forest-700);
    transition: background-color .45s, color .45s, transform .45s var(--ease);
}
.service-icon .icon { width: 30px; height: 30px; }
.service-card:hover .service-icon,
.service-item:hover .service-icon { background: var(--forest-800); color: var(--leaf-300); transform: rotate(-6deg); }

.service-card h3,
.service-item-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--forest-900);
    margin-bottom: 12px;
    text-wrap: balance;
}
.service-card p,
.service-item > p { color: var(--muted); flex: 1; }
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--forest-700);
    transition: gap .3s var(--ease);
}
.service-card .service-link::after,
.service-item-title a::after { content: ""; position: absolute; inset: 0; }
.service-card:hover .service-link,
.service-item:hover .service-link { gap: 12px; color: var(--forest-900); }
.service-link .icon { width: 18px; height: 18px; }

/* Trang danh sách dịch vụ */
.services-page { background: var(--sand-100); }
.service-list { display: grid; gap: 24px; }
@media (min-width: 820px) { .service-list { grid-template-columns: 1fr 1fr; } }
.service-item-head { display: flex; justify-content: space-between; align-items: flex-start; }
.service-item-head .service-num { position: static; font-size: 1.4rem; }
.service-item-title { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.85rem); }
.mini-checks {
    display: grid;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--sand-200);
    font-size: .94rem;
    font-weight: 500;
    color: var(--ink-soft);
}
.mini-checks li { display: flex; gap: 10px; align-items: flex-start; }
.mini-checks .icon { width: 20px; height: 20px; }

/* ==========================================================================
   Dự án (trang chủ – dạng bento)
   ========================================================================== */
.projects { background: var(--forest-900); color: var(--white); overflow: hidden; }
.projects::before {
    content: "";
    position: absolute;
    top: -260px;
    right: -200px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 198, 63, .12), transparent 65%);
    pointer-events: none;
}
.project-grid { display: grid; gap: 18px; }
.project-card {
    position: relative;
    display: block;
    min-height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--forest-800);
    isolation: isolate;
}
.project-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
    z-index: -2;
}
.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 31, 19, 0) 40%, rgba(11, 31, 19, .88) 100%);
    z-index: -1;
}
.project-card:hover img { transform: scale(1.06); }
.project-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: clamp(22px, 3vw, 34px);
}
.project-title {
    margin-top: 8px;
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 1.1rem + .8vw, 1.9rem);
    line-height: 1.25;
    font-weight: 500;
}
.project-style { font-size: .92rem; color: rgba(255, 255, 255, .72); }
.project-more {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .35);
    backdrop-filter: blur(8px);
    transform: rotate(-45deg);
    transition: transform .5s var(--ease), background-color .4s, color .4s;
}
.project-card:hover .project-more { transform: rotate(0); background: var(--leaf-400); color: var(--forest-950); border-color: var(--leaf-400); }

@media (min-width: 760px) {
    .project-grid {
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: clamp(230px, 24vw, 310px);
        gap: 22px;
    }
    .project-card { min-height: 0; }
    .project-card--1 { grid-column: span 7; grid-row: span 2; }
    .project-card--2,
    .project-card--3 { grid-column: span 5; }
    .project-card--4 { grid-column: span 12; }
    .project-card--4 img { object-position: center 62%; }
}

/* ==========================================================================
   Dự án (trang danh sách)
   ========================================================================== */
.works { background: var(--sand-50); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 5vw, 56px); }
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1.5px solid var(--sand-300);
    font-size: .93rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: background-color .25s, color .25s, border-color .25s;
}
.filter-btn:hover { border-color: var(--forest-700); color: var(--forest-900); }
.filter-btn.is-active { background: var(--forest-800); border-color: var(--forest-800); color: var(--white); }
.filter-count {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sand-200);
    color: var(--forest-900);
    font-size: .75rem;
}
.filter-btn.is-active .filter-count { background: var(--leaf-400); }

.work-grid { display: grid; gap: 44px 28px; }
@media (min-width: 760px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .work-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.work-card { position: relative; }
.work-card[hidden] { display: none; }
.work-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
    background: var(--sand-200);
}
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.05); }
.work-media .tag { position: absolute; top: 18px; left: 18px; }
.work-body { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 22px 4px 0; }
.work-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.35rem, 1.2rem + .5vw, 1.65rem); line-height: 1.25; color: var(--forest-900); }
.work-title a::after { content: ""; position: absolute; inset: 0; }
.work-style { margin-top: 4px; color: var(--muted); font-size: .95rem; }
.work-arrow {
    display: inline-flex;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--sand-300);
    color: var(--forest-800);
    transform: rotate(-45deg);
    transition: transform .4s var(--ease), background-color .4s, color .4s, border-color .4s;
}
.work-card:hover .work-arrow { transform: rotate(0); background: var(--forest-800); border-color: var(--forest-800); color: var(--white); }

/* ==========================================================================
   Quy trình
   ========================================================================== */
.process { background: var(--sand-50); }
.process-list { display: grid; gap: 40px 28px; position: relative; }
.process-step { position: relative; }
.process-icon {
    position: relative;
    display: inline-flex;
    width: 84px;
    height: 84px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--sand-200);
    color: var(--forest-700);
    box-shadow: var(--shadow-sm);
    transition: background-color .4s, color .4s, transform .4s var(--ease);
}
.process-icon .icon { width: 32px; height: 32px; }
.process-step:hover .process-icon { background: var(--forest-800); color: var(--leaf-300); transform: translateY(-4px); }
.process-num {
    position: absolute;
    top: -4px;
    right: -6px;
    display: inline-flex;
    min-width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--leaf-400);
    color: var(--forest-950);
    font-size: .78rem;
    font-weight: 700;
    border: 3px solid var(--sand-50);
}
.process-step h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; color: var(--forest-900); margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: .95rem; }

@media (max-width: 759px) {
    .process-list { padding-left: 4px; }
    .process-step { display: grid; grid-template-columns: 84px 1fr; gap: 0 20px; }
    .process-step .process-icon { grid-row: span 2; margin: 0; }
    .process-step:not(:last-child)::before {
        content: "";
        position: absolute;
        left: 42px;
        top: 92px;
        bottom: -36px;
        border-left: 1.5px dashed var(--sand-300);
    }
}
@media (min-width: 760px) { .process-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) {
    .process-list { grid-template-columns: repeat(5, 1fr); }
    .process-list::before {
        content: "";
        position: absolute;
        top: 42px;
        left: 84px;
        right: 10%;
        border-top: 1.5px dashed var(--sand-300);
    }
    .process-step { padding-right: 8px; }
}

/* ==========================================================================
   Vì sao chọn chúng tôi / Câu chuyện / Giá trị
   ========================================================================== */
.why { background: var(--sand-100); }
.why-grid,
.story-grid { display: grid; gap: clamp(48px, 6vw, 88px); align-items: center; }
@media (min-width: 980px) {
    .why-grid,
    .story-grid { grid-template-columns: .85fr 1.15fr; }
}

.why-media { position: relative; padding-bottom: 48px; }
.why-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.why-quote {
    position: absolute;
    left: clamp(16px, 4vw, 40px);
    right: clamp(-16px, -1vw, 0px);
    bottom: 0;
    padding: 26px 28px 26px 30px;
    border-radius: var(--radius);
    background: var(--forest-800);
    color: var(--white);
    box-shadow: var(--shadow);
}
.why-quote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--leaf-400);
}
.why-quote p { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; line-height: 1.55; }

.why-content .section-title { margin-bottom: 44px; max-width: 18ch; }
.story-content .btn { margin-top: 32px; }

.reason-grid,
.value-grid { display: grid; gap: 20px; }
@media (min-width: 620px) {
    .reason-grid,
    .value-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1040px) {
    .reason-grid--4,
    .value-grid { grid-template-columns: repeat(4, 1fr); }
}
.reason {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--sand-50);
    border: 1px solid var(--sand-200);
    transition: background-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.reason:hover { background: var(--white); box-shadow: var(--shadow); transform: translateY(-4px); }
.reason-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--forest-800);
    color: var(--leaf-300);
}
.reason-icon .icon { width: 24px; height: 24px; }
.reason h3 { font-size: 1.08rem; font-weight: 600; color: var(--forest-900); margin-bottom: 6px; }
.reason p { color: var(--muted); font-size: .95rem; }

.story { background: var(--sand-50); }
.mission { background: var(--sand-100); padding-block: clamp(64px, 7vw, 96px); }
.values { background: var(--sand-50); }
.values .reason { background: var(--white); }
.why-plain { background: var(--sand-100); }

.mv-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card { position: relative; padding: clamp(32px, 4vw, 52px); border-radius: var(--radius-lg); overflow: hidden; }
.mv-card--dark {
    background: radial-gradient(circle at 100% 0, rgba(140, 198, 63, .2), transparent 50%), var(--forest-800);
    color: var(--white);
}
.mv-card--light { background: var(--white); border: 1px solid var(--sand-200); }
.mv-icon {
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 16px;
    background: var(--leaf-400);
    color: var(--forest-950);
}
.mv-icon .icon { width: 26px; height: 26px; }
.mv-text { font-family: var(--font-serif); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); line-height: 1.45; }
.mv-card--light .mv-text { color: var(--forest-900); }

/* ==========================================================================
   Trang chi tiết (dịch vụ / dự án)
   ========================================================================== */
.detail { background: var(--sand-50); }
.detail-layout { display: grid; gap: 56px; align-items: start; }
@media (min-width: 1000px) {
    .detail-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; }
    .detail-aside { position: sticky; top: 112px; }
}
.detail-main > * + * { margin-top: 22px; }
.detail-main > p { color: var(--ink-soft); }
.detail-main > .lead { font-size: 1.2rem; color: var(--ink); }
.detail-h2 {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(1.6rem, 1.35rem + .9vw, 2.15rem);
    line-height: 1.25;
    color: var(--forest-900);
}
.detail-main > .detail-h2 { margin-top: 56px; }
.detail-main > .detail-h2--first { margin-top: 0; }

.detail-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.detail-figure figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.detail-figure figcaption a { font-weight: 600; color: var(--forest-700); border-bottom: 1px solid var(--leaf-400); }

.scope-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .scope-list { grid-template-columns: 1fr 1fr; } }
.scope-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--sand-200);
    font-weight: 500;
    line-height: 1.5;
}
.scope-list .icon {
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: var(--leaf-400);
    color: var(--forest-950);
    stroke-width: 2.4;
}

.benefit-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit { padding: 26px 24px; border-radius: var(--radius); background: var(--sand-100); }
.benefit-num { display: block; margin-bottom: 14px; font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; color: var(--leaf-500); line-height: 1; }
.benefit h3 { font-size: 1.05rem; font-weight: 600; color: var(--forest-900); margin-bottom: 6px; }
.benefit p { font-size: .94rem; color: var(--muted); }

.step-list { display: grid; }
.step-list li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 26px; }
.step-list li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 50px;
    bottom: 4px;
    border-left: 1.5px dashed var(--sand-300);
}
.step-num {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--forest-800);
    color: var(--leaf-300);
    font-weight: 700;
}
.step-list h3 { font-size: 1.05rem; font-weight: 600; color: var(--forest-900); padding-top: 9px; }
.step-list p { color: var(--muted); font-size: .95rem; }

.aside-card { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--sand-200); }
.aside-title { margin-bottom: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--forest-900); }
.aside-nav { display: grid; gap: 2px; }
.aside-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: .94rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: background-color .2s, color .2s;
}
.aside-nav .icon { width: 20px; height: 20px; color: var(--forest-600); }
.aside-nav a:hover,
.aside-nav a[aria-current] { background: var(--sand-100); color: var(--forest-900); }
.aside-nav a[aria-current] { font-weight: 600; box-shadow: inset 3px 0 0 var(--leaf-500); }

.info-list > div { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--sand-200); }
.info-list > div:first-child { padding-top: 0; }
.info-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list dt { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info-list dd { font-weight: 600; color: var(--forest-900); }
.info-list a { border-bottom: 1px solid var(--leaf-400); }

.aside-cta {
    margin-top: 20px;
    padding: 30px 28px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 100% 0, rgba(140, 198, 63, .22), transparent 55%), var(--forest-800);
    color: var(--white);
}
.aside-cta-kicker { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--leaf-300); }
.aside-cta h3 { margin: 8px 0 16px; font-family: var(--font-serif); font-weight: 500; font-size: 1.45rem; line-height: 1.3; }
.aside-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 700; color: var(--leaf-300); }
.aside-phone .icon { width: 24px; height: 24px; }
.aside-cta-actions { display: grid; gap: 10px; margin-top: 22px; }

.pager { display: grid; gap: 14px; padding-top: 32px; border-top: 1px solid var(--sand-200); }
.detail-main > .pager { margin-top: 56px; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--sand-200);
    transition: background-color .3s, box-shadow .3s;
}
.pager a:hover { background: var(--white); box-shadow: var(--shadow); }
.pager small { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pager strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.2rem; color: var(--forest-900); }
.pager-next { text-align: right; align-items: flex-end; }

.related { background: var(--sand-100); }

/* ==========================================================================
   Cẩm nang
   ========================================================================== */
.blog-home,
.blog { background: var(--sand-50); }
.post-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--sand-200);
    overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-200); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 26px 28px 30px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .82rem; color: var(--muted); }
.post-cat { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--forest-600); }
.post-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.35rem; line-height: 1.35; color: var(--forest-900); text-wrap: balance; }
.post-title a::after { content: ""; position: absolute; inset: 0; }
.post-excerpt { flex: 1; color: var(--muted); font-size: .95rem; }
.post-more { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--forest-700); transition: gap .3s var(--ease); }
.post-more .icon { width: 18px; height: 18px; }
.post-card:hover .post-more { gap: 12px; }

.post-card--text { background: var(--sand-100); border-color: transparent; }
.post-card--text .post-body { padding: 34px 32px 32px; }
.post-card--text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 32px;
    width: 40px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: var(--leaf-400);
}

.post-card--featured { margin-bottom: 28px; }
@media (min-width: 900px) {
    .post-card--featured { display: grid; grid-template-columns: 1.15fr 1fr; }
    .post-card--featured .post-media { aspect-ratio: auto; min-height: 420px; }
    .post-card--featured .post-body { justify-content: center; padding: clamp(32px, 4vw, 56px); }
    .post-card--featured .post-title { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); }
    .post-card--featured .post-excerpt { flex: 0; font-size: 1.05rem; }
}

/* Bài viết */
.article { background: var(--sand-50); padding-top: clamp(48px, 6vw, 72px); }
.article-wrap { max-width: calc(800px + var(--gutter) * 2); }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.prose { margin-top: clamp(36px, 5vw, 56px); font-size: 1.08rem; line-height: 1.85; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.1em; }
.prose > p:first-child { font-size: 1.2rem; color: var(--ink); }
.prose h2 {
    margin-top: 1.9em;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(1.45rem, 1.25rem + .7vw, 1.85rem);
    line-height: 1.3;
    color: var(--forest-900);
}
.prose strong { color: var(--forest-900); font-weight: 600; }
.prose ul { display: grid; gap: .55em; }
.prose li { position: relative; padding-left: 28px; }
.prose li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: .72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--leaf-500);
}
.prose blockquote {
    margin-block: 1.8em;
    padding: 6px 0 6px 24px;
    border-left: 3px solid var(--leaf-400);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.55;
    color: var(--forest-800);
}

.article-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    margin-top: 56px;
    padding: 30px 32px;
    border-radius: var(--radius-lg);
    background: var(--sand-100);
    border: 1px solid var(--sand-200);
}
.article-cta h2 { font-family: var(--font-serif); font-weight: 500; font-size: 1.45rem; color: var(--forest-900); }
.article-cta p { color: var(--muted); }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Khối kêu gọi hành động
   ========================================================================== */
.cta-band { padding-block: var(--section-y); background: var(--sand-50); }
.blog-home + .cta-band { padding-top: 0; }
.cta-inner {
    position: relative;
    display: grid;
    gap: 32px;
    align-items: center;
    padding: clamp(36px, 5vw, 72px);
    border-radius: 36px;
    background:
        radial-gradient(circle at 90% 10%, rgba(140, 198, 63, .25), transparent 45%),
        var(--leaf-pattern),
        var(--forest-800);
    color: var(--white);
    overflow: hidden;
}
@media (min-width: 960px) { .cta-inner { grid-template-columns: 1.4fr auto; gap: 56px; } }
.cta-title {
    max-width: 20ch;
    margin-bottom: 16px;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem);
    line-height: 1.2;
    text-wrap: balance;
}
.cta-title em { font-style: italic; color: var(--leaf-300); }
.cta-text > p:last-child { max-width: 56ch; color: rgba(255, 255, 255, .78); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 959px) { .cta-actions { flex-direction: row; flex-wrap: wrap; } }

/* ==========================================================================
   Hỏi đáp
   ========================================================================== */
.faq { background: var(--sand-50); }
.faq-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) {
    .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 96px; }
    .faq-head { position: sticky; top: 120px; }
}
.faq-head .section-title { margin-bottom: 20px; }
.faq-head p { color: var(--muted); margin-bottom: 28px; max-width: 40ch; }

.faq-list { border-top: 1px solid var(--sand-200); }
.faq-item { border-bottom: 1px solid var(--sand-200); }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 0;
    cursor: pointer;
    list-style: none;
    font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem);
    font-weight: 600;
    color: var(--forest-900);
    transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--forest-600); }
.faq-icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--sand-300);
    color: var(--forest-700);
    transition: transform .4s var(--ease), background-color .4s, border-color .4s;
}
.faq-icon .icon { width: 18px; height: 18px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--leaf-400); border-color: var(--leaf-400); color: var(--forest-950); }
.faq-answer { padding: 0 64px 26px 0; color: var(--ink-soft); }
.faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size .4s var(--ease), content-visibility .4s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }

/* ==========================================================================
   Liên hệ
   ========================================================================== */
.contact { background: var(--forest-900); color: var(--white); overflow: hidden; }
.contact::before {
    content: "";
    position: absolute;
    left: -240px;
    bottom: -280px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 198, 63, .14), transparent 65%);
    pointer-events: none;
}
.contact-grid { position: relative; display: grid; gap: 56px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; } }

.contact-info .section-title { color: var(--white); margin-bottom: 20px; }
.contact-info .section-title em { color: var(--leaf-300); }
.contact-info > p { color: rgba(255, 255, 255, .75); max-width: 46ch; }

.contact-list { display: grid; gap: 4px; margin-top: 40px; }
.contact-list li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    line-height: 1.5;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list small {
    display: block;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}
.contact-list a { font-weight: 500; transition: color .3s; }
.contact-list a:hover { color: var(--leaf-300); }
.contact-icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    color: var(--leaf-300);
}
.contact-icon .icon { width: 20px; height: 20px; }

.contact-card {
    scroll-margin-top: 110px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--radius-lg);
    background: var(--sand-50);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
}
.form-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); color: var(--forest-900); line-height: 1.25; }
.form-sub { margin: 6px 0 24px; color: var(--muted); font-size: .9rem; }
.req { color: var(--danger); }

.form-row { display: grid; gap: 0 18px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; margin-bottom: 14px; }
.field label { margin-bottom: 7px; font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--sand-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color .25s, box-shadow .25s;
    appearance: none;
    -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa49d; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--sand-300); }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--leaf-500);
    box-shadow: 0 0 0 4px rgba(140, 198, 63, .22);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .14); }
.field-error { margin-top: 5px; font-size: .82rem; color: var(--danger); }
.field-error:empty { display: none; }

.select-wrap { position: relative; }
.select-wrap::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 1.8px solid var(--forest-700);
    border-bottom: 1.8px solid var(--forest-700);
    transform: rotate(45deg);
    pointer-events: none;
}
.select-wrap select { padding-right: 44px; cursor: pointer; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form .btn-block { margin-top: 8px; }
.contact-form .btn[disabled] { opacity: .7; cursor: progress; }
.btn.is-loading .icon { animation: nudge 1s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.form-note { margin-top: 14px; font-size: .82rem; color: var(--muted); text-align: center; }

.form-alert { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .94rem; font-weight: 500; line-height: 1.5; }
.form-alert[hidden] { display: none; }
.form-alert--success { background: #e8f5d9; color: #1f4d17; border: 1px solid #b9de8f; }
.form-alert--error { background: #fdecea; color: #8a1c13; border: 1px solid #f5c2bd; }

.map-section { background: var(--sand-100); }
.map-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 7;
    background: var(--sand-200);
    box-shadow: var(--shadow);
}
.map-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .map-wrap { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--sand-100); color: var(--ink-soft); padding-top: clamp(64px, 8vw, 96px); font-size: .95rem; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr .9fr .7fr 1.1fr; gap: 56px; } }

.footer-logo img { width: 210px; height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 38ch; color: var(--muted); }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--sand-300);
    color: var(--forest-800);
    font-size: .68rem;
    font-weight: 700;
    transition: background-color .3s, color .3s, border-color .3s;
}
.social a:hover { background: var(--forest-800); color: var(--white); border-color: var(--forest-800); }
.social .icon { width: 18px; height: 18px; }

.footer-title { margin-bottom: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--forest-900); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { transition: color .25s; }
.footer-col a:hover { color: var(--forest-600); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--forest-600); }

.footer-bottom {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 24px;
    font-size: .85rem;
    color: var(--muted);
}
.footer-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--gutter);
    right: var(--gutter);
    border-top: 1px solid var(--sand-200);
}

/* ==========================================================================
   Nút nổi (máy tính) & thanh liên hệ cố định (điện thoại)
   ========================================================================== */
.float-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.float-btn {
    position: relative;
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 12px 28px -10px rgba(11, 31, 19, .5);
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
}
.float-btn:hover { transform: translateY(-3px); }
.float-btn .icon { width: 22px; height: 22px; }
.float-zalo { background: var(--zalo); color: var(--white); font-size: .8rem; font-weight: 700; }
.float-phone { background: var(--leaf-400); color: var(--forest-950); }
.float-phone::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--leaf-400);
    animation: ring 2.2s var(--ease) infinite;
}
@keyframes ring {
    0% { transform: scale(1); opacity: .8; }
    100% { transform: scale(1.6); opacity: 0; }
}
.float-top { width: 44px; height: 44px; background: var(--white); color: var(--forest-800); }
.js .float-top { opacity: 0; visibility: hidden; transform: translateY(10px); }
.js .float-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.mobile-bar { display: none; }

@media (max-width: 767px) {
    :root { --mobile-bar-h: calc(72px + env(safe-area-inset-bottom, 0px)); }
    body { padding-bottom: var(--mobile-bar-h); }
    .hero { min-height: calc(100svh - var(--mobile-bar-h)); }
    .page-hero--tall { min-height: calc(86svh - var(--mobile-bar-h)); }

    /* Trên điện thoại, nút Gọi & Zalo chuyển xuống thanh cố định phía dưới */
    .float-zalo,
    .float-phone { display: none; }
    .float-actions { right: 14px; bottom: calc(14px + var(--mobile-bar-h)); }

    .mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 45;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        height: var(--mobile-bar-h);
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        background: rgba(251, 249, 243, .97);
        border-top: 1px solid var(--sand-200);
        box-shadow: 0 -10px 30px -12px rgba(11, 31, 19, .25);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .mobile-bar-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border-radius: 16px;
        line-height: 1.15;
        transition: transform .2s var(--ease), filter .2s;
    }
    .mobile-bar-btn:active { transform: scale(.97); filter: brightness(.95); }
    .mobile-bar-call { background: var(--leaf-400); color: var(--forest-950); }
    .mobile-bar-zalo { background: var(--zalo); color: var(--white); }
    .mobile-bar-icon {
        position: relative;
        display: inline-flex;
        flex-shrink: 0;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, .22);
    }
    .mobile-bar-call .mobile-bar-icon { background: var(--forest-900); color: var(--leaf-300); }
    .mobile-bar-call .mobile-bar-icon::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 2px solid var(--forest-900);
        animation: ring 2.2s var(--ease) infinite;
    }
    .mobile-bar-icon .icon { width: 18px; height: 18px; }
    .mobile-bar-text { display: flex; flex-direction: column; }
    .mobile-bar-text strong { font-size: .95rem; font-weight: 700; }
    .mobile-bar-text small { font-size: .74rem; font-weight: 500; opacity: .85; }
}

/* ==========================================================================
   Hiệu ứng xuất hiện khi cuộn
   ========================================================================== */
.js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Tinh chỉnh màn hình nhỏ ---------- */
@media (max-width: 520px) {
    .eyebrow { letter-spacing: .12em; font-size: .72rem; }
    .float-top { width: 40px; height: 40px; }
    .about-badge { right: 12px; padding: 14px 18px 14px 14px; }
    .why-quote p { font-size: 1.02rem; }
    .cta-inner { border-radius: var(--radius-lg); }
    .cta-actions .btn { flex: 1 1 100%; }
    .article-cta { padding: 26px 22px; }
    .article-cta-actions .btn { flex: 1 1 100%; }
    .faq-answer { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .js .reveal { opacity: 1; transform: none; }
}
