/* ============================================================
   Minh Hưng PET — base: tokens, reset, type, nav, hero, stats
   Palette derived from the logo's primary blue (#1848A0).
   ============================================================ */

:root {
  --brand: #1848A0;
  --ground: #F2F1EC;
  --paper: #FBFBF8;
  --card: #FDFDFB;
  --ink: #101A2C;
  --body: #454D5C;
  --muted: #5F6672;
  --hair: #D9DCE3;
  --brass: #96601C;
  --brass-dark: #D8B25C;
  --soft: #E9EEF7;
  --tile: #D7E9FA;

  --display: 'Archivo', system-ui, sans-serif;
  --sans: 'Be Vietnam Pro', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --page: 1160px;
  --gutter: 40px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
b, strong { font-weight: 600; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

.label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.idx { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--brass); }
.mono { font-family: var(--mono); }
.num { font-family: var(--display); font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12.5px/1 var(--sans);
  letter-spacing: .1em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 3px;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-p { background: var(--brand); color: #F7F9FD; }
.btn-p:hover { background: #123B85; }
.btn-g { border-color: rgba(16, 26, 44, .28); color: var(--ink); }
.btn-g:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- utility bar ---------- */
.util { background: var(--ink); color: #B6BCC8; font-size: 12px; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 38px; }
.util b { color: #EDEAE2; font-weight: 500; }
.util-l, .util-r { display: flex; gap: 26px; align-items: center; }
.util .mono { font-size: 11.5px; letter-spacing: .04em; }

/* ---------- nav ---------- */
.nav { background: var(--ground); border-bottom: 1px solid var(--hair); position: sticky; top: 0; z-index: 20; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 92px; }
.brand { display: flex; align-items: center; }
.brand-lockup { height: 42px; width: auto; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: #3B4351; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 22px; }
.nav-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.nav-phone span { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav-phone b { font-family: var(--mono); font-size: 14px; font-weight: 500; }

/* ---------- hero ---------- */
.hero { overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px;
  padding-top: 74px; padding-bottom: 70px; align-items: start;
}
.hero-l { padding-top: 14px; }
.hero .label { margin-bottom: 26px; }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: 48px; line-height: 1.08; letter-spacing: -.035em;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-sub { margin-top: 26px; max-width: 490px; color: #3C4453; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--hair);
  font-size: 12px; color: var(--muted);
}
.hero-trust li + li::before { content: "•"; color: var(--brass); margin-right: 10px; }

.hero-r { position: relative; }
.hero-media { position: relative; height: 472px; overflow: hidden; border-radius: 2px; background: #6E737D; }
.hero-media > img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.7) contrast(1.02) brightness(1.06);
  will-change: transform;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(190deg, rgba(9, 26, 60, .05) 35%, rgba(9, 26, 60, .62));
}
.shot-tag {
  position: absolute; left: 0; top: 0; z-index: 2;
  background: var(--ground); font-size: 10.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; padding: 11px 16px;
}
.hero-r figcaption {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  color: #F3F5F9; font-size: 12.5px; line-height: 1.5; max-width: 250px;
}
.hero-r figcaption b {
  display: block; font-family: var(--mono); font-size: 11px;
  letter-spacing: .16em; color: #A8C4EC; margin-bottom: 6px;
}
.float-card {
  position: absolute; right: -26px; bottom: 56px; z-index: 3;
  background: var(--paper); border: 1px solid var(--hair);
  padding: 18px 22px; min-width: 196px;
  box-shadow: 0 18px 34px -24px rgba(16, 26, 44, .5);
}
.float-card .num { font-size: 30px; line-height: 1; color: var(--brand); }
.float-card span {
  display: block; font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-top: 8px;
}

/* ---------- stats strip ---------- */
.stats { background: var(--paper); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 24px 34px 0; border-right: 1px solid var(--hair); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: 38px; line-height: 1; letter-spacing: -.045em; }
.stat .num small { font-size: 20px; letter-spacing: -.02em; }
.stat span {
  display: block; margin-top: 10px; font-size: 12px; color: var(--muted);
  line-height: 1.45; max-width: 200px;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { height: 380px; }
  .float-card { right: 16px; bottom: 16px; }
  .nav-links { display: none; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--hair); }
}

@media (max-width: 620px) {
  :root { --gutter: 20px; }
  .hero h1 { font-size: 34px; }
  .hero-media { height: 300px; }
  .hero-trust { font-size: 11.5px; }
  .nav .wrap { gap: 14px; min-height: 76px; }
  .brand-lockup { height: 32px; }
  .nav-cta { gap: 10px; }
  .nav-phone, .util-r { display: none; }
  .btn { padding: 13px 18px; font-size: 11.5px; }
  .float-card { right: 12px; bottom: 12px; min-width: 0; padding: 14px 16px; }
  .float-card .num { font-size: 24px; }
  .stat { padding-right: 12px; }
  .stat .num { font-size: 30px; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  [data-parallax] { transform: none !important; }
}
