  /* Bộ nhận diện Tấn Phúc Badminton */
  :root {
    --navy: #142B42;
    --ink: #222B35;
    --green: #418d49;
    --green-dark: #357540;
    --green-light: #6cbf75; /* xanh lá sáng hơn, dùng cho chữ trên nền navy */
    --light: #F4F6F8;
    --white: #ffffff;
    --muted: #5b6573;
    --muted-on-dark: #b9c4d0;
    --line: #e1e6ec;
    --line-dark: rgba(255,255,255,.12);
    --zalo: #0068ff;
    --radius: 14px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--light);
    color: var(--ink);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
  }
  /* Font tiêu đề: chữ đứng, hẹp, mang chất thể thao */
  h1, h2, h3, .logo, .stat b, .book .phone, .eyebrow, .btn {
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    letter-spacing: .5px;
  }
  h1, h2, .logo, .stat b { text-transform: uppercase; }
  .btn { text-transform: uppercase; letter-spacing: 1px; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

  /* Thanh thông tin trên cùng */
  .topbar { background: var(--ink); font-size: 14px; color: var(--muted-on-dark); }
  .topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 8px; padding-bottom: 8px; }
  .topbar b { color: var(--white); font-weight: 500; }

  /* Menu */
  header.nav { position: sticky; top: 0; z-index: 20; background: var(--navy); border-bottom: 1px solid var(--line-dark); color: var(--white); }
  header.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
  .logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; letter-spacing: .5px; white-space: nowrap; }
  .logo img { height: 38px; width: auto; flex: none; display: block; }
  .logo span em { font-style: normal; color: var(--green-light); }
  .menu { display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
  .menu a { color: rgba(255,255,255,.75); padding: 4px 0; }
  .menu a:hover { color: var(--white); }
  .menu a.active { color: var(--white); box-shadow: inset 0 -2px 0 var(--green-light); }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 18px; border: 0; cursor: pointer; white-space: nowrap; }
  .btn svg { width: 18px; height: 18px; }
  .btn-main { background: var(--green); color: var(--white); }
  .btn-main:hover { background: var(--green-dark); }
  .btn-zalo { background: var(--zalo); color: var(--white); }
  .btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.5); }
  .btn-ghost:hover { background: rgba(255,255,255,.08); }
  .nav .btn { padding: 9px 16px; font-size: 16px; }

  /* Phần đầu trang (nền navy) */
  .hero, .page-hero { color: var(--white); background:
      radial-gradient(800px 400px at 85% 10%, rgba(65,141,73,.35), transparent 60%),
      linear-gradient(180deg, var(--navy), #0f2236); }
  .hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
  .hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
  .eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
  .hero .eyebrow, .page-hero .eyebrow { color: var(--green-light); }
  h1 { font-size: clamp(42px, 8vw, 72px); line-height: 1.05; margin: 0 0 16px; font-weight: 800; }
  h1 em { font-style: normal; color: var(--green-light); white-space: nowrap; }
  .lead { font-size: 18px; color: var(--muted-on-dark); margin: 0 0 28px; max-width: 520px; }
  .cta { display: flex; flex-wrap: wrap; gap: 12px; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; max-width: 520px; }
  .stat { background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 14px; }
  .stat b { display: block; font-size: 30px; font-weight: 800; line-height: 1.2; }
  .stat span { font-size: 13px; color: var(--muted-on-dark); }
  .court-art { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }

  /* Các mục (nền sáng) */
  section.block { padding: 72px 0; }
  section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
  h2 { font-size: clamp(32px, 5vw, 46px); margin: 0 0 10px; font-weight: 800; line-height: 1.2; color: var(--navy); }
  .head p { color: var(--muted); margin: 0; }

  .services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .svc { background: var(--light); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: transform .2s, border-color .2s, box-shadow .2s; }
  .svc:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 12px 30px rgba(20,43,66,.08); }
  .svc .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }
  .svc .ic svg { width: 32px; height: 32px; color: var(--white); }
  .svc h3 { margin: 0 0 8px; font-size: 22px; text-transform: uppercase; letter-spacing: .5px; color: var(--navy); }
  .svc p { margin: 0; color: var(--muted); font-size: 15px; }

  .info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
  .info-list { display: grid; gap: 14px; align-content: start; }
  .row { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
  .row .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(65,141,73,.12); color: var(--green); display: grid; place-items: center; }
  .row .ic svg { width: 22px; height: 22px; }
  .row small { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
  .row strong { font-size: 17px; font-weight: 700; color: var(--navy); }
  .map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 340px; background: var(--white); }
  .map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

  .book { text-align: center; padding: 56px 24px; border-radius: 20px; color: var(--white); background:
      radial-gradient(500px 250px at 100% 0%, rgba(65,141,73,.4), transparent 60%),
      linear-gradient(135deg, var(--navy), var(--ink)); }
  .book h2 { margin-bottom: 8px; color: var(--white); }
  .book p { margin: 0 0 24px; color: var(--muted-on-dark); }
  .book .phone { display: block; font-size: clamp(30px, 7vw, 48px); font-weight: 800; letter-spacing: 1px; margin-bottom: 24px; }
  .book .cta { justify-content: center; }

  footer { padding: 40px 0 110px; color: var(--muted-on-dark); font-size: 14px; text-align: center; background: var(--ink); }
  footer b { color: var(--white); }
  footer img { width: 120px; height: auto; display: block; margin: 0 auto 16px; }

  section[id] { scroll-margin-top: 110px; }

  /* Trang con: phần đầu trang */
  .page-hero { padding: 48px 0 40px; }
  .crumb { font-size: 14px; color: var(--muted-on-dark); margin-bottom: 12px; }
  .crumb a { color: var(--muted-on-dark); text-decoration: underline; text-underline-offset: 3px; }
  .crumb a:hover { color: var(--white); }
  .page-hero h1 { font-size: clamp(40px, 7vw, 64px); margin-bottom: 10px; }
  .page-hero .lead { margin-bottom: 0; }
  .facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }

  /* Bảng giá */
  .price-wrap { max-width: 820px; margin: 0 auto; }
  .price { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .price th, .price td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
  .price tr:last-child td { border-bottom: 0; }
  .price thead th { background: var(--navy); color: var(--white); font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 18px; text-transform: uppercase; letter-spacing: 1px; }
  .price td:first-child { color: var(--muted); }
  .price td.money { font-weight: 700; white-space: nowrap; color: var(--navy); }
  .price-note { color: var(--muted); font-size: 14px; margin: 14px 0 0; text-align: center; }

  /* Hình ảnh sân */
  .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--light); border: 1px solid var(--line); aspect-ratio: 4 / 3; }
  .gallery figure.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .gallery .ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 14px; padding: 12px;
      background: repeating-linear-gradient(135deg, #eef1f4 0 14px, #e7ebef 14px 28px); }

  /* Nút gọi nổi trên điện thoại */
  .float-bar { display: none; }

  @media (max-width: 900px) {
    .hero .wrap { grid-template-columns: 1fr; }
    .court-art { max-width: 420px; margin: 0 auto; }
    .services { grid-template-columns: 1fr 1fr; }
    .info { grid-template-columns: 1fr; }
    header.nav .wrap { flex-wrap: wrap; height: auto; min-height: 64px; padding-top: 10px; row-gap: 6px; }
    .menu { order: 3; width: 100%; gap: 22px; overflow-x: auto; padding-bottom: 8px; font-size: 15px; white-space: nowrap; scrollbar-width: none; }
    .menu::-webkit-scrollbar { display: none; }
    .facts { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 560px) {
    .hero { padding: 40px 0 48px; }
    .lead { font-size: 16px; }
    .services { grid-template-columns: 1fr; }
    .svc { display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; text-align: left; padding: 20px; }
    .svc .ic { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
    .svc h3 { font-size: 21px; align-self: end; }
    section.block { padding: 52px 0; }
    .stat b { font-size: 26px; }
    .stat { padding: 12px 10px; }
    .nav .btn span { display: none; }
    .nav .btn { padding: 10px; }
    .topbar .hide-sm { display: none; }
    .float-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20,43,66,.08); }
    .float-bar .btn { padding: 14px 10px; }
    .price { font-size: 14px; }
    .price th, .price td { padding: 12px 10px; }
    .price thead th { font-size: 15px; letter-spacing: .5px; }
    .price td.money { white-space: normal; }
  }
  @media (max-width: 380px) {
    .logo { font-size: 20px; gap: 8px; min-width: 0; }
    .logo span { overflow: hidden; text-overflow: ellipsis; }
    .logo img { height: 32px; }
    .nav .btn { flex: none; }
    .float-bar { gap: 8px; padding-left: 10px; padding-right: 10px; }
    .float-bar .btn { font-size: 17px; padding: 13px 6px; gap: 6px; }
    .btn { padding: 12px 16px; }
  }
