/* =====================================================================
   VILL Delivun – theme tạo từ landing page "vill-delivun-orange"
   Font: Be Vietnam Pro · Màu chủ đạo cam #ff7e01 · Nâu đậm #6e2c00
   ===================================================================== */
:root {
  --primary: #ff7e01;
  --primary-dark: #e56f00;
  --deep: #6e2c00;
  --amber: #ffc21a;
  --soft: #ffe08a;
  --ink: #1d1d1f;
  --muted: #6b6b6b;
  --line: #f1e4d6;
  --cream: #fff6ec;
  --tint: #fff1e3;
  --shadow: rgba(80, 40, 0, 0.18);

  /* token cho các trang nội dung dùng chung (site-core.css) */
  --c-primary: var(--primary);
  --c-primary-dark: var(--primary-dark);
  --c-primary-soft: var(--tint);
  --c-deep: var(--deep);
  --c-ink: var(--ink);
  --c-muted: var(--muted);
  --c-line: var(--line);
  --c-cream: var(--cream);
  --c-amber: var(--amber);
  --c-footer-bg: var(--deep);
  --c-footer-ink: #ffe9d4;
  --c-font: var(--font-be-vietnam), "Be Vietnam Pro", system-ui, sans-serif;
  --c-font-display: var(--c-font);
  --c-display-weight: 800;
  --c-display-tracking: -0.02em;
  --c-radius: 22px;
  --c-radius-lg: 28px;
  --c-btn-radius: 999px;
  --c-gradient: radial-gradient(110% 140% at 100% 100%, #ffb15c 0%, var(--primary) 50%, #f06400 100%);
  --c-header-h: 76px;
}

body { font-family: var(--c-font); color: var(--ink); background: #fff; }
.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }
.arrow { width: 18px; height: 18px; flex: none; }

/* ---------- "Trở thành đối tác" dropdown ---------- */
.partner { position: relative; }
.partner-btn {
  display: inline-flex; align-items: center; gap: 4px;
  height: 40px; padding: 0 12px 0 16px; border: 0; border-radius: 999px; background: var(--tint); cursor: pointer; white-space: nowrap;
  color: var(--deep); font: inherit; font-weight: 600; font-size: 14px;
  transition: background .2s;
}
.partner-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.partner-btn:hover, .partner.open .partner-btn { background: #ffe6cc; }
.partner.open .partner-btn svg { transform: rotate(180deg); }
.partner-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; width: 360px; padding: 8px;
  background: #fff; border-radius: 18px;
  box-shadow: 0 24px 50px rgba(80,40,0,.18), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.partner-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.partner.open .partner-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
  .partner:hover .partner-menu { opacity: 1; visibility: visible; transform: none; }
}
.partner-menu a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; transition: background .15s; }
.partner-menu a + a { margin-top: 2px; }
.partner-menu a::after { content: "→"; margin-left: auto; padding-left: 4px; color: var(--primary); font-weight: 700; opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.partner-menu a:hover::after, .partner-menu a:focus-visible::after { opacity: 1; transform: none; }
.partner-menu a:hover, .partner-menu a:focus-visible { background: var(--cream); outline: none; }
.partner-menu img { width: 52px; height: 52px; padding: 6px; border-radius: 14px; background: var(--cream); object-fit: contain; flex: none; }
.partner-menu a:hover img, .partner-menu a:focus-visible img { background: #fff; }
.partner-menu b { display: block; font-size: 15px; color: var(--ink); }
.partner-menu small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }

.cta-pill {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 6px 14px rgba(255,126,1,.26); transition: background .2s, transform .2s;
}
.cta-pill:hover { background: var(--primary-dark); transform: translateY(-1px); }
.cta-link { font-weight: 600; font-size: 14px; color: var(--primary); white-space: nowrap; }
.cta-link:hover { color: var(--primary-dark); }

/* ---------- header (dùng chung cho trang chủ và mọi trang) ---------- */
.site-header { position: sticky; top: var(--c-ab-h, 0px); z-index: 40; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
/* Đầu trang liền với nội dung, cuộn xuống mới hiện viền + bóng */
@supports (animation-timeline: scroll()) {
  @keyframes site-header-lift {
    from { border-bottom-color: transparent; box-shadow: none; }
    to { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(80,40,0,.07); }
  }
  .site-header { animation: site-header-lift linear both; animation-timeline: scroll(root); animation-range: 0 64px; }
}
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: var(--c-header-h); }
.site-header .brand { justify-self: start; }
.site-header .brand img { display: block; height: 40px; width: auto; max-width: none; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav > a, .site-nav > .c-dd > a { position: relative; padding: 8px 0; font-size: 15px; font-weight: 500; color: #4f4a45; white-space: nowrap; transition: color .2s; }
.site-nav > a:hover, .site-nav > .c-dd > a:hover, .site-nav > a.active, .site-nav > .c-dd > a.active { color: var(--primary-dark); }
.site-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--primary); }
.site-header .actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.site-header .c-burger { width: 40px; height: 40px; border-radius: 50%; }

/* ---------- store badges ---------- */
.badge-store {
  display: inline-flex; align-items: center; gap: calc(10 * var(--u, 1px));
  height: calc(52 * var(--u, 1px)); padding: 0 calc(20 * var(--u, 1px)) 0 calc(16 * var(--u, 1px));
  background: #141414; color: #fff; border-radius: calc(12 * var(--u, 1px));
  box-shadow: 0 calc(8 * var(--u, 1px)) calc(18 * var(--u, 1px)) rgba(0,0,0,.14);
  transition: transform .2s, background .2s;
}
.badge-store svg { width: calc(24 * var(--u, 1px)); height: calc(24 * var(--u, 1px)); flex: none; }
.badge-store small { display: block; font-size: calc(11 * var(--u, 1px)); opacity: .75; line-height: 1.1; }
.badge-store b { display: block; font-size: calc(17 * var(--u, 1px)); font-weight: 700; line-height: 1.2; }
.badge-store:hover { transform: translateY(calc(-2 * var(--u, 1px))); background: #000; }

/* ---------- footer ---------- */
.d-footer {
  position: relative; overflow: hidden; padding: 64px 0 24px; color: #ffe9d4;
  background: radial-gradient(900px 420px at 100% 0%, rgba(255,126,1,.22), transparent 70%), var(--deep);
}
.d-footer .top { display: grid; grid-template-columns: minmax(300px, 1.25fr) 3fr; gap: 56px; }
.d-footer .brand img { height: 46px; width: auto; }
.d-footer .slogan { margin-top: 16px; font-size: 15px; opacity: .85; line-height: 1.65; max-width: 300px; }
/* thông tin doanh nghiệp (Cài đặt chung): mỗi dòng một ý, dòng đầu là tên công ty */
.d-footer .company { margin-top: 18px; font-size: 13.5px; line-height: 1.7; white-space: pre-line; color: rgba(255,233,212,.8); max-width: 380px; }
.d-footer .company::first-line { font-weight: 800; font-size: 15px; color: #fff; }
.d-footer .follow-us { margin-top: 22px; }
.d-footer .follow-us > span { display: block; font-size: 14px; font-weight: 800; color: #fff; }
.d-footer .soc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.d-footer .soc a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background .2s, transform .2s; }
.d-footer .soc a:hover { background: var(--primary); transform: translateY(-2px); }
.d-footer .soc svg { width: 17px; height: 17px; }
.d-footer .cols { display: flex; gap: 32px; }
.d-footer .col { flex: 1 1 0; min-width: 0; }
.d-footer .col.contact { flex-grow: 1.3; }
.d-footer h4 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 16px; }
.d-footer ul { list-style: none; }
.d-footer li { margin-bottom: 11px; font-size: 14.5px; line-height: 1.45; }
.d-footer li a { opacity: .82; transition: opacity .2s, color .2s; }
.d-footer li a:hover { opacity: 1; color: var(--amber); }
.d-footer .contact li { display: flex; align-items: flex-start; gap: 10px; }
.d-footer .contact li > svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--amber); }
.d-footer .contact li > span { opacity: .82; }
.d-footer .contact b { font-weight: 800; color: #fff; }
.d-footer .band {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px;
  margin-top: 48px; padding: 20px 24px; border-radius: 22px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.d-footer .apps { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.d-footer .apps > span { font-weight: 800; color: #fff; font-size: 15px; }
.d-footer .stores { display: flex; flex-wrap: wrap; gap: 10px; }
.d-footer .stores .badge-store { --u: .84px; background: #000; box-shadow: none; border: 1px solid rgba(255,255,255,.18); }
.d-footer .bct { display: block; padding: 4px 8px; border-radius: 12px; background: #fff; transition: transform .2s; }
.d-footer .bct:hover { transform: translateY(-2px); }
.d-footer .bct img { display: block; width: 132px; height: auto; }
.d-footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.d-footer .bottom span { opacity: .7; }
.d-footer .bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.d-footer .bottom nav a { opacity: .8; }
.d-footer .bottom nav a:hover { opacity: 1; color: var(--amber); }

/* ================= HERO (desktop: bản sao tỉ lệ khung 1500x843) ================= */
.hero {
  --u: calc(100cqw / 1500);
  position: relative;
  isolation: isolate;
  width: min(100%, 1600px);
  aspect-ratio: 1500 / 843;
  margin: calc(-1 * var(--c-header-h)) auto 0; /* khung gốc đã chừa chỗ cho header, kéo lên để nằm dưới header sticky */
  container-type: inline-size;
  overflow: hidden;
}
.headline {
  position: absolute; left: calc(120 * var(--u)); top: calc(180 * var(--u)); width: calc(660 * var(--u));
  font-weight: 800; font-size: calc(46 * var(--u)); line-height: 1.22; letter-spacing: -.01em;
  color: var(--primary);
}
.headline em { font-style: normal; color: var(--deep); }

.lead {
  position: absolute; left: calc(120 * var(--u)); top: calc(322 * var(--u));
  width: calc(560 * var(--u));
  font-size: calc(17 * var(--u)); line-height: 1.65; color: var(--muted);
}

.thumbs {
  position: absolute; left: calc(119 * var(--u)); top: calc(462 * var(--u));
  display: flex; gap: calc(24 * var(--u)); z-index: 2;
  transition: opacity .2s;
}
.thumb {
  position: relative; width: calc(210 * var(--u)); height: calc(210 * var(--u)); flex: none;
  box-shadow: calc(12 * var(--u)) calc(20 * var(--u)) calc(26 * var(--u)) var(--shadow);
  overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.thumb:hover img { transform: scale(1.05); }
.thumb figcaption {
  position: absolute; left: calc(12 * var(--u)); bottom: calc(12 * var(--u));
  background: var(--primary); color: #fff; font-weight: 700;
  font-size: calc(13 * var(--u)); line-height: 1;
  padding: calc(7 * var(--u)) calc(12 * var(--u)); border-radius: 999px;
}

.prev {
  position: absolute; left: calc(90 * var(--u)); top: calc(539 * var(--u));
  width: calc(56 * var(--u)); height: calc(56 * var(--u));
  border-radius: 50%; border: 0; background: #fff; cursor: pointer; z-index: 4;
  display: grid; place-items: center; color: var(--deep);
  box-shadow: 0 calc(6 * var(--u)) calc(18 * var(--u)) rgba(0,0,0,.16);
  transition: transform .15s;
}
.prev svg { width: 42%; height: 42%; }
.prev:hover { transform: scale(1.06); }

.follow {
  position: absolute; left: calc(118 * var(--u)); top: calc(762 * var(--u));
  display: flex; align-items: center; gap: calc(14 * var(--u));
  font-weight: 700; font-size: calc(14 * var(--u)); color: var(--deep);
}
.follow .icons { display: flex; gap: calc(12 * var(--u)); }
.follow .icons a {
  width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50%; display: grid; place-items: center;
  border: 1.3px solid #c9bfb5; color: #555; transition: background .2s, color .2s, border-color .2s;
}
.follow .icons a:first-child { background: #1565c0; border-color: #1565c0; color: #fff; }
.follow .icons a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.follow svg { width: 52%; height: 52%; display: block; }

/* pattern nằm dưới thumbnail, courier nằm trên */
.visual {
  position: absolute; left: calc(782 * var(--u)); top: 0;
  width: calc(718 * var(--u)); height: 100%;
}
.visual .glow {
  position: absolute; z-index: 0; left: calc(-60 * var(--u)); top: calc(150 * var(--u));
  width: calc(640 * var(--u)); height: calc(640 * var(--u)); border-radius: 50%;
  background: radial-gradient(closest-side, #ffeedd 0%, #fff6ec 60%, rgba(255,246,236,0) 100%);
}
.visual .map { position: absolute; z-index: 1; left: calc(398 * var(--u)); top: calc(var(--c-header-h) + 8 * var(--u)); width: calc(320 * var(--u)); height: auto; opacity: .95; }
.visual .courier {
  position: absolute; z-index: 3;
  left: calc(8 * var(--u)); top: calc(178 * var(--u)); width: calc(420 * var(--u));
  filter: drop-shadow(calc(22 * var(--u)) calc(14 * var(--u)) calc(22 * var(--u)) rgba(80,40,0,.28));
}

/* ================= SECTIONS ================= */
section.block { padding: 104px 0; position: relative; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); background: var(--tint); font-weight: 700; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px;
}
.section-title { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1.18; margin-top: 16px; letter-spacing: -.015em; }
.section-title em { font-style: normal; color: var(--primary); }
.section-sub { color: var(--muted); font-size: 17px; line-height: 1.7; margin-top: 14px; }
@keyframes dl-float { 50% { translate: 0 -10px; } }

/* ---- services ---- */
/* Thanh số liệu đè mép dưới hero: dạng viên thuốc – ảnh người xếp chồng + số khách, hai số nhỏ có icon */
.hero-stats { position: relative; z-index: 3; margin-top: max(-40px, -2.5vw); } /* đè mép hero theo tỉ lệ, không chạm hàng mạng xã hội */
.hero-stats .box { display: flex; align-items: center; padding: 10px 14px 10px 10px; background: #fff; border-radius: 999px; box-shadow: 0 26px 50px -22px var(--shadow), 0 0 0 1px var(--line); }
.hero-stats dl { margin: 0; }
.hero-stats dt { color: var(--deep); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.hero-stats dd { margin: 2px 0 0; color: var(--muted); }
.hero-stats .main { flex: 1.5 1 0; min-width: 0; display: flex; align-items: center; gap: 16px; padding: 10px 28px 10px 10px; border-radius: 999px; background: var(--tint); }
.hero-stats .main dt { font-size: clamp(24px, 2.4vw, 30px); }
.hero-stats .main dd { font-size: 14px; }
.hero-stats .faces { display: flex; flex: none; }
.hero-stats .faces > * { width: 52px; height: 52px; margin-left: -14px; border: 3px solid #fff; border-radius: 50%; object-fit: cover; }
.hero-stats .faces > :first-child { margin-left: 0; }
.hero-stats .faces span { display: grid; place-items: center; background: var(--c-gradient); color: #fff; font-size: 13px; font-weight: 800; }
.hero-stats .box > dl { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; padding: 0 24px; }
.hero-stats .box > dl::before { content: ""; grid-row: 1 / 3; width: 24px; height: 24px; background-position: center; background-size: contain; background-repeat: no-repeat; }
.hero-stats .box > dl + dl { border-left: 1px solid var(--line); }
.hero-stats .box > dl dt { font-size: 22px; }
.hero-stats .box > dl dd { font-size: 13px; }
.hero-stats .st-areas::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7e01' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.hero-stats .st-since::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7e01' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22V4M5 4h12l-2.5 4.5L17 13H5'/%3E%3C/svg%3E"); }

.services { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
/* Thẻ dịch vụ đơn giản: icon bên trái, tên + mô tả bên phải */
.svc {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.svc img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.svc h3 { font-size: 16.5px; font-weight: 700; }
.svc p { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-top: 2px; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(255,126,1,.12); border-color: #ffd2a8; }
.svc.featured { border: 0; color: #fff; background: linear-gradient(135deg, #ff9a2e 0%, var(--primary) 60%, #f06400 100%); }
.svc.featured p { color: rgba(255,255,255,.9); }
.svc.featured:hover { box-shadow: 0 12px 28px rgba(255,126,1,.3); }
.btn-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: 13.5px; }

.partners { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; scroll-margin-top: 24px; }
/* Thẻ kêu gọi đối tác – mảng màu phẳng, chữ thật to, ảnh sát mép phải */
.partner-card {
  display: grid; grid-template-columns: 1fr 38%; height: 300px; overflow: hidden; scroll-margin-top: 24px;
  color: #2b1200; background: var(--amber); border-radius: 12px;
}
.partner-card:nth-child(even) { color: #fff; background: #2b1200; }
.partner-card > div { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 22px 20px 22px 26px; }
.partner-card b { font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.partner-card b.big { font-size: clamp(44px, 5vw, 62px); line-height: .98; letter-spacing: -.045em; }
.partner-card:nth-child(even) b { color: var(--primary); }
.partner-card p { margin-top: auto; font-size: 15px; font-weight: 500; line-height: 1.45; }
.partner-card .more { margin-top: 10px; font-size: 15px; font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.partner-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.partner-card:hover img { transform: scale(1.03); }

/* ---- how it works ---- */
.how { overflow: hidden; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.how .sec-head { text-align: left; margin: 0; }
.timeline { margin-top: 40px; }
.tl { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 30px; }
.tl:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 62px; bottom: 6px; border-left: 2px dashed #ffc999; }
.tl .num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--primary); font-weight: 800; font-size: 20px; border: 2px solid #ffd9b5;
}
.tl:first-child .num { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 10px 22px rgba(255,126,1,.35); }
.tl h3 { font-size: 20px; font-weight: 700; margin-top: 6px; }
.tl p { color: var(--muted); line-height: 1.65; margin-top: 6px; }

.how-art { position: relative; display: grid; place-items: center; min-height: 600px; }
.how-art .ring { position: absolute; width: 540px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed #ffcf9c; }
.how-art .blob { position: absolute; width: 430px; max-width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #ffc480, var(--primary) 70%); }
.phone {
  position: relative; width: 262px; aspect-ratio: 9 / 19.5; padding: 9px;
  background: #1d1d1f; border-radius: 42px; transform: rotate(-4deg);
  box-shadow: 0 40px 70px rgba(110,44,0,.35), inset 0 0 0 2px #4a4a4a;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; white-space: nowrap;
  background: #fff; border-radius: 18px; padding: 8px 18px 8px 8px; font-size: 14px; line-height: 1.3;
  box-shadow: 0 16px 34px rgba(110,44,0,.18); animation: dl-float 5s ease-in-out infinite;
}
.chip img { width: 46px; height: 46px; object-fit: contain; }
.chip b { display: block; }
.chip small { display: block; color: var(--muted); font-size: 12px; }
.chip.c1 { left: 0; top: 20%; }
.chip.c2 { right: 0; bottom: 20%; animation-delay: -2.5s; }

/* ---- blog teaser ---- */
.news { padding-top: 24px; }
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.news .sec-head { text-align: left; margin: 0; }
.see-all { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); padding: 10px 0; white-space: nowrap; }
.see-all:hover { color: var(--primary-dark); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.news-card { display: flex; flex-direction: column; }
.news-card .news-thumb { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #fff3e6; }
.news-card .news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-card .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.news-card .cat { font-size: 12px; font-weight: 700; color: var(--primary); background: var(--tint); padding: 5px 10px; border-radius: 999px; }
.news-card .dot { width: 4px; height: 4px; border-radius: 50%; background: #d9c6b3; }
.news-card h3 { font-size: 19px; font-weight: 700; line-height: 1.4; margin-top: 12px; transition: color .2s; }
.news-card:hover h3 { color: var(--primary); }
.news-card p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- app CTA: Gấu Mèo lái xe, cảnh chạy nhiều lớp ---- */
.cta { padding-top: 0; }
.cta-card { --t: 800px; position: relative; min-height: 600px; overflow: hidden; border-radius: 28px; background: #fdc131; color: #2b1200; }
/* Trời: màu lấy theo ảnh cảnh để lớp cảnh tách nền không lộ viền */
.cta-sky { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--t) * .5); background: linear-gradient(#fdc131 0%, #fdc037 15%, #fdbc39 30%, #fdb545 40%, #fda84d 50%, #fd9f53 57%, #fd9457 64%, #fd865c 72%, #fd6b61 85%, #fd6b61 100%); }
.cta-sun { position: absolute; left: 46%; bottom: calc(var(--t) * .25); width: calc(var(--t) * .12); aspect-ratio: 1; border-radius: 50%; background: #fff3c4; box-shadow: 0 0 48px 20px rgba(255,228,140,.6); }
/* Cảnh chạy chậm, đường chạy nhanh. Gấu quay đầu sang trái nên cảnh trôi sang phải */
.cta-strip { position: absolute; left: 0; display: flex; width: calc(var(--t) * 4); animation: dl-cta-drift 80s linear infinite; }
.cta-strip img { display: block; flex: none; width: calc(var(--t) * 2); max-width: none; height: auto; }
.cta-scene { bottom: calc(var(--t) * .068 - 1px); }
.cta-road { bottom: 0; animation-duration: 6s; }
.cta-rider { position: absolute; right: 5%; bottom: 8px; height: clamp(300px, 36vw, 430px); aspect-ratio: 1014 / 1147; }
.cta-bear { position: relative; display: block; width: 100%; height: 100%; transform-origin: 40% 100%; filter: drop-shadow(0 10px 18px rgba(90,40,0,.22)); animation: dl-cta-bob .34s ease-in-out infinite alternate; }
.cta-shade { position: absolute; left: 2%; right: 2%; bottom: -16px; height: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20,8,0,.55), rgba(20,8,0,0)); }
.cta-puff { position: absolute; right: -2%; bottom: 10%; width: 22px; height: 22px; border-radius: 50%; background: #fff6ec; opacity: 0; animation: dl-cta-puff 1s ease-out infinite; }
.cta-puff.p2 { animation-delay: -.33s; }
.cta-puff.p3 { animation-delay: -.66s; }
.cta-copy { position: relative; width: 58%; padding: 44px 0 0 56px; }
.cta-logo { height: 44px; width: auto; filter: brightness(0); }
.cta h2 { font-size: clamp(36px, 4.6vw, 54px); font-weight: 800; line-height: 1.06; margin-top: 14px; letter-spacing: -.03em; color: inherit; }
.cta h2 em { font-style: normal; color: inherit; }
.cta p { font-size: 17px; font-weight: 500; line-height: 1.55; margin-top: 12px; max-width: 500px; }
.store { --u: 1px; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@keyframes dl-cta-drift { from { transform: translateX(calc(var(--t) * -2)); } to { transform: translateX(0); } }
@keyframes dl-cta-bob { from { transform: translateY(0) rotate(.3deg); } to { transform: translateY(-4px) rotate(-.3deg); } }
@keyframes dl-cta-puff { from { transform: scale(.4); opacity: .85; } to { transform: translate(64px, -14px) scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .chip, .cta-strip, .cta-bear { animation: none; } .cta-puff { display: none; } }

/* ---- dịch vụ: Gấu Mèo ở giữa, dịch vụ hai bên (chuyển từ theme Food) ---- */
.hub-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px) minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 48px; }
.hub-col { display: flex; flex-direction: column; gap: 6px; }
.hub-col.right { grid-column: 3; grid-row: 1; }
.hub-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 20px; transition: background .15s; }
.hub-item:hover { background: var(--tint); }
.hub-item > img { width: 68px; height: 68px; object-fit: contain; flex: none; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.hub-item:hover > img { transform: scale(1.1) rotate(-6deg); }
.hub-item h3 { font-size: 19px; font-weight: 800; color: var(--deep); }
.hub-item.hot h3 { color: var(--primary); }
.hub-item p { margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.hub-col.left .hub-item { flex-direction: row-reverse; text-align: right; }
.hub-mid { position: relative; grid-column: 2; grid-row: 1; display: grid; place-items: center; aspect-ratio: 1; }
.hub-mid .ring { position: absolute; inset: 0; border: 2px dashed #ffcf9c; border-radius: 50%; }
.hub-mid .disc { position: absolute; inset: 9%; background: var(--c-gradient); border-radius: 50%; }
.hub-mid img { position: relative; width: 88%; height: auto; filter: drop-shadow(0 14px 20px rgba(90,40,0,.3)); }

/* ---- phủ sóng: bản đồ + khu vực (chuyển từ theme Food) ---- */
.cover-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.cover .sec-head { text-align: left; margin: 0; }
.map-box { background: radial-gradient(closest-side, #ffeedd, var(--cream) 70%, rgba(255,246,236,0)); }
.map-box img { display: block; width: min(100%, 420px); height: auto; margin: 0 auto; filter: drop-shadow(0 20px 30px rgba(110,44,0,.12)); }
.areas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.areas :is(span, a) {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line); font-weight: 600; font-size: 14px; transition: background .2s, color .2s, border-color .2s;
}
.areas :is(span, a)::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.areas :is(span, a):hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.areas :is(span, a):hover::before { background: #fff; }
.areas .more { background: var(--deep); color: #fff; border-color: var(--deep); }
.areas .more::before { background: var(--amber); }
.mini-stats { display: flex; gap: 40px; margin-top: 34px; }
.mini-stats b { display: block; font-size: 34px; font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -.02em; }
.mini-stats span { font-size: 14px; color: var(--muted); }

/* ---- câu hỏi thường gặp (chuyển từ theme Food) ---- */
.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq .sec-head { text-align: left; margin: 0; }
.help {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 14px 22px 14px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: border-color .2s, box-shadow .2s;
}
.help:hover { border-color: #ffd2a8; box-shadow: 0 16px 34px rgba(255,126,1,.1); }
.help .i { width: 50px; height: 50px; border-radius: 16px; background: var(--primary); color: #fff; display: grid; place-items: center; flex: none; }
.help .i svg { width: 24px; height: 24px; }
.help b { font-size: 16px; font-weight: 700; }
.acc { display: grid; gap: 14px; }
.acc details { background: #fff; border-radius: 20px; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.acc details[open] { border-color: #ffd2a8; box-shadow: 0 16px 34px rgba(255,126,1,.1); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { width: 32px; height: 32px; border-radius: 50%; background: var(--cream); flex: none; position: relative; transition: background .3s; }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--primary); translate: -50% -50%; border-radius: 2px; }
.acc summary i::after { rotate: 90deg; transition: rotate .3s; }
.acc details[open] summary i { background: var(--primary); }
.acc details[open] summary i::before, .acc details[open] summary i::after { background: #fff; }
.acc details[open] summary i::after { rotate: 0deg; }
.acc .ans { padding: 0 24px 22px; color: var(--muted); line-height: 1.75; font-size: 15px; }

@media (max-width: 1080px) {
  .cover-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; align-items: start; margin-top: 32px; }
  .hub-col, .hub-col.right { grid-column: auto; grid-row: 2; }
  .hub-mid { grid-column: 1 / -1; grid-row: 1; width: min(280px, 80%); margin: 0 auto 14px; }
  .hub-item, .hub-col.left .hub-item { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; text-align: left; }
  .hub-item > img { width: 60px; height: 60px; }
  .hub-item h3 { font-size: 17px; }
  .hub-item p { font-size: 13.5px; }
  .mini-stats { gap: 24px; flex-wrap: wrap; }
  .acc summary { padding: 16px 18px; font-size: 16px; }
  .acc .ans { padding: 0 18px 18px; }
}

/* ================= TABLET / PHONE ================= */
@media (max-width: 1100px) {
  .site-nav { display: none; }
  .site-header .wrap { grid-template-columns: auto 1fr; gap: 16px; }
  .site-header .c-burger { display: grid; }
}
@media (min-width: 1101px) {
  .site-header .c-burger { display: none; }
}
@media (max-width: 900px) {
  .hero {
    --u: 1px;
    aspect-ratio: auto; margin-top: 0; padding: 16px 16px 32px;
    display: flex; flex-direction: column; gap: 20px;
    container-type: normal;
  }
  .hero > *, .carousel > * { position: static !important; }
  .site-header .actions .cta-pill { display: none; }
  .partner-menu { width: min(340px, calc(100vw - 32px)); }
  .headline { order: 4; width: auto; margin-top: 8px; font-size: clamp(24px, 6.4vw, 44px); line-height: 1.22; text-wrap: balance; }
  .lead { order: 5; width: auto; margin-top: -8px; font-size: 15.5px; line-height: 1.6; }
  /* khối ảnh: thẻ nền kem bo góc, bản đồ phía sau bên phải, tài xế đứng sát đáy bên trái */
  .visual {
    order: 6; position: relative !important; left: auto; top: auto; width: 100%; height: auto;
    aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto; overflow: hidden; border-radius: 28px;
    background: linear-gradient(165deg, #fff8f0 0%, #ffe8d2 100%);
  }
  .visual > * { position: absolute !important; }
  .visual .glow { left: -12%; top: 22%; width: 84%; height: auto; aspect-ratio: 1; background: radial-gradient(closest-side, #fff 0%, rgba(255,255,255,.6) 55%, rgba(255,255,255,0) 100%); }
  .visual .map { left: auto; right: -2%; top: 4%; width: 54%; height: auto; opacity: 1; }
  .visual .courier { left: 0; top: auto; bottom: 0; width: 62%; filter: drop-shadow(10px 8px 14px rgba(80,40,0,.22)); }
  /* dải ảnh: vuốt ngang tràn viền, bỏ nút "trước" */
  .carousel { order: 7; display: block; margin: 0 -16px; }
  .prev { display: none; }
  .thumbs {
    gap: 12px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; padding: 0 16px 14px; scroll-padding-inline: 16px;
  }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumb { width: min(40vw, 200px); height: auto; aspect-ratio: 1; border-radius: 20px; scroll-snap-align: start; box-shadow: 0 8px 18px var(--shadow); }
  .thumb figcaption { left: 10px; bottom: 10px; font-size: 12.5px; padding: 6px 11px; }
  .follow { order: 8; margin-top: -4px; font-size: 14px; }
  .follow .icons a { width: 34px; height: 34px; }

  section.block { padding: 72px 0; }
  .hero-stats { margin-top: -8px; }
  .hero-stats .box { flex-wrap: wrap; row-gap: 8px; padding: 8px; border-radius: 26px; }
  .hero-stats .main { flex-basis: 100%; gap: 12px; padding: 12px; border-radius: 20px; }
  .hero-stats .faces > * { width: 42px; height: 42px; }
  .hero-stats .box > dl { grid-template-columns: 1fr; row-gap: 6px; align-content: start; padding: 6px 12px 10px; }
  .hero-stats .box > dl::before { grid-row: auto; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 32px; }
  .partners { grid-template-columns: 1fr; gap: 12px; }
  .partner-card { grid-template-columns: 1fr 36%; height: 208px; }
  .partner-card > div { padding: 16px 12px 16px 18px; }
  .partner-card b { font-size: 20px; }
  .partner-card b.big { font-size: 42px; }
  .partner-card p { font-size: 13.5px; }
  .partner-card .more { margin-top: 6px; font-size: 14px; }
  .how-grid { grid-template-columns: 1fr; gap: 24px; }
  .how-art { min-height: 480px; }
  .phone { width: 200px; border-radius: 34px; padding: 7px; }
  .phone img { border-radius: 28px; }
  .chip { font-size: 12px; padding: 6px 12px 6px 6px; }
  .chip img { width: 36px; height: 36px; }
  .chip.c1 { top: 10%; }
  .chip.c2 { bottom: 10%; }
  .news-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .news-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .cta-card { --t: 480px; min-height: 0; padding-bottom: 270px; }
  .cta-copy { width: 100%; padding: 24px 20px 0; }
  .cta-logo { height: 38px; }
  .cta h2 { font-size: clamp(32px, 9vw, 42px); }
  .cta p { font-size: 16px; max-width: none; }
  .cta .store { --u: .9px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 20px; }
  .cta .store .badge-store { justify-content: center; padding: 0 8px; }
  .cta-rider { right: 4%; bottom: 4px; height: 250px; }
  .cta-shade { bottom: -14px; height: 24px; }
  .cta-puff { width: 14px; height: 14px; }
  .d-footer { padding: 48px 0 calc(24px + env(safe-area-inset-bottom)); }
  .d-footer .top { grid-template-columns: 1fr; gap: 36px; }
  .d-footer .slogan { max-width: 420px; }
  .d-footer .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .d-footer .contact { grid-column: 1 / -1; }
  .d-footer .band { margin-top: 36px; padding: 18px; }
}
@media (max-width: 359px) {
  /* Màn rất hẹp: chỉ giữ logo + nút menu (mục đối tác vẫn có trong drawer) */
  .site-header .actions .partner { display: none; }
}
@media (min-width: 901px) {
  .carousel { display: contents; }
}

/* =====================================================================
   Tinh chỉnh điện thoại: tin tức trượt ngang thay vì xếp dọc
   ===================================================================== */
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc { padding: 10px 14px 10px 10px; border-radius: 16px; }
  .svc img { width: 48px; height: 48px; }
  .d-footer .band { flex-direction: column; align-items: flex-start; }
  .d-footer .apps { flex-direction: column; align-items: flex-start; gap: 12px; }
  .d-footer .bottom { flex-direction: column-reverse; gap: 14px; padding-bottom: 64px; }
  .news-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 320px); gap: 16px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -16px; padding: 0 16px 8px; scroll-padding-inline: 16px;
  }
  .news-grid::-webkit-scrollbar { display: none; }
  .news-card { scroll-snap-align: start; }
}
