/* ==========================================================================
   DOVAPU AGENCY — Trang con (dịch vụ, bảng giá, case study)
   Dùng chung biến màu của dovapu-lab.css. Không sửa file gốc.
   ========================================================================== */

/* Menu dịch vụ 2 cột */
.nav__sub--wide { grid-template-columns: 1fr 1fr; min-width: 540px; column-gap: 6px; }
.nav__sub--wide .nav__sub-all { grid-column: 1 / -1; background: var(--yellow-100); }
.nav__sub--wide .nav__sub-sep { grid-column: 1 / -1; height: 1px; background: var(--line); margin: 4px 6px; }
.mobile-drawer .drawer-label {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange-600); margin-top: 10px;
}
.mobile-drawer a.sm { font-size: 0.96rem; font-weight: 600; }

/* Hero trang con */
.page-hero {
  padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 5vw, 64px);
  background: var(--cream);
  border-bottom: 1.5px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  border-radius: 50%; background: var(--orange-100); z-index: 0;
}
.page-hero .wrap { position: relative; z-index: 1; }
.crumb {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; color: var(--muted);
  margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px;
}
.crumb a { text-decoration: none; color: var(--ink-soft); }
.crumb a:hover { color: var(--orange-600); }
.page-hero__grid { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.page-hero h1 { font-size: clamp(2.15rem, 4.2vw, 3.7rem); line-height: 1.06; margin: 14px 0 16px; }
.page-hero h1 em { font-style: normal; color: var(--orange); }
.page-hero .lead { max-width: 60ch; }
.page-hero .btn-row { margin-top: 24px; }
@media (max-width: 960px) { .page-hero__grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--cream-card);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--stamp);
  padding: 26px;
}
.price-card__from {
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.price-card__val { font-size: clamp(1.7rem, 2.6vw, 2.25rem); font-weight: 800; color: var(--orange-600); line-height: 1.15; margin-top: 4px; font-variant-numeric: tabular-nums; }
.price-card__unit { font-size: 0.95rem; color: var(--ink-soft); font-weight: 600; }
.facts { list-style: none; padding: 0; margin: 18px 0 20px; display: grid; gap: 0; }
.facts li {
  display: flex; justify-content: space-between; gap: 16px; padding: 11px 0;
  border-top: 1px dashed var(--line); font-size: 0.88rem; color: var(--muted);
}
.facts li b { color: var(--ink); text-align: right; font-weight: 700; }
.price-card .btn + .btn { margin-top: 10px; }

/* Thanh mục lục dính */
.subnav {
  position: sticky; top: 78px; z-index: 50;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; text-decoration: none; font-size: 0.84rem; font-weight: 700; color: var(--ink-soft);
  padding: 6px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--cream-card);
}
.subnav a:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 1100px) { .subnav { top: 70px; } }

/* Phù hợp / chưa phù hợp */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .fit-grid { grid-template-columns: 1fr; } }
.fit-card { background: var(--cream-card); border: 1.5px solid var(--ink); border-radius: 18px; padding: 24px; }
.fit-card--no { background: var(--cream-50); border-style: dashed; border-color: var(--cream-300); }
.fit-card h3 { font-size: 1.12rem; margin-bottom: 12px; }
.fit-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fit-card li { position: relative; padding-left: 30px; font-size: 0.93rem; color: var(--ink-soft); line-height: 1.55; }
.fit-card li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 800;
  background: var(--green-100); color: var(--green-600); border: 1.5px solid var(--green-600);
}
.fit-card--no li::before { content: "✕"; background: var(--cream-200); color: var(--muted); border-color: var(--cream-300); }

/* Đầu vào / bàn giao */
.io-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.io-card {
  background: var(--cream-card); border: 1.5px solid var(--line); border-radius: 16px; padding: 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.io-card__n {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 800; color: var(--ink);
  background: var(--yellow); border: 1.5px solid var(--ink);
}
.io-card--out { border-color: var(--ink); }
.io-card--out .io-card__n { background: var(--green-100); border-color: var(--green-600); color: var(--green-600); }
.io-card h3 { font-size: 1rem; line-height: 1.35; margin-bottom: 5px; }
.io-card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.55; }

.promise { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } }
.promise > div { border-radius: 16px; padding: 20px 22px; font-size: 0.92rem; line-height: 1.6; }
.promise__yes { background: var(--yellow-100); border: 1.5px solid var(--ink); color: var(--ink); }
.promise__no { background: var(--cream-card); border: 1.5px dashed var(--cream-300); color: var(--ink-soft); }
.promise b { display: block; font-size: 0.98rem; margin-bottom: 6px; color: var(--ink); }

/* Bảng giá trên trang con: luôn hiện */
.panel.panel--show { display: block; }
.pay-line {
  margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.86rem;
}
.pay-line span {
  padding: 6px 12px; border-radius: var(--r-pill); background: var(--cream-card); border: 1.5px solid var(--line); font-weight: 600;
}

/* Thẻ dịch vụ dạng liên kết */
a.ev-card { text-decoration: none; color: inherit; }
a.ev-card .case-more, .ev-card .go { margin-top: auto; font-weight: 800; color: var(--orange-600); font-size: 0.9rem; }
.ev-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* Trang bảng giá: mỗi mảng một khối */
.price-block { padding-top: 8px; }
.price-block + .price-block { margin-top: 48px; padding-top: 40px; border-top: 1.5px dashed var(--cream-300); }
.price-block__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 8px; }
.price-block__head .mono { font-size: 0.78rem; font-weight: 800; color: var(--orange-600); letter-spacing: 0.1em; }
.price-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.price-jump a {
  text-decoration: none; font-size: 0.84rem; font-weight: 700; padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--cream-card); border: 1.5px solid var(--ink); color: var(--ink);
}
.price-jump a:hover { background: var(--yellow); }

/* Case study */
.cs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 26px; }
.cs-chip {
  font-size: 0.86rem; font-weight: 700; padding: 8px 16px; border-radius: var(--r-pill); cursor: pointer;
  background: var(--cream-card); border: 1.5px solid var(--ink); color: var(--ink);
}
.cs-chip[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
.cs-chip small { font-family: var(--font-mono); margin-left: 4px; opacity: 0.7; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.cs-card { position: relative; }
.cs-card[hidden] { display: none; }
.cs-card__logo {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--cream-50); display: grid; place-items: center; overflow: hidden;
}
.cs-card__logo.dk { background: var(--dark); border-color: var(--ink); }
.cs-card__logo img { max-width: 46%; max-height: 74%; object-fit: contain; }
.cs-card__meta { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700; color: var(--muted); }
.cs-card__meta b { color: var(--orange-600); }
.cs-card__result { font-size: 0.9rem; border-left: 3px solid var(--orange); padding: 6px 12px; background: var(--cream-50); border-radius: 0 8px 8px 0; }
.cs-card__result small { display: block; font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.cs-card__links { display: flex; gap: 14px; font-size: 0.86rem; font-weight: 800; }
.cs-card__links a { color: var(--orange-600); text-decoration: none; }
.cs-card__links a:hover { text-decoration: underline; }

/* Hộp liên hệ khu vực (bản Vinh) */
.local-strip {
  background: var(--ink); color: var(--on-dark); font-size: 0.86rem; text-align: center; padding: 8px 16px;
}
.local-strip a { color: var(--yellow); font-weight: 800; text-decoration: none; }

@media print {
  .nav, .subnav, .mobile-drawer, .zalo-fab, #lienhe, .footer__nl { display: none !important; }
  .panel { display: block !important; }
}
