/* ==========================================================================
   PHƯƠNG ÁN 3 — “24H GẦN BẠN”
   Local · mobile-first · Zalo
   ========================================================================== */

:root {
  --font-body: "Be Vietnam Pro", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", "Be Vietnam Pro", system-ui, sans-serif;
  --container-max: 1240px;
  --gutter: 24px;

  --bg: #f5fbfe;
  --surface: #fff;
  --ink: #0e2e3e;
  --muted: #5b7686;
  --brand: #0b84e0;
  --brand-deep: #075985;
  --sky: #38bdf8;
  --sun: #ffc93c;
  --mint: #e8f8f2;
  --peach: #ffefe6;
  --lilac: #f1eeff;
  --line: #dcecf4;

  --btn-radius: 999px;
  --input-radius: 12px;
  --modal-radius: 20px;
  --focus: #0b84e0;
  --selection: #0b84e0;
}

.icon { width: 17px; height: 17px; flex: none; }

/* --- Top bar --- */
.topbar {
  background: linear-gradient(90deg, #0b84e0, #38bdf8 70%, #7dd3fc);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.topbar p { display: flex; align-items: center; gap: 7px; }
.topbar .icon { width: 14px; height: 14px; }
.topbar__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .6); margin-inline: 5px; }
.topbar__links { display: flex; align-items: center; gap: 16px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.topbar__links a:hover { opacity: .85; }

/* --- Header --- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 18px; min-height: 78px; transition: min-height .25s ease; }
.site-header.is-scrolled .header__in { min-height: 68px; }
.brand { color: var(--brand); flex: none; }
.brand__mark { width: 40px; height: 40px; }
.brand__text strong { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.brand__text small { color: var(--muted); font-size: 8px; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav > ul > li > a { font-size: 13.5px; font-weight: 600; }
.nav > ul > li > a:hover { color: var(--brand); }
.mega { border-radius: 16px; }
.mega__group a { border-radius: 6px; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__actions > * { flex: none; }

.header__search {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f2f9fd;
  transition: border-color .2s ease, background-color .2s ease;
}
.header__search:focus-within { border-color: var(--sky); background: #fff; }
.header__search svg { width: 16px; height: 16px; color: var(--muted); }
.header__search input { width: 168px; border: 0; background: transparent; font-size: 12.5px; outline: none; }
.header__search input::placeholder { color: var(--muted); }

.header__zalo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #0068ff;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.header__zalo:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(0, 104, 255, .8); }
.header__zalo svg { width: 16px; height: 16px; }

.header__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.header__cart:hover { background: var(--bg); }
.header__cart svg { width: 20px; height: 20px; }
.header__cart-count {
  position: absolute; top: -2px; right: -2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 10px; font-weight: 700;
  border: 2px solid #fff;
  transition: transform .25s ease;
}
.header__cart-count.is-bump { transform: scale(1.35); }
.menu-btn { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; }
.menu-btn svg { width: 24px; height: 24px; }

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
  background: var(--brand-deep);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(5, 40, 58, .93) 0%, rgba(5, 40, 58, .78) 34%, rgba(5, 40, 58, .28) 66%, rgba(5, 40, 58, .08) 100%),
    linear-gradient(0deg, rgba(5, 40, 58, .35), transparent 45%);
}
.hero__in {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 600px;
  padding-block: 56px;
}
.hero__card {
  width: min(560px, 100%);
  padding: clamp(24px, 3.4vw, 38px);
  background: rgba(255, 255, 255, .98);
  border-radius: 26px;
  box-shadow: 0 40px 90px -40px rgba(0, 28, 42, .6);
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: #0a6b50;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero__pill svg { width: 14px; height: 14px; }
.hero h1 {
  margin: 16px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--ink);
}
.hero h1 .mark {
  background: var(--sun);
  border-radius: 10px;
  padding: 0 8px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: #3a2b00;
}
.hero__card > p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.hero__ask { margin-top: 20px; }
.hero__ask > span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hero__chips button {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  transition: all .2s ease;
}
.hero__chips button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero__mini { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; }
.hero__mini li { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; color: var(--muted); }
.hero__mini svg { width: 14px; height: 14px; color: #10b981; }

.hero__float { position: absolute; right: 0; bottom: 46px; display: grid; gap: 10px; }
.float-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px 11px 11px;
  background: rgba(255, 255, 255, .97);
  border-radius: 16px;
  box-shadow: 0 20px 40px -24px rgba(0, 30, 45, .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.float-card__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: #0a7a58; flex: none; }
.float-card__icon--yellow { background: #fff6d9; color: #a16207; }
.float-card svg { width: 18px; height: 18px; }
.float-card strong { display: block; font-size: 13px; line-height: 1.2; }
.float-card span { display: block; font-size: 10.5px; color: var(--muted); }

/* --- Quick bar --- */
.quickbar { position: relative; z-index: 3; margin-top: -34px; }
.quickbar__in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 17px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 30px 60px -42px rgba(5, 50, 70, .55);
}
.quickbar__in > div { display: flex; align-items: center; gap: 10px; }
.quickbar__icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.quickbar__icon svg { width: 19px; height: 19px; }
.quickbar__icon--sky { background: #e6f4fe; color: var(--brand); }
.quickbar__icon--sun { background: #fff6d9; color: #a16207; }
.quickbar__icon--mint { background: var(--mint); color: #0a7a58; }
.quickbar__icon--peach { background: var(--peach); color: #c2410c; }
.quickbar__in strong { display: block; font-size: 12.5px; line-height: 1.3; }
.quickbar__in span { display: block; font-size: 10.5px; color: var(--muted); }

/* --- Shared section --- */
.section { padding-block: clamp(52px, 6.5vw, 86px); }
.section-head { display: grid; grid-template-columns: 1fr .7fr; gap: clamp(20px, 4vw, 56px); align-items: end; margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-head h2 { margin-top: 10px; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; color: var(--ink); }
.section-head__side { justify-self: end; max-width: 42ch; font-size: 13.5px; }
.section-head .btn--text { justify-self: start; margin-top: 10px; font-size: 12.5px; }
.eyebrow { color: var(--brand); font-weight: 700; letter-spacing: .14em; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); display: inline-block; margin-right: 8px; box-shadow: 0 0 0 4px #fff6d9; }
.eyebrow--light { color: #bae6fd; }

/* --- Categories --- */
.cats { background: #fff; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 168px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -30px rgba(5, 50, 70, .35); }
.cat-tile--mint { background: var(--mint); }
.cat-tile--sky { background: #e6f4fe; }
.cat-tile--sun { background: #fff6d9; }
.cat-tile--lilac { background: var(--lilac); }
.cat-tile--peach { background: var(--peach); }
.cat-tile--white { background: #fff; border-color: var(--line); }
.cat-tile__icon { width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, .8); display: grid; place-items: center; color: var(--ink); margin-bottom: 20px; }
.cat-tile__icon svg { width: 21px; height: 21px; }
.cat-tile__count { position: absolute; top: 22px; right: 22px; font-size: 10px; font-weight: 600; color: rgba(14, 46, 62, .5); }
.cat-tile strong { margin-top: auto; font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.cat-tile small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.cat-tile__arrow {
  position: absolute; right: 18px; bottom: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  display: grid; place-items: center;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.cat-tile__arrow svg { width: 15px; height: 15px; }
.cat-tile:hover .cat-tile__arrow { background: var(--brand); color: #fff; transform: rotate(0) translate(1px, -1px); }

/* --- Products --- */
.products { background: var(--bg); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod {
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.prod:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -32px rgba(5, 50, 70, .4); }
.prod__media { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--bg); }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.prod:hover .prod__media img { transform: scale(1.05); }
.prod .badge {
  position: absolute; top: 9px; left: 9px;
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .6);
  font-size: 9.5px;
  padding: 4px 9px;
}
.prod__plus {
  position: absolute; right: 9px; bottom: 9px;
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .35);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.prod__plus svg { width: 17px; height: 17px; }
.prod__plus:hover { background: var(--brand); color: #fff; transform: scale(1.06); }
.prod__body { padding: 11px 7px 7px; display: flex; flex-direction: column; flex: 1; }
.prod__cat { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.prod h3 { margin: 5px 0 10px; font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; min-height: 39px; }
.prod__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.prod__foot .price { font-size: 16px; font-weight: 800; color: var(--brand-deep); }
.prod__foot .price--contact { font-size: 12px; color: #ea580c; }
.prod__link { font-size: 10.5px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.prod__link:hover { color: var(--brand); }

/* --- Send photo --- */
.send { background: linear-gradient(180deg, #eaf8f3 0%, #f5fbfe 100%); }
.send__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.send__copy h2 { margin-top: 12px; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.send__copy > p { margin-top: 14px; max-width: 46ch; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.send__steps { margin-top: 22px; display: grid; gap: 0; }
.send__steps li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(11, 132, 224, .14); }
.send__steps span { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.send__steps strong { display: block; font-size: 13.5px; }
.send__steps small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.send__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.chat-demo { position: relative; display: grid; place-items: center; padding: 16px 0 28px; }
.chat-demo__note { position: absolute; top: 0; right: 10px; font-size: 9.5px; color: var(--muted); }
.phone {
  width: min(310px, 100%);
  background: #fff;
  border: 8px solid #0b2a3a;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 34px 60px -30px rgba(5, 50, 70, .5);
}
.phone__top { display: flex; align-items: center; gap: 9px; padding: 13px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.phone__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.phone__top strong { display: block; font-size: 12px; }
.phone__top small { display: flex; align-items: center; gap: 4px; font-size: 9.5px; color: #10b981; }
.phone__top small i { width: 5px; height: 5px; border-radius: 50%; background: #10b981; }
.phone__more { margin-left: auto; color: var(--muted); font-size: 12px; letter-spacing: 1px; }
.phone__body { background: #eff7fb; padding: 10px; display: grid; gap: 7px; }
.bubble { max-width: 86%; padding: 8px 11px; border-radius: 13px; font-size: 10.5px; line-height: 1.5; }
.bubble--in { justify-self: start; background: #fff; border-bottom-left-radius: 4px; }
.bubble--out { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.bubble--img { padding: 4px; background: #fff; }
.bubble--img img { width: 100%; border-radius: 9px; }
.bubble--img span { display: block; padding: 4px 5px 2px; font-size: 9px; color: var(--muted); }
.phone__input { display: flex; align-items: center; justify-content: space-between; margin: 8px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; color: var(--muted); }
.phone__input svg { width: 15px; height: 15px; color: var(--brand); }
.chat-demo__badge {
  position: absolute; left: 0; bottom: 8px;
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; background: #fff; border-radius: 14px;
  box-shadow: 0 18px 36px -24px rgba(5, 50, 70, .5);
}
.chat-demo__badge svg { width: 20px; height: 20px; color: var(--brand); }
.chat-demo__badge strong { display: block; font-size: 12px; }
.chat-demo__badge span { display: block; font-size: 10px; color: var(--muted); }

/* --- Projects --- */
.projects { background: #fff; }
.proj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.proj { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--line); }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proj:hover img { transform: scale(1.05); }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4, 30, 44, .82)); }
.proj__cap { position: absolute; z-index: 2; left: 15px; right: 15px; bottom: 15px; color: #fff; }
.proj__tag { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--sun); color: #3a2b00; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.proj__cap strong { display: block; margin-top: 7px; font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.25; }
.proj__cap small { display: block; margin-top: 2px; font-size: 10px; color: rgba(255, 255, 255, .7); }

/* --- Pricing --- */
.pricing { background: var(--bg); }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 6px 24px; }
.price-head, .price-row {
  display: grid;
  grid-template-columns: 2fr .55fr .8fr 130px;
  align-items: center;
  gap: 16px;
}
.price-head { padding: 15px 0 11px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.price-row { padding: 14px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.price-row:first-of-type { border-top: 0; }
.price-row .price { font-weight: 800; color: var(--brand-deep); }
.price-row .price--contact { color: #ea580c; font-size: 12.5px; }
.price-row button { justify-self: end; font-size: 11.5px; font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.price-row button:hover { color: var(--brand-deep); }
.pricing__note { margin-top: 12px; font-size: 10.5px; }

/* --- Area --- */
.area { background: #fff; }
.area-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: linear-gradient(135deg, #075985 0%, #0b84e0 58%, #38bdf8 100%);
  color: #fff;
}
.area-card::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  top: -190px; right: -110px;
  pointer-events: none;
}
.area-card::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  bottom: -140px; left: 34%;
  pointer-events: none;
}
.area-card__pin { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; margin-bottom: 16px; }
.area-card__pin svg { width: 23px; height: 23px; }
.area-card h2 { margin-top: 10px; font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.area-card__left > p { margin-top: 12px; max-width: 40ch; font-size: 13px; line-height: 1.65; color: rgba(255, 255, 255, .76); }
.area-card__info { margin-top: 18px; display: grid; gap: 7px; }
.area-card__info span { display: flex; align-items: flex-start; gap: 8px; font-size: 11.5px; color: rgba(255, 255, 255, .82); }
.area-card__info svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: #bae6fd; }
.area-card__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.area-card__right { position: relative; display: flex; flex-direction: column; justify-content: center; }
.area-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.area-chips a {
  display: block;
  padding: 8px 6px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  transition: all .2s ease;
}
.area-chips a:hover { background: #fff; color: var(--brand-deep); border-color: #fff; }
.area-card__hint { display: flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 10.5px; color: rgba(255, 255, 255, .72); }
.area-card__hint svg { width: 15px; height: 15px; }

/* --- News --- */
.news { background: var(--bg); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.post:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -32px rgba(5, 50, 70, .35); }
.post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post:hover .post__media img { transform: scale(1.04); }
.post__body { padding: 16px; }
.post__meta { font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.post h3 { margin: 6px 0 12px; font-size: 15.5px; font-weight: 700; line-height: 1.4; }
.post__more { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--brand); }
.post__more svg { width: 13px; height: 13px; }
.post--tip { border: 0; background: var(--sun); }
.tip-card { height: 100%; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; color: #3a2b00; }
.tip-card__icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .6); display: grid; place-items: center; }
.tip-card__icon svg { width: 20px; height: 20px; }
.tip-card strong { margin-top: 14px; font-family: var(--font-display); font-size: 19px; font-weight: 800; }
.tip-card p { margin-top: 8px; font-size: 12px; line-height: 1.6; color: rgba(58, 43, 0, .75); }
.tip-card .post__more { margin-top: auto; color: #3a2b00; }

/* --- FAQ --- */
.faq { background: #fff; }
.faq__in { max-width: 840px; }
.faq__head { text-align: center; margin-bottom: 26px; }
.faq__head h2 { margin-top: 8px; font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.035em; }
.faq-item { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 8px; }
.faq-item summary { padding: 15px 0; font-size: 14.5px; }
.faq-item p { padding-bottom: 16px; font-size: 13px; }

/* --- CTA --- */
.cta-end { padding-block: 0 clamp(52px, 6vw, 80px); background: #fff; }
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 28px;
  background: linear-gradient(120deg, #0b84e0, #38bdf8);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-card::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .1); top: -170px; right: 10%; }
.cta-card__sun { width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: #3a2b00; display: grid; place-items: center; margin-bottom: 14px; }
.cta-card__sun svg { width: 22px; height: 22px; }
.cta-card h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; }
.cta-card p { margin-top: 10px; max-width: 44ch; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .83); }
.cta-card__actions { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }

/* --- Footer --- */
.footer { background: #072f45; color: rgba(255, 255, 255, .78); padding-top: 56px; }
.footer__top { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 70px); padding-bottom: 36px; }
.footer__logo { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.footer__logo em { color: var(--sun); font-style: normal; }
.footer__brand > p { margin-top: 12px; max-width: 38ch; font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .5); }
.footer__social { display: flex; gap: 7px; margin-top: 18px; }
.footer__social a {
  min-width: 36px; height: 36px; padding: 0 11px;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  border-radius: 999px; background: rgba(255, 255, 255, .1);
  font-size: 10.5px; font-weight: 600; color: #fff;
}
.footer__social a:hover { background: var(--brand); }
.footer__social svg { width: 15px; height: 15px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { color: rgba(255, 255, 255, .38); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; }
.footer-col a, .footer-col p { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; padding: 3px 0; color: rgba(255, 255, 255, .72); }
.footer-col a:hover { color: var(--sun); }
.footer-col svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: rgba(255, 255, 255, .45); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 0 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 10.5px; color: rgba(255, 255, 255, .4);
}
.footer__pay { display: flex; gap: 6px; }
.footer__pay span { padding: 3px 8px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: 9px; }
.footer__top-btn { font-size: 10px; color: rgba(255, 255, 255, .6); }

/* --- App bar --- */
.appbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.appbar__item { display: grid; justify-items: center; gap: 2px; padding: 4px 2px; font-size: 9px; font-weight: 600; color: var(--muted); }
.appbar__item svg { width: 20px; height: 20px; }
.appbar__item:hover { color: var(--brand); }
.appbar__zalo { display: grid; justify-items: center; gap: 1px; font-size: 9px; font-weight: 700; color: var(--brand-deep); }
.appbar__zalo-icon {
  width: 46px; height: 46px;
  margin-top: -22px;
  border-radius: 50%;
  background: #0068ff;
  border: 4px solid #fff;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 20px -10px rgba(0, 104, 255, .7);
}
.appbar__zalo-icon svg { width: 20px; height: 20px; }

/* --- Buttons --- */
.btn--zalo { background: #0068ff; color: #fff; }
.btn--zalo:hover { box-shadow: 0 14px 26px -14px rgba(0, 104, 255, .8); }
.btn--white { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn--sun { background: var(--sun); color: #3a2b00; }

/* --- Modal --- */
.modal__kicker { color: var(--brand); }
.modal__title { font-family: var(--font-display); font-weight: 800; }
.modal__panel { border-radius: 20px; }

/* --- Responsive --- */
@media (max-width: 1180px) {
  .header__search input { width: 120px; }
  .hero__float { right: 10px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .nav, .header__search, .header__zalo { display: none; }
  .menu-btn { display: inline-flex; }
  .section-head { grid-template-columns: 1fr; }
  .section-head__side { justify-self: start; max-width: 52ch; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__in { min-height: 540px; }
  .hero__float { display: none; }
  .send__grid { grid-template-columns: 1fr; }
  .chat-demo { order: 2; }
  .area-card { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .post--tip { grid-column: 1 / -1; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .proj { aspect-ratio: 4 / 4; }
}

@media (max-width: 860px) {
  .quickbar__in { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .price-head, .price-row { grid-template-columns: 1.7fr .5fr .8fr 110px; }
  .appbar { display: grid; }
  body { padding-bottom: 74px; }
  .footer { padding-bottom: 6px; }
  .cta-end { padding-bottom: 96px; }
  .proj-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .proj-grid::-webkit-scrollbar { display: none; }
  .proj { flex: 0 0 74%; aspect-ratio: 4 / 5; scroll-snap-align: start; }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  .header__in { min-height: 66px; }
  .hero { border-radius: 0 0 26px 26px; }
  .hero__in { min-height: 0; padding-block: 26px 58px; }
  .hero__card { padding: 22px; border-radius: 22px; }
  .hero h1 { font-size: clamp(31px, 9.6vw, 42px); }
  .hero__card > p { font-size: 13.5px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .quickbar { margin-top: -30px; }
  .quickbar__in { padding: 14px; gap: 10px 8px; border-radius: 18px; }
  .quickbar__icon { width: 34px; height: 34px; border-radius: 11px; }
  .quickbar__in strong { font-size: 11.5px; }
  .quickbar__in span { font-size: 9.5px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-tile { min-height: 132px; padding: 18px; }
  .cat-tile__icon { margin-bottom: 14px; }
  .prod-grid { gap: 10px; }
  .prod h3 { font-size: 12.5px; min-height: 52px; }
  .prod__cat { font-size: 8px; }
  .prod__foot { flex-wrap: wrap; }
  .prod__foot .price { font-size: 14.5px; }
  .prod__link { font-size: 9.5px; }
  .prod__plus { width: 32px; height: 32px; }
  .send__cta .btn { flex: 1 1 100%; }
  .phone { border-width: 6px; }
  .chat-demo__badge { left: -4px; }
  .price-card { padding: 6px 14px; }
  .price-head { display: none; }
  .price-row { grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 0; }
  .price-row span[data-label="Đơn vị"] { display: none; }
  .price-row button { grid-column: 1 / -1; justify-self: start; }
  .area-chips { grid-template-columns: repeat(2, 1fr); }
  .area-card__cta .btn { flex: 1 1 100%; }
  .news-grid { grid-template-columns: 1fr; }
  .post--tip { grid-column: auto; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { align-items: flex-start; }
  .footer__top-btn { display: none; }
  .cta-card { padding: 24px; border-radius: 22px; }
  .cta-card__actions { width: 100%; }
  .cta-card__actions .btn { flex: 1 1 100%; }
  .faq__in { padding-inline: 0; }
  .btn { font-size: 13px; }
  .btn--lg { font-size: 14px; }
}

@media (max-width: 380px) {
  .brand__text strong { font-size: 18px; }
  .brand__text small { font-size: 7px; }
  .hero__chips button { font-size: 11px; padding: 6px 10px; }
  .quickbar__in { grid-template-columns: 1fr; }
}
