/* ProTek — trang giới thiệu. Navy #0C2342 làm chữ, cam #F26A0F làm điểm nhấn, nền sáng #F4F6FA. */

:root {
  --navy: #0C2342;
  --navy-soft: #41567A;
  --orange: #F26A0F;
  --orange-dark: #A33F00;
  --bg: #F4F6FA;
  --line: #DCE4F0;
  --white: #FFFFFF;
  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  margin: 0;
  font-family: 'Be Vietnam Pro', 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orange-dark); }

h1, h2, h3 { line-height: 1.25; margin: 0 0 16px; letter-spacing: -0.015em; }
h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 16px; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.wrap.narrow { width: min(820px, calc(100% - 40px)); }
.center { text-align: center; }

.skip {
  position: absolute;
  left: -9999px;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
}
.skip:focus { left: 16px; top: 16px; z-index: 50; }

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin: 0 0 12px;
}

.lead, .section-lead { font-size: clamp(17px, 2vw, 20px); color: var(--navy-soft); max-width: 62ch; }
.section-lead { margin-bottom: 40px; }
.center .section-lead { margin-inline: auto; }

.note {
  font-size: 15px;
  color: var(--navy-soft);
  background: var(--bg);
  border-left: 3px solid var(--line);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin-top: 20px;
}
.note.light { background: rgba(255, 255, 255, .08); color: #BBCBE4; border-left-color: rgba(255, 255, 255, .25); }

/* ── nút ─────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-sm { padding: 10px 20px; font-size: 15px; }
.btn-primary { background: var(--orange); color: #241000; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { border: 2px solid var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); }
.section-dark .btn-ghost, .section-cta .btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.section-dark .btn-ghost:hover, .section-cta .btn-ghost:hover { border-color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }
.center-row { justify-content: center; }

/* ── đầu trang ───────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { margin-right: auto; display: flex; }
.brand img { width: 128px; height: auto; }
.nav { display: none; gap: 26px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--orange-dark); }

/* ── hero ────────────────────────────────────── */
.hero { padding: 56px 0 64px; background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%); }
.hero-grid { display: grid; gap: 40px; }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 28px 0 0; }
.hero-tags li {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-soft);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
}
.hero-shot { margin: 0; }
.hero-shot img, .feature-shot img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(12, 35, 66, .14);
}
.hero-shot figcaption { font-size: 14px; color: var(--navy-soft); margin-top: 12px; }

/* ── dải số ──────────────────────────────────── */
.band { background: var(--navy); color: #fff; padding: 36px 0; }
.band-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; text-align: center; }
.band-grid strong { display: block; font-size: 42px; font-weight: 800; color: #FF8A33; line-height: 1.1; }
.band-grid span { font-size: 15px; color: #BBCBE4; }

/* ── khối chung ──────────────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #FF8A33; }
.section-dark .section-lead { color: #BBCBE4; }
.section-cta { background: var(--navy); color: #fff; }
.section-cta h2 { color: #fff; }
.section-cta .eyebrow { color: #FF8A33; }
.section-cta .section-lead { color: #BBCBE4; }
.section-cta .note { background: rgba(255, 255, 255, .08); color: #BBCBE4; border-left-color: rgba(255, 255, 255, .25); display: inline-block; margin-top: 28px; }

/* ── thẻ ─────────────────────────────────────── */
.cards { display: grid; gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.section-alt .card { background: var(--white); }
.card h3 { font-size: 18px; }
.card p { margin: 0; color: var(--navy-soft); font-size: 16px; }

/* ── khối tính năng ──────────────────────────── */
.feature { display: grid; gap: 28px; align-items: center; margin-top: 48px; }
.feature:first-of-type { margin-top: 0; }
.feature-shot { margin: 0; }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 14px; color: var(--navy-soft); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}
.ticks li b { color: var(--navy); }

/* ── bốn bước đối soát ───────────────────────── */
.steps { display: grid; gap: 18px; margin-bottom: 52px; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.step span { display: block; font-size: 14px; font-weight: 800; color: var(--orange-dark); letter-spacing: .08em; margin-bottom: 10px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 15px; color: var(--navy-soft); }
.step.accent { border-color: #F7C39A; background: #FFF6EF; }

/* ── điện thoại ──────────────────────────────── */
.phones { display: grid; gap: 36px; margin-top: 8px; }
.phones figure { margin: 0; text-align: center; }
.phones img {
  width: 300px;
  max-width: 80%;
  margin-inline: auto;
  border-radius: 24px;
  border: 10px solid #081A33;
  background: #081A33;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}
.phones figcaption { font-size: 15px; color: #BBCBE4; margin-top: 18px; text-align: left; }

/* ── hỏi đáp ─────────────────────────────────── */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px 22px;
  margin-bottom: 14px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 24px;
  font-weight: 700;
  color: var(--orange-dark);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 14px 0 0; color: var(--navy-soft); }

/* ── chân trang ──────────────────────────────── */
.site-footer { background: var(--navy); color: #BBCBE4; padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 32px; }
.footer-grid h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: #8FA6C6; margin-bottom: 14px; }
.footer-grid p { font-size: 15px; margin-top: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #fff; text-decoration: none; }
.footer-grid a:hover { color: #FF8A33; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 40px;
  padding-top: 22px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: space-between;
}
.footer-legal p { margin: 0; }

/* ── màn rộng ────────────────────────────────── */
@media (min-width: 700px) {
  .band-grid { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .phones { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1000px) {
  .nav { display: flex; }
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
  .section { padding: 96px 0; }
  .cards.three, .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .feature { grid-template-columns: 1fr 1.15fr; gap: 56px; }
  .feature.reverse .feature-copy { order: 2; }
  .feature.reverse .feature-shot { order: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ══ hiệu ứng ════════════════════════════════════ */

/* Hiện dần khi cuộn tới. Chỉ ẩn khi script đã chạy, nên tắt JavaScript trang vẫn đọc đủ. */
.co-hieu-ung [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}
.co-hieu-ung [data-reveal].da-hien {
  opacity: 1;
  transform: none;
  transition: opacity .7s cubic-bezier(.22, .7, .3, 1) var(--tre, 0ms),
              transform .7s cubic-bezier(.22, .7, .3, 1) var(--tre, 0ms);
}

.card, .step { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover, .step:hover {
  transform: translateY(-4px);
  border-color: #C3D2E8;
  box-shadow: 0 18px 38px rgba(12, 35, 66, .10);
}

.feature-shot img, .hero-shot img { transition: transform .35s ease, box-shadow .35s ease; }
.feature-shot img:hover, .hero-shot img:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 32px 64px rgba(12, 35, 66, .20);
}

.btn { transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.btn-primary { box-shadow: 0 10px 24px rgba(242, 106, 15, .32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(242, 106, 15, .42); }

.nav a { position: relative; padding-bottom: 4px; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transition: right .25s ease;
}
.nav a:hover::after, .nav a.dang-xem::after { right: 0; }
.nav a.dang-xem { color: var(--orange-dark); }

/* Nền trang trí của hero. */
.hero { position: relative; overflow: hidden; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 620px;
  height: 620px;
  top: -280px;
  right: -200px;
  background: radial-gradient(circle, rgba(242, 106, 15, .16) 0%, rgba(242, 106, 15, 0) 68%);
}
.hero::after {
  width: 520px;
  height: 520px;
  bottom: -300px;
  left: -220px;
  background: radial-gradient(circle, rgba(12, 35, 66, .12) 0%, rgba(12, 35, 66, 0) 70%);
}
.hero-grid { position: relative; z-index: 1; }

/* ══ nút liên hệ nổi ═════════════════════════════ */
.lien-he-noi {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.lien-he-noi.hien { opacity: 1; visibility: visible; transform: none; }

.fab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(12, 35, 66, .30);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fab:hover { transform: scale(1.06); box-shadow: 0 14px 32px rgba(12, 35, 66, .38); }
.fab-zalo { background: #0068FF; }
.fab-goi { background: var(--orange); color: #241000; }
.fab-chu { font-size: 16px; letter-spacing: -.02em; }

/* Nhãn hiện ra khi rê chuột. */
.fab-nhan {
  position: absolute;
  right: 72px;
  white-space: nowrap;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.fab:hover .fab-nhan { opacity: 1; transform: none; }

/* Vòng sóng quanh nút gọi. */
.fab-goi::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--orange);
  animation: song 2.4s ease-out infinite;
}
@keyframes song {
  0% { transform: scale(1); opacity: .8; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ══ thanh liên hệ dưới màn hình điện thoại ══════ */
.thanh-lien-he {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  box-shadow: 0 -6px 22px rgba(12, 35, 66, .28);
}
.thanh-lien-he a {
  padding: 15px 10px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.thanh-lien-he a.zalo { background: #0068FF; }

@media (min-width: 700px) {
  .thanh-lien-he { display: none; }
}
@media (max-width: 699px) {
  .lien-he-noi { display: none; }
  body { padding-bottom: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .co-hieu-ung [data-reveal] { opacity: 1; transform: none; }
  .fab-goi::before { animation: none; }
}

/* Lời kêu gọi hành động chen giữa nội dung. */
.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  font-weight: 600;
  font-size: 18px;
}

/* Điện thoại và máy tính bảng: thanh mục lục cuộn ngang thay cho menu ẩn. */
@media (max-width: 999px) {
  .header-row { flex-wrap: wrap; row-gap: 0; min-height: 64px; }
  .nav {
    display: flex;
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding: 0 0 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: 14px; }
}
