/* =========================================================
   SUPERITY — giao diện "dải màu" (phỏng phong cách bbtv.com)
   Màu thương hiệu lấy từ logo: navy #12263F + ngọc #14B8A6.
   Đổi màu chỉ sửa ở :root.
   ========================================================= */
:root {
  --navy: #12263F;
  --navy-deep: #0C1B2E;
  --navy-2: #1B3A5C;
  --teal: #14B8A6;
  --teal-dark: #0F8F82;
  --mint: #DDF4F0;
  --sand: #F4EFE6;
  --white: #FFFFFF;
  --ink: #12263F;
  --ink-soft: #4A5D73;
  --on-dark: #FFFFFF;
  --on-dark-soft: #B7C6D6;
  --container: 1200px;
  --radius: 22px;
  --head: "Poppins", "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font-size: 20px; font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Dải màu ---------- */
.band { padding: 110px 0; position: relative; }
.band--slim { padding: 90px 0 50px; }
.band--navy { background: var(--navy); color: var(--on-dark); }
.band--navy p { color: var(--on-dark-soft); }
.band--sand { background: var(--sand); }
.band--white { background: var(--white); }
.band--teal { background: var(--teal); color: var(--navy); }
.band p { color: var(--ink-soft); }
.band--navy p { color: var(--on-dark-soft); }

.head { text-align: center; margin-bottom: 56px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.band--slim .head { margin-bottom: 0; }

.eyebrow {
  display: inline-block; font-family: var(--head); font-weight: 700; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
}
.eyebrow--dark { color: var(--teal-dark); }
.eyebrow--navy { color: var(--navy); }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--teal { background: var(--teal); color: var(--navy); }
.btn--teal:hover { background: #2DD4BF; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline:hover { border-color: var(--teal); color: var(--teal); }
.btn--full { width: 100%; }

.round-btn {
  width: 58px; height: 58px; border-radius: 50%; background: var(--teal); display: grid; place-items: center;
  transition: transform .2s; animation: bob 2.4s ease-in-out infinite;
}
.round-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Thanh điều hướng ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled, .nav.menu-open { background: var(--navy); box-shadow: 0 6px 24px -12px rgba(0,0,0,.5); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__logo img { height: 54px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 34px; font-family: var(--head); font-weight: 600; font-size: 15px; color: #fff; }
.nav__links a { position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--teal); transition: right .25s;
}
.nav__links a:not(.nav__cta):hover::after { right: 0; }
.nav__cta { padding: 9px 22px; border-radius: 999px; background: var(--teal); color: var(--navy); }
.nav__toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; right: -260px; top: -260px;
  background: radial-gradient(circle, rgba(20,184,166,.22), transparent 65%);
}
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
/* Ảnh trong khung vòm + logo S đè góc dưới trái + vòng tròn trang trí */
.hero__art { position: relative; width: 100%; max-width: 470px; margin: 0 auto; padding: 0 0 40px 40px; }
.hero__arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border: 6px solid rgba(255,255,255,.06);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18,38,63,.55)); }
.hero__ring {
  position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; right: -12%; top: -6%;
  border: 2px solid rgba(20,184,166,.45);
}
.hero__mark {
  position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 1; border-radius: 28px;
  background: #fff; box-shadow: 0 24px 50px -18px rgba(0,0,0,.55);
}
/* đặt tuyệt đối theo chính ô (padding % sẽ tính theo khung CHA → logo bé tí) */
.hero__mark svg { position: absolute; inset: 18%; width: 64%; height: 64%; max-width: none; }
.hero__chip {
  position: absolute; right: -6%; bottom: 22%; display: flex; gap: 12px; align-items: center;
  background: rgba(12,27,46,.88); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 12px 18px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  animation: float 6s ease-in-out infinite;
}
.hero__chip small { display: block; font-size: 12px; color: var(--on-dark-soft); }
.hero__chip strong { font-size: 14.5px; font-family: var(--head); font-weight: 700; color: #fff; }
.hero__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(20,184,166,.2); flex-shrink: 0; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero__text h1 { font-size: clamp(42px, 5.6vw, 72px); margin: 18px 0 22px; }
.rotator { display: inline-block; white-space: nowrap; color: var(--teal); transition: opacity .35s, transform .35s; }
.rotator.is-out { opacity: 0; transform: translateY(10px); }
.lead { font-size: 18px; max-width: 540px; color: var(--on-dark-soft) !important; }
.hero__actions { display: flex; align-items: center; gap: 18px; margin-top: 34px; }

/* ---------- Hai cột chữ + ảnh ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--top { align-items: start; }
.split__text h2 { margin: 14px 0 22px; }
.split__text p + p { margin-top: 14px; }
.split__text .btn { margin-top: 30px; }

/* Ảnh duotone: ảnh xám chồng lên nền màu, chế độ nhân màu */
.duo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; }
.duo--teal { background: var(--teal); }
.split__media { border-radius: 160px 22px 22px 22px; }

/* ---------- Sứ mệnh / Tầm nhìn ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv__card { border-radius: var(--radius); padding: 46px 44px; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; }
.mv__card h3 { font-size: 30px; margin-bottom: 14px; font-weight: 800; }
.mv__card p { font-size: 17.5px; }
.mv__card--teal { background: var(--mint); }
.mv__card--teal h3 { color: var(--teal-dark); }
.mv__card--navy { background: var(--navy); color: #fff; }
.mv__card--navy p { color: var(--on-dark-soft); }

/* ---------- Giá trị ---------- */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value { border-top: 3px solid var(--teal); padding-top: 22px; }
.value span { font-family: var(--head); font-weight: 800; font-size: 34px; color: var(--teal); display: block; line-height: 1; margin-bottom: 16px; }
.value h3 { margin-bottom: 8px; }
.value p { font-size: 15px; }

/* ---------- Dải dịch vụ có ảnh nền ---------- */
.feature { position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: center; }
.feature__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .55;
}
.feature--teal { background: var(--teal); color: var(--navy); }
.feature--navy { background: var(--navy-2); color: #fff; }
.feature--navy .feature__bg { mix-blend-mode: luminosity; opacity: .28; }
.feature--mint { background: var(--mint); color: var(--navy); }
.feature--mint .feature__bg { opacity: .3; }
/* lớp màu đậm dần về phía khối chữ để chữ luôn đọc rõ */
.feature::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.feature--teal::after { background: linear-gradient(90deg, transparent 20%, rgba(20,184,166,.95) 62%); }
.feature--navy::after { background: linear-gradient(270deg, transparent 20%, rgba(27,58,92,.96) 62%); }
.feature--mint::after { background: linear-gradient(90deg, transparent 20%, rgba(221,244,240,.96) 62%); }
.feature__inner { position: relative; z-index: 1; padding-top: 90px; padding-bottom: 90px; display: flex; flex-direction: column; align-items: flex-start; }
.feature__inner > * { max-width: 520px; }
.feature__inner--right { align-items: flex-end; text-align: right; }
.feature__inner--right > * { margin-left: auto; }
.feature__inner h2 { margin-bottom: 26px; }
.feature__items { display: grid; gap: 20px; margin-bottom: 32px; }
.feature__items h3 { margin-bottom: 6px; }
.feature--teal p, .feature--mint p { color: #1E3B57; }
.feature--navy p { color: var(--on-dark-soft); }

/* ---------- Số liệu ---------- */
.band--teal .head { margin-bottom: 36px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: var(--head); font-size: clamp(44px, 5.6vw, 72px); font-weight: 800; color: var(--navy); line-height: 1.05; }
.stat span { color: #123B4A; font-weight: 600; }

/* ---------- Thể loại ---------- */
.genres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.genre {
  position: relative; height: 230px; border-radius: var(--radius); overflow: hidden; background: var(--navy);
  display: flex; align-items: flex-end; padding: 24px; color: #fff;
}
.genre img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1); mix-blend-mode: luminosity; opacity: .6; transition: filter .5s, opacity .5s, transform .6s;
}
.genre::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(12,27,46,.85)); }
.genre span { position: relative; z-index: 1; font-family: var(--head); font-weight: 700; font-size: 20px; }
.genre:hover img { filter: none; mix-blend-mode: normal; opacity: 1; transform: scale(1.05); }

/* ---------- Đối tác ---------- */
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { background: #fff; border-radius: 16px; padding: 18px 20px 18px 56px; position: relative; color: var(--ink-soft); }
.checks li b { color: var(--ink); }
.checks li::before {
  content: "✓"; position: absolute; left: 18px; top: 17px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 13px;
}
.logos__label { text-align: center; margin: 70px 0 24px; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft) !important; }
/* Logo giữ MÀU GỐC trên ô trắng — vài logo là ảnh có nền sẵn */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-slot { height: 100px; border-radius: 16px; background: #fff; display: grid; place-items: center; padding: 16px 22px; transition: transform .3s, box-shadow .3s; }
.logo-slot:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -16px rgba(18,38,63,.4); }
/* Cân "độ nặng thị giác": logo dài bị giới hạn bề ngang, logo vuông được cao hơn */
.logo-slot img { max-height: 44px; max-width: 72%; width: auto; height: auto; object-fit: contain; }
.logo-slot img.is-square { max-height: 66px; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 100px 0; }
.cta h2 { max-width: 900px; margin: 0 auto; font-size: clamp(26px, 3.4vw, 40px); }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Liên hệ ---------- */
.contact__list { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #E3E8EE; color: var(--ink); }
.contact__list span { width: 90px; color: var(--ink-soft); flex-shrink: 0; }
.contact__list a { color: var(--teal-dark); font-weight: 600; }
.form { display: grid; gap: 16px; background: var(--sand); border-radius: var(--radius); padding: 34px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; }
.form input, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #E1DACE; border-radius: 12px; padding: 13px 15px; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,184,166,.2); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #fff; padding: 72px 0 26px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr 0.8fr; gap: 32px; }
.footer__brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer p { color: var(--on-dark-soft); font-size: 14.5px; }
.footer h4 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer__label { margin-bottom: 4px; }
.footer a { display: block; color: var(--teal); font-weight: 600; font-size: 14.5px; margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer__copy {
  margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--on-dark-soft);
}
.footer__copy a { display: inline; margin: 0; font-weight: 500; color: var(--on-dark-soft); }

.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: var(--navy); display: grid; place-items: center; font-weight: 800;
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 40; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Hiện dần khi cuộn ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .round-btn { animation: none; }
}

/* =========================================================
   Máy tính bảng
   ========================================================= */
@media (max-width: 1024px) {
  /* 5 giá trị → 3 + 2 (2 ô dưới rộng hơn), không chừa ô trống */
  .values { grid-template-columns: repeat(6, 1fr); row-gap: 34px; }
  .value { grid-column: span 2; }
  .value:nth-child(4), .value:nth-child(5) { grid-column: span 3; }
  .footer__inner { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .split { gap: 48px; }
}

/* Điện thoại + máy tính bảng dọc */
@media (max-width: 860px) {
  .band { padding: 80px 0; }
  .band--slim { padding: 70px 0 40px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 6px 28px 24px; border-top: 1px solid rgba(255,255,255,.1);
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a:not(.nav__cta) { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__links a::after { display: none; }
  .nav__cta { margin-top: 18px; text-align: center; padding: 13px; }

  .hero { min-height: auto; padding-top: 110px; }
  .hero__inner, .split, .mv { grid-template-columns: 1fr; }
  .hero__art { order: 2; }
  .hero__art { max-width: 340px; padding: 0 0 28px 28px; }
  .hero__chip { right: -4%; padding: 10px 14px; }
  .hero__chip strong { font-size: 13px; }
  .split__media { border-radius: 110px 22px 22px 22px; }

  .values { grid-template-columns: 1fr 1fr; }
  .value, .value:nth-child(4) { grid-column: span 1; }
  .value:nth-child(5) { grid-column: span 2; }

  .feature { min-height: auto; }
  .feature__inner, .feature__inner--right { align-items: flex-start; text-align: left; padding-top: 70px; padding-bottom: 70px; }
  .feature__inner--right > * { margin-left: 0; }
  .feature--teal::after { background: rgba(20,184,166,.88); }
  .feature--navy::after { background: rgba(27,58,92,.9); }
  .feature--mint::after { background: rgba(221,244,240,.9); }

  .stats { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .genres { grid-template-columns: 1fr 1fr; }
  .genre { height: 170px; }
  .genre span { font-size: 16px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logo-slot { height: 86px; }
  .logo-slot img { max-height: 34px; max-width: 78%; }
  .logo-slot img.is-square { max-height: 56px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .nav__logo img { height: 46px; }
  .lead { font-size: 16.5px; }
  .mv__card { padding: 32px 26px; min-height: 0; }
  .form { padding: 24px 18px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__copy { flex-direction: column; }
}
