:root {
  --brown: #7a4e2d; --brown-d: #5b3820; --brown-dd: #3b2418; --gold: #c9a45c; --gold-l: #ead7ae;
  --cream: #faf6ef; --cream-2: #f3ebdd; --ink: #2b1d16; --muted: #6f6257; --line: #e6dccb; --white: #fff;
  --shadow: 0 24px 60px rgba(59, 36, 24, .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 400 16px/1.65 "Be Vietnam Pro", system-ui, sans-serif; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--brown); }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; color: var(--brown-dd); line-height: 1.2; margin: 0 0 14px; }
h1 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.01em; }
h1 em { font-style: normal; color: var(--brown); }
h2 { font-size: clamp(27px, 3.4vw, 40px); }
h3 { font-size: 20px; }
.c { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 16.5px; font-weight: 700; color: #a8803c; margin: 0 0 12px; }
@media (max-width: 760px) { .eyebrow { font-size: 14.5px; } }
.sub { color: var(--muted); font-size: 17px; max-width: 700px; margin: 0 auto 34px; }
.two .sub, .contact .sub { margin-left: 0; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 26px; max-width: 560px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600;
  background: linear-gradient(180deg, #8d5c37, var(--brown)); color: #fff; text-decoration: none; border: 1px solid var(--brown);
  box-shadow: 0 10px 24px rgba(122, 78, 45, .25); transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(122, 78, 45, .32); }
.btn.ghost { background: transparent; color: var(--brown); box-shadow: none; }
.btn.ghost:hover { background: rgba(122, 78, 45, .06); }
.btn.sm { padding: 9px 18px; font-size: 14.5px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Đầu trang */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 239, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: box-shadow .2s; }
.hd.scrolled { box-shadow: 0 6px 24px rgba(59, 36, 24, .08); }
.hd-in { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown-dd); }
.brand img { border-radius: 9px; }
.brand span { font: 700 21px/1 "Playfair Display", serif; display: flex; flex-direction: column; }
.brand small { font: 600 10.5px/1.6 "Be Vietnam Pro", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.menu a:hover { background: var(--cream-2); }
.burger { display: none; background: none; border: 0; font-size: 24px; color: var(--brown-dd); cursor: pointer; }

/* Phần đầu */
.hero { padding: 56px 0 70px; background: radial-gradient(1200px 500px at 85% 10%, #f1e3c8 0%, transparent 60%), var(--cream); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14.5px; }
.ticks li::before { content: "✓"; color: var(--brown); font-weight: 700; margin-right: 6px; }
.hero-shot { position: relative; padding-bottom: 30px; }
.laptop { margin: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.laptop .bar { height: 30px; background: #f4efe7; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.laptop .bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3d6c2; }
.laptop .bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: #fff; padding: 1px 14px; border-radius: 6px; border: 1px solid var(--line); }
.phone { margin: 0; width: 34%; max-width: 230px; border-radius: 30px; padding: 8px; background: var(--brown-dd); box-shadow: var(--shadow); }
.phone img { border-radius: 23px; }
.hero-shot .phone { position: absolute; right: -14px; bottom: -8px; width: 30%; }

/* Dải số */
.strip { background: var(--brown-dd); color: var(--gold-l); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 26px 0; }
.strip-in div { display: flex; flex-direction: column; text-align: center; }
.strip-in b { font: 700 24px/1.3 "Playfair Display", serif; color: #fff; }
.strip-in span { font-size: 14px; opacity: .85; }

/* Các phần */
.sec { padding: 88px 0; }
.sec.alt { background: var(--cream-2); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(59, 36, 24, .1); }
.card .ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--cream-2); color: var(--brown); font-size: 20px; margin-bottom: 14px; }
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 26px; max-width: 980px; }
.tabs button { font: 600 14.5px "Be Vietnam Pro", sans-serif; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.tabs button:hover { border-color: var(--gold); }
.tabs button.on { background: var(--brown); color: #fff; border-color: var(--brown); }
.laptop.big { max-width: 1040px; margin: 0 auto; }
.cap { color: var(--muted); margin: 18px auto 0; max-width: 760px; }

.two { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.list { padding: 0; list-style: none; margin: 0; }
.list li { padding: 10px 0 10px 32px; border-bottom: 1px dashed var(--line); position: relative; }
.list li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #f3e7cd; }
.phones { display: flex; justify-content: center; gap: 18px; align-items: flex-start; }
.phones .phone { width: 31%; }
.phones .phone.up { transform: translateY(-26px); }

.steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border-radius: 16px; padding: 26px 22px; border: 1px solid var(--line); counter-increment: s; position: relative; }
.steps li::before { content: "0" counter(s); font: 700 34px/1 "Playfair Display", serif; color: var(--gold-l); display: block; margin-bottom: 10px; }
.steps b { display: block; font-size: 17.5px; color: var(--brown-dd); margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 15px; }

.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, #fff, #fbf3e4); border: 1px solid var(--line);
  border-radius: 24px; padding: 48px; box-shadow: 0 20px 50px rgba(59, 36, 24, .08); }
.ways { list-style: none; margin: 0; padding: 0; }
.ways li { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ways li:last-child { border-bottom: 0; }
.ways span { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ways a { font-size: 20px; font-weight: 700; text-decoration: none; }

.ft { background: var(--brown-dd); color: #d9c7a8; font-size: 14px; }
.ft-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 0; }

@media (max-width: 1000px) {
  .hero-in, .two, .contact { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strip-in { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .hero-shot .phone { right: 0; }
}
@media (max-width: 760px) {
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(59, 36, 24, .1); }
  .menu.open { display: flex; }
  .burger { display: block; }
  .brand small { display: none; }
  .hd .btn.sm { margin-left: auto; padding: 8px 14px; font-size: 13.5px; }
  .hero { padding-top: 32px; }
  .sec { padding: 60px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .contact { padding: 28px 20px; }
  .phones { gap: 10px; }
  .phones .phone { padding: 5px; border-radius: 20px; } .phones .phone img { border-radius: 15px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .tabs button { flex: none; }
}
.sub.last { margin-bottom: 0; }

/* Hình minh họa trừu tượng ở phần đầu (không dùng hình giao diện thật) */
.hero-art { position: relative; height: 440px; }
.hero-art .orb { position: absolute; inset: 30px 10px 40px 40px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6e7c9, #e7cfa2 55%, transparent 72%); filter: blur(2px); }
.hero-art .panel { position: absolute; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.hero-art .p1 { left: 4%; top: 20px; width: 58%; height: 230px; }
.hero-art .p2 { right: 2%; top: 120px; width: 40%; height: 190px; align-items: flex-start; }
.hero-art .p3 { left: 22%; bottom: 30px; width: 52%; display: grid; grid-template-columns: 14px 1fr; align-items: center; gap: 12px 12px; }
.hero-art .ln { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #ead9bd, #f4ead8); }
.hero-art .w40 { width: 40%; } .hero-art .w50 { width: 50%; } .hero-art .w60 { width: 60%; } .hero-art .w70 { width: 70%; } .hero-art .w80 { width: 80%; }
.hero-art .bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; padding-top: 6px; }
.hero-art .bars b { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #a87447, var(--brown)); }
.hero-art .bars b:nth-child(odd) { background: linear-gradient(180deg, #e2c58f, var(--gold)); }
.hero-art .mono { width: 52px; height: 52px; border-radius: 14px; background: var(--brown); color: #faf0de; display: grid; place-items: center; font: 700 30px "Playfair Display", serif; }
.hero-art .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #f3e7cd; }
.hero-art .art-cap { position: absolute; right: 4%; bottom: -6px; margin: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1000px) { .hero-art { height: 380px; } }
@media (max-width: 760px) { .hero-art { height: 320px; } .hero-art .p1 { width: 70%; height: 180px; } .hero-art .p2 { width: 50%; height: 150px; top: 100px; } .hero-art .p3 { width: 70%; left: 10%; } }

/* Mẫu website */
.mau-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mau { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.mau:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(59, 36, 24, .13); }
.mau .thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); border-bottom: 1px solid var(--line); }
.mau .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.mau:hover .thumb img { transform: scale(1.03); }
.mau-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.mau-body h3 { font-size: 19px; margin: 0 0 2px; }
.mau-body p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.mau-btns { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.mau-btns .btn { flex: 1; }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
.dlg { border: 0; padding: 0; border-radius: 20px; width: min(440px, calc(100% - 32px)); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); background: #fff; }
.dlg::backdrop { background: rgba(43, 29, 22, .45); }
.dlg-in { padding: 28px 26px 22px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.dlg-in h3 { margin: 0; font-size: 22px; } .dlg-in .muted { margin: 0; color: var(--muted); font-size: 14.5px; }
.dlg-in label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 600; color: var(--ink); }
.dlg-in input, .dlg-in textarea { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); }
.dlg-in input:focus, .dlg-in textarea:focus { outline: 2px solid var(--gold-l); border-color: var(--gold); }
.dlg-in .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dlg-in .x { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); }
.dlg-in .msg { margin: 0; min-height: 1.2em; font-size: 14.5px; color: var(--brown); font-weight: 600; }
@media (max-width: 1000px) { .mau-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mau-grid { grid-template-columns: 1fr; } }

/* Trang chủ gọn */
.login-link { margin-left: 18px; font: 600 14.5px "Be Vietnam Pro", sans-serif; color: var(--muted); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 8px 4px; }
.login-link:hover { color: var(--brown); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars article { padding: 36px 30px; }
.pillars article + article { border-left: 1px solid var(--line); }
.pillars .num { font: 700 15px "Playfair Display", serif; color: var(--gold); letter-spacing: .1em; }
.pillars h3 { font-size: 24px; margin: 10px 0 10px; }
.pillars p { margin: 0; color: var(--muted); }
.band { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; background: var(--brown-dd); color: #e9dcc6; border-radius: 24px; padding: 44px 48px; }
.band h2 { color: #fff; margin-bottom: 6px; } .band p { margin: 0; max-width: 560px; }
.band .btn { background: linear-gradient(180deg, #e2c58f, var(--gold)); color: var(--brown-dd); border-color: var(--gold); }

/* Đăng nhập */
.dn-body { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(900px 500px at 70% 0%, #f1e3c8, transparent 60%), var(--cream); }
.dn { width: 100%; padding: 24px 16px; }
.dn-card { width: min(400px, 100%); margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.dn-card .brand { margin-bottom: 8px; }
.dn-card h1 { font-size: 30px; margin: 0; } .dn-card .muted { margin: 0; color: var(--muted); font-size: 14.5px; }
.dn-card label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.dn-card input { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); }
.dn-card input:focus { outline: 2px solid var(--gold-l); border-color: var(--gold); }
.dn-card .msg { margin: 0; min-height: 1.2em; color: #a3402b; font-weight: 600; font-size: 14px; }
.dn-card .back { font-size: 14px; color: var(--muted); text-decoration: none; text-align: center; }

/* Khu giới thiệu sản phẩm */
.gt-head { padding: 64px 0 40px; }
.gt-tabs { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.demo { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; }
.demo-acc, .demo-tour { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; }
.demo-acc dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 6px 0 22px; }
.demo-acc dt { color: var(--muted); font-size: 14px; } .demo-acc dd { margin: 0; font-weight: 600; }
.demo-acc code { background: var(--cream-2); padding: 2px 8px; border-radius: 6px; font-size: 15px; }
.demo-tour ol { margin: 6px 0 0; padding-left: 20px; } .demo-tour li { padding: 6px 0; color: var(--muted); } .demo-tour li b { color: var(--ink); }

@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr; } .pillars article + article { border-left: 0; border-top: 1px solid var(--line); } .demo { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .band { padding: 30px 22px; } .hd .menu { display: none; } .login-link { margin-left: auto; } }
