:root {
  --green: #0b4a2e;
  --green-2: #14633e;
  --copper: #b0693a;
  --copper-dark: #8f5229;
  --cream: #faf6ef;
  --sand: #f1e9db;
  --ink: #1e2a24;
  --muted: #5c6b63;
  --line: #e5ddcf;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(11, 74, 46, 0.10);
  --maxw: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--copper-dark); }
h1, h2, h3 { line-height: 1.22; color: var(--green); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section.alt { background: var(--sand); }
.section.dark { background: var(--green); color: #eaf3ee; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--copper); margin-bottom: .6em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.dark .lead { color: #cfe3d8; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 239, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); font-weight: 700; }
.brand img { width: 46px; height: 46px; }
.brand small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.brand span { line-height: 1.15; font-size: 1.15rem; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sand); color: var(--green); }
.nav .btn-call { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; color: var(--green); cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 1rem; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); color: #fff; }
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-line { border-color: var(--green); color: var(--green); }
.btn-line:hover { background: var(--green); color: #fff; }
.btn-call { background: var(--copper); color: #fff; padding: 9px 18px; font-size: .95rem; }
.btn-call:hover { background: var(--copper-dark); color: #fff; }

/* hero */
.hero { position: relative; color: #fff; background: #0b2a1b; isolation: isolate; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 38, 24, .86) 0%, rgba(8, 38, 24, .62) 48%, rgba(8, 38, 24, .15) 100%); z-index: -1; }
.hero .wrap { padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 10vw, 130px); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero p { font-size: 1.18rem; max-width: 52ch; color: #e9f2ec; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.page-hero { background: var(--green); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 22ch; }
.page-hero p { color: #d3e6dc; max-width: 60ch; font-size: 1.1rem; margin: 0; }

/* grids and cards */
.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin-bottom: .2em; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.card a.more { margin-top: auto; padding-top: 10px; font-weight: 600; text-decoration: none; color: var(--copper-dark); }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step .n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
.dark .step { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.dark .step p { color: #cfe3d8; }
.dark .step .n { background: var(--copper); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px; border-left: 3px solid var(--copper); border-bottom: 3px solid var(--copper); transform: rotate(-45deg); }
.cta-band { background: var(--copper); color: #fff; text-align: center; padding: clamp(40px, 6vw, 68px) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 56ch; margin-inline: auto; }
.cta-band .btn-primary { background: var(--green); }
.note { background: #fff7e8; border: 1px solid #f0dcb3; border-radius: var(--radius); padding: 14px 18px; font-size: .95rem; color: #6c5320; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: #ddd; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.tag-ai { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; padding: 3px 9px; border-radius: 999px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 12px 0; color: var(--green); }
details p { color: var(--muted); }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--copper); margin-top: 14px; }
.contact-card dd { margin: 2px 0 0; font-size: 1.1rem; font-weight: 500; }
.map { border: 0; width: 100%; height: 360px; border-radius: var(--radius); }
.breadcrumb { font-size: .85rem; color: #bcd7c9; margin-bottom: 10px; }
.breadcrumb a { color: #e3f0e8; }

/* trust bar, journey, quiz, materials (bố cục học theo Magnet) */
.trust { background: var(--sand); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 14px 0; }
.trust-grid div { font-size: .9rem; line-height: 1.35; }
.trust-grid strong { display: block; color: var(--green); }
.trust-grid span { color: var(--muted); font-size: .84rem; }
.journey { display: flex; flex-direction: column; gap: 6px; background: var(--green); color: #fff; text-decoration: none; border-radius: var(--radius); padding: 22px; transition: transform .15s ease, background .15s ease; }
.journey:hover { background: var(--green-2); color: #fff; transform: translateY(-2px); }
.journey h3 { color: #fff; margin: 0; }
.journey p { margin: 0; color: #cfe3d8; font-size: .95rem; }
.journey span { margin-top: auto; padding-top: 10px; font-weight: 600; color: #f0c9a6; }
.quiz { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 24px; box-shadow: var(--shadow); max-width: 760px; }
.quiz fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.quiz legend { font-weight: 600; color: var(--green); margin-bottom: 8px; }
.quiz label { display: block; padding: 8px 0; cursor: pointer; }
.quiz input { margin-right: 8px; accent-color: var(--copper); }
.quiz-out { margin-top: 18px; }
.quiz-out .res { background: #fff7e8; border: 1px solid #f0dcb3; border-radius: var(--radius); padding: 18px 20px; }
.quiz-out .res h3 { margin-bottom: .3em; }
.mat { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mat img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mat figcaption { padding: 12px 16px 16px; font-size: .92rem; color: var(--muted); }
.mat strong { display: block; color: var(--green); }

.fields { display: grid; gap: 14px; margin-bottom: 18px; }
.fields label { display: block; padding: 0; font-weight: 500; font-size: .95rem; }
.fields input, .fields select, .fields textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; font: inherit; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 10px; }
.fields input:focus, .fields select:focus, .fields textarea:focus { outline: 2px solid var(--copper); outline-offset: 1px; }
.small { font-size: .88rem; color: var(--muted); }
.msg { white-space: pre-wrap; background: var(--white); border: 1px dashed var(--line); border-radius: 10px; padding: 12px; font: inherit; font-size: .92rem; }

/* footer */
.site-footer { background: #0a2f1f; color: #cfe3d8; padding: 48px 0 28px; font-size: .95rem; }
.site-footer a { color: #e7f2ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h4 { color: #fff; margin: 0 0 .7em; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45em; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 32px; padding-top: 18px; font-size: .85rem; color: #9fbdad; }

/* floating contact */
.float { position: fixed; right: 14px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.float a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; text-decoration: none; font-weight: 700; font-size: .78rem; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.float .f-call { background: var(--copper); }
.float .f-zalo { background: #0068ff; }

@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-btn { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: var(--cream); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn-call { margin: 8px 0 0; text-align: center; }
  .g2, .g3, .g4, .gallery { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(8,38,24,.82), rgba(8,38,24,.7)); }
  .map { height: 280px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
