/* SUFRUIT — kiểu "tem thùng hàng đông lạnh": nền sương lạnh, mực xanh than, vàng + lá theo logo */
:root {
  --bang: #f1f6f4;
  --bang-2: #e4eeeb;
  --giay: #ffffff;
  --muc: #0d2b30;
  --muc-2: #3c575b;
  --muc-3: #6b8588;
  --vien: rgba(13, 43, 48, 0.12);
  --vien-dam: rgba(13, 43, 48, 0.28);
  --vang: #ffd21f;
  --vang-dam: #f2b705;
  --la: #7dbe2e;
  --la-dam: #3f7a0e;
  --lanh: #2a7d93;
  --lanh-nhat: #cfe8ee;
  --f-tieu-de: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, sans-serif;
  --f-than: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-ma: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --bo: 18px;
  --bo-nho: 10px;
  --rong: 1240px;
  --le: clamp(16px, 4vw, 40px);
  --bong: 0 1px 0 rgba(13, 43, 48, 0.04), 0 18px 40px -22px rgba(13, 43, 48, 0.35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bang);
  color: var(--muc);
  font: 400 16.5px/1.65 var(--f-than);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lanh); outline-offset: 3px; border-radius: 6px; }
.an { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* lớp hạt + lưới mờ như giấy quy cách */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(207, 232, 238, 0.9), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(255, 210, 31, 0.10), transparent 60%),
    repeating-linear-gradient(0deg, rgba(13, 43, 48, 0.035) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(13, 43, 48, 0.035) 0 1px, transparent 1px 48px);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.khung { width: min(100% - 2 * var(--le), var(--rong)); margin-inline: auto; }

/* ---------- chữ dùng chung ---------- */
.ma { font-family: var(--f-ma); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.nhan {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-ma); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muc-2);
}
.nhan::before { content: ""; width: 22px; height: 2px; background: var(--la); }
h1, h2, h3 { font-family: var(--f-tieu-de); font-weight: 800; letter-spacing: -0.025em; line-height: 1.06; margin: 0; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.danh-dau {
  background: linear-gradient(transparent 58%, var(--vang) 58%, var(--vang) 90%, transparent 90%);
  padding: 0 0.08em; margin: 0 -0.04em;
}
.mo-ta { color: var(--muc-2); font-size: 1.06rem; max-width: 60ch; }

/* ---------- nút ---------- */
.nut {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s;
}
.nut svg { width: 18px; height: 18px; flex: none; }
.nut:hover { transform: translateY(-2px); }
.nut-vang { background: var(--vang); color: var(--muc); box-shadow: 0 10px 24px -12px rgba(242, 183, 5, 0.9); }
.nut-vang:hover { background: #ffdb45; }
.nut-muc { background: var(--muc); color: #fff; }
.nut-muc:hover { background: #163c43; }
.nut-vien { border-color: var(--vien-dam); background: rgba(255, 255, 255, 0.6); }
.nut-vien:hover { border-color: var(--muc); background: #fff; }
.nut-nho { min-height: 40px; padding: 0 16px; font-size: 14.5px; }

/* ---------- đầu trang ---------- */
.dau-trang {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 246, 244, 0.78);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.dau-trang.cuon { border-bottom-color: var(--vien); background: rgba(255, 255, 255, 0.88); }
.dau-trang .khung { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo .dau { height: 44px; width: auto; }
.logo .chu { height: 30px; width: auto; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a {
  text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muc-2);
  padding: 8px 12px; border-radius: 999px; transition: background-color .2s, color .2s;
}
.menu a:hover { background: var(--bang-2); color: var(--muc); }
.nut-menu { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--vien); background: #fff; cursor: pointer; }
.nut-menu span, .nut-menu span::before, .nut-menu span::after {
  display: block; width: 20px; height: 2px; background: var(--muc); margin: auto; position: relative; transition: transform .25s, background-color .25s;
}
.nut-menu span::before, .nut-menu span::after { content: ""; position: absolute; left: 0; }
.nut-menu span::before { top: -6px; }
.nut-menu span::after { top: 6px; }
.mo-menu .nut-menu span { background: transparent; }
.mo-menu .nut-menu span::before { transform: translateY(6px) rotate(45deg); }
.mo-menu .nut-menu span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.hero .khung { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.55rem, 6.2vw, 5.1rem); margin: 18px 0 22px; }
.hero h1 .xanh { color: var(--lanh); }
.hero .mo-ta { font-size: 1.12rem; }
.hero .hang-nut { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.thong-so-nhanh {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--vien); border-radius: var(--bo); background: rgba(255, 255, 255, 0.7); overflow: hidden;
}
.thong-so-nhanh div { padding: 14px 14px 12px; border-left: 1px dashed var(--vien-dam); }
.thong-so-nhanh div:first-child { border-left: 0; }
.thong-so-nhanh b { display: block; font-family: var(--f-tieu-de); font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.1; }
.thong-so-nhanh span { display: block; font-size: 12.5px; color: var(--muc-3); line-height: 1.35; margin-top: 4px; }

.ghep-anh { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 10px; aspect-ratio: 1 / 1; }
.o-anh { position: relative; margin: 0; border-radius: var(--bo); overflow: hidden; background: var(--bang-2); box-shadow: var(--bong); }
.o-anh img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.o-anh:hover img { transform: scale(1.06); }
.o-anh figcaption {
  position: absolute; left: 8px; bottom: 8px; padding: 4px 8px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.92); font-family: var(--f-ma); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700;
}
.o1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.o2 { grid-column: 3; grid-row: 1; }
.o3 { grid-column: 3; grid-row: 2; }
.o3 figcaption { bottom: auto; top: 8px; }
.o4 { grid-column: 1; grid-row: 3; }
.o5 { grid-column: 2; grid-row: 3; }
.o6 { grid-column: 3; grid-row: 3; }
.con-dau {
  position: absolute; left: 66.6%; top: 66.6%; translate: -50% -50%;
  width: clamp(104px, 13vw, 148px); aspect-ratio: 1; z-index: 2;
  border-radius: 50%; background: var(--muc); color: #fff; box-shadow: 0 16px 34px -14px rgba(13, 43, 48, 0.7);
  display: grid; place-items: center;
}
.con-dau svg.vong { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: xoay 22s linear infinite; }
.con-dau svg.vong text { font-family: var(--f-ma); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; fill: var(--vang); }
.con-dau .giua { text-align: center; line-height: 1; }
.con-dau .giua b { display: block; font-family: var(--f-tieu-de); font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -0.03em; }
.con-dau .giua small { font-family: var(--f-ma); font-size: 10px; letter-spacing: 0.12em; color: var(--lanh-nhat); }
@keyframes xoay { to { transform: rotate(360deg); } }

/* ---------- dải chạy ---------- */
.dai-chay { background: var(--muc); color: #fff; overflow: hidden; border-block: 1px solid #000; }
.dai-chay .ray { display: flex; width: max-content; animation: chay 38s linear infinite; }
.dai-chay ul { display: flex; list-style: none; margin: 0; padding: 0; }
.dai-chay li { display: flex; align-items: center; gap: 22px; padding: 15px 0 15px 22px; font-family: var(--f-ma); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.dai-chay li::after { content: "✻"; color: var(--vang); font-size: 15px; }
@keyframes chay { to { transform: translateX(-50%); } }

/* ---------- mục ---------- */
.muc { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.dau-muc { display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.so-muc {
  grid-row: span 2; font-family: var(--f-tieu-de); font-weight: 800; font-size: clamp(3.6rem, 9vw, 7rem); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1.5px var(--vien-dam); letter-spacing: -0.04em;
}

/* giới thiệu */
.gioi-thieu .luoi { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.gioi-thieu .van p { margin: 0 0 1.1em; color: var(--muc-2); }
.gioi-thieu .van p:first-child { font-size: 1.22rem; color: var(--muc); line-height: 1.55; }
.chuoi-viec { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chuoi-viec li { background: var(--giay); border: 1px solid var(--vien); border-radius: var(--bo-nho); padding: 14px 12px; text-align: center; font-weight: 600; font-size: 14.5px; position: relative; }
.chuoi-viec li .ma { display: block; color: var(--muc-3); font-size: 10.5px; margin-bottom: 4px; }
.chuoi-viec li + li::before { content: "→"; position: absolute; left: -10px; top: 50%; translate: -50% -50%; color: var(--la-dam); font-weight: 700; font-size: 13px; }
.the-cham-ngon {
  position: relative; background: var(--muc); color: #fff; border-radius: calc(var(--bo) + 6px); padding: clamp(28px, 4vw, 44px); overflow: hidden;
}
.the-cham-ngon::before { content: "“"; position: absolute; right: 14px; top: -40px; font-family: var(--f-tieu-de); font-size: 220px; color: rgba(255, 210, 31, 0.16); line-height: 1; }
.the-cham-ngon .nhan { color: var(--lanh-nhat); }
.the-cham-ngon .nhan::before { background: var(--vang); }
.the-cham-ngon blockquote { margin: 18px 0 26px; font-family: var(--f-tieu-de); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.12; letter-spacing: -0.02em; }
.the-cham-ngon blockquote em { font-style: normal; color: var(--vang); }
.the-cham-ngon .anh-nho { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.the-cham-ngon .anh-nho img { border-radius: var(--bo-nho); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* vùng nguyên liệu */
.vung { background: linear-gradient(180deg, transparent, rgba(207, 232, 238, 0.45) 30%, transparent); }
.vung .luoi { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.chong-anh { position: relative; min-height: 520px; }
.chong-anh figure { position: absolute; margin: 0; border-radius: var(--bo); overflow: hidden; box-shadow: var(--bong); border: 6px solid #fff; }
.chong-anh figure img { width: 100%; height: 100%; object-fit: cover; }
.chong-anh .a1 { left: 0; top: 0; width: 68%; height: 74%; rotate: -2deg; }
.chong-anh .a2 { right: 0; bottom: 0; width: 56%; height: 54%; rotate: 2.5deg; }
.chong-anh .tem-vung {
  position: absolute; left: 6%; bottom: 6%; z-index: 2; background: var(--vang); padding: 12px 16px; border-radius: 12px; max-width: 220px;
  font-weight: 600; font-size: 14px; line-height: 1.35; box-shadow: var(--bong);
}
.chong-anh .tem-vung .ma { display: block; font-size: 10.5px; margin-bottom: 4px; }
.vung .van p { color: var(--muc-2); margin: 0 0 1em; }
.tieu-chi { list-style: none; margin: 26px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tieu-chi li { display: flex; gap: 12px; align-items: flex-start; background: var(--giay); border: 1px solid var(--vien); border-radius: var(--bo-nho); padding: 14px; font-size: 15px; line-height: 1.4; }
.tieu-chi li b { display: block; font-size: 15.5px; }
.tieu-chi li span { color: var(--muc-3); font-size: 13.5px; }
.tieu-chi .bieu-tuong { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--lanh-nhat); color: var(--lanh); }
.tieu-chi .bieu-tuong svg { width: 18px; height: 18px; }
.cau-chot { border-left: 4px solid var(--la); padding: 4px 0 4px 18px; font-family: var(--f-tieu-de); font-weight: 700; font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.01em; }

/* ---------- sản phẩm ---------- */
.bo-loc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.bo-loc button {
  border: 1.5px solid var(--vien-dam); background: rgba(255, 255, 255, 0.7); border-radius: 999px; padding: 9px 16px; cursor: pointer;
  font-weight: 600; font-size: 14.5px; display: inline-flex; gap: 8px; align-items: center; transition: background-color .2s, border-color .2s, color .2s;
}
.bo-loc button span { font-family: var(--f-ma); font-size: 11.5px; color: var(--muc-3); }
.bo-loc button[aria-pressed="true"] { background: var(--muc); border-color: var(--muc); color: #fff; }
.bo-loc button[aria-pressed="true"] span { color: var(--vang); }

.luoi-sp { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.the-sp {
  position: relative; display: flex; flex-direction: column; background: var(--giay); border-radius: var(--bo); overflow: hidden;
  border: 1px solid var(--vien); box-shadow: var(--bong); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}
.the-sp:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(13, 43, 48, 0.04), 0 30px 50px -26px rgba(13, 43, 48, 0.5); }
.the-sp[hidden] { display: none; }
.the-sp .anh { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bang-2); cursor: zoom-in; border: 0; padding: 0; width: 100%; }
.the-sp .anh img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.the-sp:hover .anh img { transform: scale(1.05); }
.the-sp .huy-hieu { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; pointer-events: none; }
.the-sp .huy-hieu span { font-family: var(--f-ma); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 5px 9px; border-radius: 7px; background: rgba(255, 255, 255, 0.94); }
.the-sp .huy-hieu .lanh { background: var(--muc); color: var(--lanh-nhat); }
.the-sp .so-anh {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; gap: 6px; align-items: center; pointer-events: none;
  font-family: var(--f-ma); font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 7px; background: rgba(13, 43, 48, 0.82); color: #fff;
}
.the-sp .so-anh svg { width: 13px; height: 13px; }
.the-sp .than { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; position: relative; }
.the-sp .than::before { /* đường răng cưa như tem xé */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--vien-dam) 0 6px, transparent 6px 11px);
}
.the-sp .ma-sp { color: var(--muc-3); font-size: 11px; }
.the-sp h3 { font-size: 1.5rem; margin: 6px 0 2px; }
.the-sp .loai { color: var(--la-dam); font-weight: 600; font-size: 14.5px; margin: 0 0 12px; }
.bang-ts { margin: 0 0 18px; font-size: 14px; }
.bang-ts div { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; border-bottom: 1px dotted var(--vien-dam); }
.bang-ts dt { flex: none; width: 76px; font-family: var(--f-ma); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muc-3); }
.bang-ts dd { margin: 0; font-weight: 500; line-height: 1.4; }
.the-sp .chan { margin-top: auto; display: flex; gap: 8px; }
.the-sp .chan .nut { flex: 1; white-space: nowrap; }
.the-sp .chan .nut-vien { flex: 0 0 auto; }

/* hộp xem sản phẩm */
dialog.hop-sp {
  width: min(1080px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: calc(var(--bo) + 4px);
  background: var(--giay); color: var(--muc); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6); overflow: hidden;
}
dialog.hop-sp::backdrop { background: rgba(8, 26, 30, 0.72); backdrop-filter: blur(4px); }
dialog.hop-sp[open] { animation: hien-hop .3s cubic-bezier(.2, .7, .2, 1); }
@keyframes hien-hop { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
.hop-sp .luoi-hop { display: grid; grid-template-columns: 1.25fr 1fr; max-height: calc(100dvh - 24px); }
.hop-sp .ben-anh { background: #0b1f23; display: flex; flex-direction: column; min-height: 0; }
.hop-sp .anh-lon { position: relative; flex: 1; min-height: 320px; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.hop-sp .anh-lon img { width: 100%; height: 100%; object-fit: contain; max-height: 72dvh; }
.hop-sp .chu-thich { position: absolute; left: 14px; bottom: 12px; right: 70px; color: #fff; font-size: 13.5px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.hop-sp .dem { position: absolute; right: 14px; bottom: 12px; color: var(--vang); font-family: var(--f-ma); font-size: 12px; font-weight: 700; }
.hop-sp .chuyen { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); cursor: pointer; display: grid; place-items: center; }
.hop-sp .chuyen svg { width: 20px; height: 20px; }
.hop-sp .chuyen.truoc { left: 12px; }
.hop-sp .chuyen.sau { right: 12px; }
.hop-sp .dai-nho { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; }
.hop-sp .dai-nho button { flex: none; width: 70px; height: 54px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; opacity: 0.6; background: none; transition: opacity .2s, border-color .2s; }
.hop-sp .dai-nho button[aria-current="true"] { border-color: var(--vang); opacity: 1; }
.hop-sp .dai-nho img { width: 100%; height: 100%; object-fit: cover; }
.hop-sp .ben-chu { padding: 30px 28px 26px; overflow-y: auto; display: flex; flex-direction: column; }
.hop-sp h3 { font-size: 2rem; margin: 8px 0 4px; }
.hop-sp .loai { color: var(--la-dam); font-weight: 600; margin: 0 0 18px; }
.hop-sp .bang-ts { font-size: 15px; }
.hop-sp .bang-ts dt { width: 92px; }
.hop-sp .ghi-chu { font-size: 13.5px; color: var(--muc-3); margin: 0 0 18px; }
.hop-sp .hang-nut { display: grid; gap: 10px; margin-top: auto; }
.hop-sp .dong {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.94); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.hop-sp .dong svg { width: 18px; height: 18px; }

/* ---------- quy trình ---------- */
.quy-trinh { background: var(--muc); color: #fff; overflow: hidden; }
.quy-trinh .so-muc { -webkit-text-stroke-color: rgba(255, 255, 255, 0.25); }
.quy-trinh .nhan { color: var(--lanh-nhat); }
.quy-trinh .nhan::before { background: var(--vang); }
.quy-trinh .mo-ta { color: #b6cbcd; }
.nhiet-ke { position: relative; height: 10px; border-radius: 99px; margin: 8px 0 30px; background: linear-gradient(90deg, #ffb020, var(--vang) 22%, #9fd7c4 55%, #7cc4dc 75%, #3d9fc1); }
.nhiet-ke span { position: absolute; top: 18px; font-family: var(--f-ma); font-size: 12px; font-weight: 700; color: #b6cbcd; }
.nhiet-ke span:first-child { left: 0; }
.nhiet-ke span:last-child { right: 0; color: var(--lanh-nhat); }
.cac-buoc { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: buoc; }
.cac-buoc li { position: relative; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--bo-nho); padding: 18px 16px 18px; }
.cac-buoc li::before {
  counter-increment: buoc; content: "0" counter(buoc);
  display: block; font-family: var(--f-ma); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; color: var(--vang); margin-bottom: 10px;
}
.cac-buoc b { display: block; font-family: var(--f-tieu-de); font-size: 1.12rem; line-height: 1.2; margin-bottom: 6px; letter-spacing: -0.01em; }
.cac-buoc span { font-size: 13.5px; color: #b6cbcd; line-height: 1.5; display: block; }
.cac-buoc li:last-child { background: var(--lanh); border-color: var(--lanh); }
.cac-buoc li:last-child span { color: #e3f3f6; }
.iqf { margin-top: 44px; display: grid; grid-template-columns: auto 1fr; gap: 22px 28px; align-items: center; background: rgba(255, 255, 255, 0.06); border: 1px dashed rgba(255, 255, 255, 0.25); border-radius: var(--bo); padding: 26px 28px; }
.iqf .chu-to { font-family: var(--f-tieu-de); font-weight: 800; font-size: clamp(3rem, 7vw, 4.6rem); line-height: 0.85; color: var(--vang); letter-spacing: -0.04em; }
.iqf p { margin: 0; color: #d4e2e3; }
.iqf p b { color: #fff; }

/* ---------- liên hệ ---------- */
.lien-he .luoi { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.kenh { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.kenh a, .kenh div {
  display: flex; gap: 14px; align-items: center; text-decoration: none; background: var(--giay); border: 1px solid var(--vien); border-radius: var(--bo-nho);
  padding: 14px 16px; transition: border-color .2s, transform .2s;
}
.kenh a:hover { border-color: var(--muc); transform: translateX(4px); }
.kenh .bieu-tuong { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--bang-2); }
.kenh .bieu-tuong svg { width: 20px; height: 20px; }
.kenh .bieu-tuong.vang { background: var(--vang); }
.kenh .bieu-tuong.zalo { background: #0068ff; color: #fff; font-family: var(--f-tieu-de); font-weight: 800; font-size: 13px; }
.kenh small { display: block; font-family: var(--f-ma); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muc-3); }
.kenh strong { font-weight: 600; font-size: 16px; line-height: 1.35; display: block; overflow-wrap: anywhere; }

.phieu { background: var(--giay); border: 1px solid var(--vien); border-radius: calc(var(--bo) + 4px); padding: clamp(22px, 3.4vw, 36px); box-shadow: var(--bong); position: relative; }
.phieu::before { content: "PHIẾU YÊU CẦU BÁO GIÁ"; position: absolute; top: -12px; left: 24px; background: var(--vang); font-family: var(--f-ma); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; padding: 5px 10px; border-radius: 6px; }
.phieu .hai-cot { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.truong { display: grid; gap: 6px; margin-bottom: 14px; }
.truong label, .truong legend { font-weight: 600; font-size: 14px; }
.truong label i, .truong legend i { color: #c0392b; font-style: normal; }
.truong input, .truong textarea {
  width: 100%; border: 1.5px solid var(--vien-dam); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 16px; background: #fbfdfc; color: var(--muc);
  transition: border-color .2s, box-shadow .2s;
}
.truong textarea { min-height: 92px; resize: vertical; }
.truong input:focus, .truong textarea:focus { outline: none; border-color: var(--lanh); box-shadow: 0 0 0 4px rgba(42, 125, 147, 0.15); }
fieldset.truong { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.chon-sp { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chon-sp label { position: relative; cursor: pointer; }
.chon-sp input { position: absolute; opacity: 0; pointer-events: none; }
.chon-sp span { display: inline-block; border: 1.5px solid var(--vien-dam); border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 500; transition: all .15s; user-select: none; }
.chon-sp input:checked + span { background: var(--muc); border-color: var(--muc); color: #fff; }
.chon-sp input:checked + span::before { content: "✓ "; color: var(--vang); }
.chon-sp input:focus-visible + span { outline: 3px solid var(--lanh); outline-offset: 2px; }
.phieu .hang-nut { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.phieu .hang-nut .nut { flex: 1 1 200px; }
.phieu .loi-nhan { font-size: 13px; color: var(--muc-3); margin: 14px 0 0; }
.phieu .bao-loi { color: #b03a2e; font-weight: 600; font-size: 14px; margin: 10px 0 0; min-height: 1em; }

/* ---------- chân trang ---------- */
.chan-trang { background: #08191c; color: #b6cbcd; padding: 56px 0 28px; font-size: 15px; }
.chan-trang .luoi { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.chan-trang .chip-logo { display: inline-flex; align-items: center; gap: 10px; background: #fff; padding: 10px 14px; border-radius: 14px; }
.chan-trang .chip-logo img { height: 38px; width: auto; }
.chan-trang .chip-logo img.chu { height: 26px; }
.chan-trang h4 { color: #fff; font-family: var(--f-ma); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; }
.chan-trang ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chan-trang a { text-decoration: none; }
.chan-trang a:hover { color: #fff; text-decoration: underline; }
.chan-trang .ten-cty { color: #fff; font-weight: 600; margin: 18px 0 6px; }
.chan-trang .ban-quyen { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }

/* nút nổi */
.nut-noi { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; gap: 10px; }
.nut-noi a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.5); transition: transform .2s; }
.nut-noi a:hover { transform: scale(1.08); }
.nut-noi .zalo { background: #0068ff; color: #fff; font-family: var(--f-tieu-de); font-weight: 800; font-size: 14px; }
.nut-noi .goi { background: var(--vang); color: var(--muc); }
.nut-noi .goi svg { width: 22px; height: 22px; }
.thanh-duoi { display: none; }

/* thông báo nhỏ */
.thong-bao {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 20px; z-index: 90; opacity: 0; pointer-events: none;
  background: var(--muc); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 500; font-size: 14.5px; box-shadow: var(--bong);
  transition: opacity .25s, translate .25s; max-width: calc(100% - 32px); text-align: center;
}
.thong-bao.hien { opacity: 1; translate: -50% 0; }

/* hiện dần khi cuộn */
.hien-dan { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--tre, 0s); }
.hien-dan.da-hien { opacity: 1; transform: none; }
.hero .vao { animation: vao .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--tre, 0s); }
@keyframes vao { from { opacity: 0; transform: translateY(22px); } }

/* ---------- màn hình vừa ---------- */
@media (max-width: 1080px) {
  .cac-buoc { grid-template-columns: repeat(3, 1fr); }
  .luoi-sp { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .menu {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: #fff; padding: 8px var(--le) 20px;
    border-bottom: 1px solid var(--vien); box-shadow: var(--bong);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s;
  }
  .menu a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--vien); font-size: 17px; }
  .mo-menu .menu { transform: none; opacity: 1; visibility: visible; }
  .nut-menu { display: block; }
  .dau-trang .nut-bao-gia { display: none; }
  .hero .khung, .gioi-thieu .luoi, .vung .luoi, .lien-he .luoi { grid-template-columns: 1fr; }
  .ghep-anh { max-width: 620px; }
  .chong-anh { min-height: 0; aspect-ratio: 1 / 0.9; max-width: 620px; }
  .hop-sp .luoi-hop { grid-template-columns: 1fr; overflow-y: auto; }
  .hop-sp .anh-lon { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
  .hop-sp .anh-lon img { max-height: none; }
  .hop-sp .ben-chu { overflow: visible; }
  .chan-trang .luoi { grid-template-columns: 1fr 1fr; }
  .chan-trang .luoi > :first-child { grid-column: 1 / -1; }
}
/* ---------- điện thoại ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .logo .dau { height: 38px; }
  .logo .chu { height: 25px; }
  .thong-so-nhanh { grid-template-columns: 1fr 1fr; }
  .thong-so-nhanh div:nth-child(3) { border-left: 0; }
  .thong-so-nhanh div:nth-child(n + 3) { border-top: 1px dashed var(--vien-dam); }
  .ghep-anh { gap: 6px; }
  .o-anh { border-radius: 12px; }
  .o-anh figcaption { font-size: 9px; padding: 3px 6px; left: 5px; bottom: 5px; }
  .o2 figcaption, .o3 figcaption, .o4 figcaption, .o5 figcaption, .o6 figcaption { display: none; }
  .dau-muc { grid-template-columns: 1fr; }
  .so-muc { grid-row: auto; font-size: 3.2rem; }
  .chuoi-viec { grid-template-columns: 1fr 1fr; gap: 14px; }
  .chuoi-viec li:nth-child(3)::before { display: none; }
  .tieu-chi { grid-template-columns: 1fr; }
  .luoi-sp { grid-template-columns: 1fr; }
  .cac-buoc { grid-template-columns: 1fr 1fr; }
  .iqf { grid-template-columns: 1fr; padding: 22px; }
  .phieu .hai-cot { grid-template-columns: 1fr; gap: 0; }
  .chan-trang .luoi { grid-template-columns: 1fr; }
  .nut-noi { display: none; }
  .thanh-duoi {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--vien);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .thanh-duoi .nut { min-height: 46px; padding: 0 10px; font-size: 14.5px; }
  .thanh-duoi .zalo { background: #0068ff; color: #fff; }
  .thong-bao { bottom: 84px; }
  .hop-sp .ben-chu { padding: 22px 18px 20px; }
  .hop-sp h3 { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hien-dan { opacity: 1; transform: none; }
}
