/* Âm Nhạc Nốt Vàng (pianocenter) — trang chủ theo mockup pianocenter-home/mockups/home-desktop-v1.png (763px -> 1440 = x1.887) */
:root { --nv-dk: #202020; --nv-dk2: #1c1c1c; --nv-y: #ffde00; --nv-ink: #141414; --nv-mut: #5f5f5f; --nv-line: #d6d6d6;
  --nv-head: 'Be Vietnam Pro', 'Inter', sans-serif; --nv-sans: 'Be Vietnam Pro', 'Inter', Arial, sans-serif; }
body, p, li, a, span, div, input, select, textarea, button, label, .nav > li > a { font-family: var(--nv-sans) !important; }
h1, h2, .nv-h1, .nv-h2 { font-family: var(--nv-head) !important; }
h1 a, h2 a, h3 a, h4 a { font-family: inherit !important; }
.nv-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: 0 0 auto; }
#main, .home #main { background-color: #fff !important; background-image: none !important; }
.float-menu-1, .fm-bar, #button-contact-vr, .absolute-footer { display: none !important; }
.nv-mi { display: inline-block; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; flex: 0 0 auto; }

/* ---------- header (trong suốt trên hero) ---------- */
.header-main { box-shadow: none !important; }
#header.transparent .header-main, #header.transparent .header-bg-color { background: transparent !important; }
#header .header-wrapper { border-bottom: 0 !important; }
#header .header-main .header-inner.container { max-width: 1240px !important; }
@media (min-width: 1300px) { #header #logo { margin-left: 26px !important; } }
#logo { width: 272px !important; position: relative; margin: 0 !important; top: 0 !important; }
#header #logo a { display: inline-flex; align-items: center; gap: 12px; font: 600 24px/1 var(--nv-sans) !important; letter-spacing: -.005em; text-transform: none !important; color: #fff !important; white-space: nowrap; top: 0; margin: 0; }
#header #logo a::before { content: ""; width: 40px; height: 48px; flex: 0 0 40px; margin-right: -4px; background: url("icons/logo.png") center/contain no-repeat; }
#header .header-nav-main { align-items: center; flex-wrap: nowrap; }
#header .flex-left .header-nav-main { margin-left: 96px; }
#header .header-nav-main > li { margin: 0 20px !important; border: 0 !important; }
#header .header-nav-main > li:first-child { margin-left: 0 !important; }
#header .header-nav-main > li > a { font-size: 15px !important; font-weight: 500 !important; color: #fff !important; text-transform: none !important; letter-spacing: 0; padding: 0 !important; line-height: 40px; white-space: nowrap; }
#header .header-nav-main > li > a:hover, #header .header-nav-main > li.active > a { color: var(--nv-y) !important; }
#header .header-nav-main > li.current-menu-item > a[href*="#"] { color: #fff !important; }
#header .header-button-1 .button, #header .header-button .button { background: var(--nv-y) !important; color: #141414 !important; border: 0 !important; border-radius: 0 !important; min-height: 49px; height: 49px; line-height: 49px; padding: 0 26px; font-size: 16px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0; margin: 0; box-shadow: none !important; }
#header .header-button-1 .button:hover { background: #fff !important; }
#header .header-button .button span { font-size: inherit !important; font-weight: inherit; }
#header .mobile-nav .icon-menu, #header .mobile-nav i, #header .nav-icon a { color: #fff !important; background: transparent !important; }
body:not(.home) #header .header-main { background: var(--nv-dk2) !important; }

/* ---------- chung ---------- */
.section.nv-sec, .section.nv-hero, .section.nv-footer { padding: 0 !important; }
.nv-sec .col, .nv-hero .col, .nv-footer .col { padding-bottom: 0 !important; }
.nv-h2 { font-size: 44px; line-height: 1.2; font-weight: 800; color: var(--nv-ink); margin: 0; letter-spacing: -.015em; }
.nv-sub { font-size: 18px; line-height: 1.5; color: var(--nv-mut); margin: 6px 0 0; }
.nv-ph { display: block; background: #3a3a3a; overflow: hidden; position: relative; }
.nv-ph img { display: block; width: 100%; height: 100%; object-fit: cover; color: transparent; transition: transform .5s ease; }
.nv-link { display: inline-flex; align-items: center; gap: 10px; font-size: 16.5px; font-weight: 600; color: var(--nv-ink) !important; }
.nv-link > :not(svg), .nv-link { text-decoration: none; }
.nv-link { background: linear-gradient(currentColor, currentColor) 0 100% / calc(100% - 28px) 1.5px no-repeat; padding-bottom: 3px; }
.nv-link .nv-ic { font-size: 17px; }
.nv-link:hover { color: #000 !important; }
.nv-eyebrow { font-size: 14.2px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #e9e9e9; line-height: 20px; }
.nv-y { color: var(--nv-y) !important; }
.nv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.nv-head h2 { flex: 0 0 auto; width: fit-content; }

/* ---------- hero ---------- */
.section.nv-hero { min-height: 602px; align-items: flex-start !important; background-color: #0b0b0c; }
.nv-hero .section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,.55) 0%, rgba(8,8,8,.25) 38%, rgba(8,8,8,0) 60%); }
.nv-hero .section-content { width: 100%; }
.nv-hero-in { padding: 128px 0 47px; }
.nv-hero .nv-eyebrow { margin: 0 0 12px; }
.nv-h1 { font-size: 76px; line-height: 80px; font-weight: 800; color: #fff !important; margin: 0; letter-spacing: -.02em; }
.nv-h1 span { color: var(--nv-y); }
.nv-lead { font-size: 22px; line-height: 33px; color: #f1f1f1; margin: 10px 0 0; }
.nv-btns { display: flex; align-items: center; gap: 36px; margin-top: 28px; }
.nv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 49px; padding: 0 24px; background: var(--nv-y); color: #141414 !important; font-size: 17.5px; font-weight: 600; }
.nv-btn:hover { background: #fff; }
.nv-tlink { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; font-size: 17.5px; font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / calc(100% - 28px) 1.5px no-repeat; padding-bottom: 3px; }
.nv-btn .nv-ic, .nv-tlink .nv-ic { font-size: 18px; }

/* ---------- giá trị ---------- */
.section.nv-feat-sec { padding: 0 !important; }
.nv-feats { display: grid; grid-template-columns: 436px 410px minmax(0, 1fr); min-height: 147px; align-items: center; }
.nv-feat { display: flex; align-items: center; gap: 34px; padding: 0 0 0 5px; }
.nv-feat + .nv-feat { border-left: 1px solid rgba(255,255,255,.22); padding-left: 54px; }
.nv-fic { width: 90px; height: 90px; object-fit: contain; flex: 0 0 90px; margin: 0 -2px; }
.nv-feat h3 { font-size: 22px; line-height: 1.3; font-weight: 600; color: #fff; margin: 0 0 6px; font-family: var(--nv-sans) !important; }
.nv-feat-d { font-size: 16.5px; line-height: 27px; color: #cfcfcf; }

/* ---------- khoá học ---------- */
.section.nv-course-sec { padding: 40px 0 0 !important; }
.nv-ages { display: flex; gap: 9px; padding-top: 6px; }
.nv-age { height: 51px; min-width: 123px; padding: 0 16px; margin: 0; border: 1.5px solid #cfcfcf; background: #fff; color: #222; font-size: 14.8px; font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 1; border-radius: 0; cursor: pointer; transition: background .2s, border-color .2s; }
.nv-age:hover { border-color: #222; }
.nv-age.is-on { background: var(--nv-y); border-color: var(--nv-y); color: #141414; font-weight: 600; }
.nv-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.nv-tile { position: relative; display: block; aspect-ratio: 161 / 128; overflow: hidden; background: #3a3a3a; }
.nv-tile .nv-ph { position: absolute; inset: 0; }
.nv-tile::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 100%); pointer-events: none; }
.nv-tile span { position: absolute; left: 20px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 23px; font-weight: 700; line-height: 1.2; }
.nv-tile span .nv-ic { color: var(--nv-y); font-size: 24px; }
.nv-tile:hover img { transform: scale(1.05); }

/* ---------- lộ trình ---------- */
.section.nv-path-sec { padding: 42px 0 0 !important; }
.nv-paths { display: grid; grid-template-columns: 415px 423px minmax(0, 1fr); margin-top: 18px; }
.nv-path { position: relative; padding-top: 22px; }
.nv-path::before { content: ""; position: absolute; left: 0; top: 0; width: 75px; height: 5px; background: var(--nv-y); }
.nv-path + .nv-path { border-left: 1px solid #dedede; padding-left: 51px; }
.nv-path + .nv-path::before { left: 51px; }
.nv-path-age { font-size: 19.5px; font-weight: 600; color: var(--nv-ink); line-height: 1.4; }
.nv-path h3 { font-size: 24px; line-height: 1.3; font-weight: 700; color: var(--nv-ink); margin: 10px 0 10px; }
.nv-path-d { font-size: 18px; line-height: 27px; color: var(--nv-mut); margin-bottom: 16px; }

/* ---------- giảng viên ---------- */
.section.nv-team-sec { padding: 52px 0 46px !important; }
.nv-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; margin-top: 18px; }
.nv-tc { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #3a3a3a; }
.nv-tc .nv-ph { position: absolute; inset: 0; }
.nv-tc .nv-ph img { filter: grayscale(1); }
.nv-tc::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,0)); }
.nv-tc-n { position: absolute; left: 20px; bottom: 12px; z-index: 2; color: #fff; display: flex; flex-direction: column; gap: 2px; }
.nv-tc-n b { font-size: 19px; font-weight: 700; line-height: 1.3; }
.nv-tc-n span { font-size: 14px; color: #dcdcdc; line-height: 1.3; }

/* ---------- hoạt động ---------- */
.section.nv-act-sec { padding: 34px 0 30px !important; }
.nv-act-sec .nv-h2 { color: #fff; margin-top: 4px; }
.nv-act-sec .nv-eyebrow { font-size: 15.2px; letter-spacing: .2em; }
.nv-acts { display: grid; grid-template-columns: 611px minmax(0, 1fr); gap: 16px; align-items: end; }
.nv-act-l { display: flex; flex-direction: column; }
.nv-act { position: relative; overflow: hidden; background: #3a3a3a; }
.nv-act .nv-ph { position: absolute; inset: 0; }
.nv-act-big { height: 317px; margin-top: 18px; }
.nv-act-r { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 186px 186px; gap: 14px; }
.nv-act::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,0)); }
.nv-act span { position: absolute; left: 16px; bottom: 12px; z-index: 2; color: #fff; font-size: 18.5px; font-weight: 600; line-height: 1.3; }
.nv-act-big span { font-size: 20.5px; bottom: 14px; }

/* ---------- đăng ký học thử ---------- */
.section.nv-cta-sec { padding: 30px 0 31px !important; }
.nv-cta .nv-h2 { font-size: 40px; }
.nv-cta .nv-sub { color: #222; font-size: 20px; margin-top: 4px; }
.nv-cta .wpcf7 { margin-top: 18px; }
.nv-cta form { margin: 0; }
.nv-form { display: grid; grid-template-columns: 323fr 317fr 310fr 258fr; gap: 15px; }
.nv-form > p, .nv-form p:not([class]) { display: contents; }
.nv-fl { margin: 0 !important; display: block; position: relative; }
.nv-fl .wpcf7-form-control-wrap { display: block; }
.nv-cta input[type=text], .nv-cta input[type=tel], .nv-cta select { height: 56px; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; padding: 0 22px; font-size: 14px; color: #222; width: 100%; }
.nv-cta select { -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E") right 18px center/18px no-repeat; color: #555; }
.nv-cta input::placeholder { color: #666; opacity: 1; }
.nv-fbtn { height: 56px; margin: 0; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--nv-dk) !important; color: #fff !important; border: 0; border-radius: 0; font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.nv-fbtn:hover { background: #000 !important; }
.nv-fbtn .nv-ic { font-size: 18px; }
.nv-cta .wpcf7-spinner { position: absolute; }
.nv-cta .wpcf7-response-output { margin: 12px 0 0 !important; border-color: #141414 !important; color: #141414; font-size: 14px; }
.nv-cta .wpcf7-not-valid-tip { font-size: 12px; color: #b00000; position: absolute; }

/* ---------- tin tức ---------- */
.section.nv-news-sec { padding: 22px 0 32px !important; }
.nv-head-news { align-items: center; }
.nv-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 14px; }
.nv-post-img { aspect-ratio: 2.56 / 1; }
.nv-post-t { font-size: 22.5px; line-height: 30px; font-weight: 700; margin: 16px 0 10px; font-family: var(--nv-sans) !important; }
.nv-post-t a { color: var(--nv-ink) !important; }
.nv-post-e { font-size: 16.5px; line-height: 25px; color: var(--nv-mut); margin-bottom: 14px; padding-right: 20px; }
.nv-post-img:hover img { transform: scale(1.04); }

/* ---------- footer ---------- */
.section.nv-footer { padding: 33px 0 0 !important; }
#footer .section.nv-footer { border-top: 0 !important; }
.nv-ft { display: grid; grid-template-columns: 468px 241px 281px minmax(0, 1fr); color: #cfcfcf; }
.nv-ft-logo { display: inline-flex; align-items: flex-start; gap: 14px; color: #fff !important; }
.nv-ft-logo img { width: 62px; height: 74px; object-fit: contain; margin: -4px 2px 0 -8px; }
.nv-ft-logo span { display: flex; flex-direction: column; padding-top: 8px; }
.nv-ft-logo b { font-size: 25px; font-weight: 600; line-height: 1.2; color: #fff; }
.nv-ft-logo small { font-size: 15px; color: #d6d6d6; margin-top: 8px; }
.nv-social { display: flex; gap: 31px; margin-top: 22px; }
.nv-social a { color: #fff !important; font-size: 26px; display: inline-flex; }
.nv-social a:hover { color: var(--nv-y) !important; }
.nv-ft h4 { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 12px; text-transform: none; letter-spacing: 0; }
.nv-ft-links { display: flex; flex-direction: column; }
.nv-ft-links a, .nv-ft-dots a, .nv-ft-ct a, .nv-ft-ct > div { color: #cfcfcf !important; font-size: 15.2px; line-height: 27px; }
.nv-ft a:hover { color: var(--nv-y) !important; }
.nv-ft-dots > div { display: flex; flex-wrap: wrap; }
.nv-ft-dots a + a::before { content: "•"; display: inline-block; margin: 0 9px; color: #cfcfcf; }
.nv-ft-ct a, .nv-ft-ct > div { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 2px; }
.nv-ft-ct span { min-width: 0; overflow-wrap: anywhere; }
.nv-ft-ct .nv-mi { font-size: 21px; color: #fff; margin-top: 4px; }
.nv-fbar { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.2); margin-top: 24px; padding: 13px 0 18px; font-size: 15px; color: #cfcfcf; }
.nv-fbar a { color: #cfcfcf !important; }

/* ---------- mobile ---------- */
@media (max-width: 849px) {
  #header .header-main, .home #header .header-wrapper:not(.stuck) .header-main { background: var(--nv-dk2) !important; }
  #header #logo a { font-size: 18px !important; gap: 9px; }
  #header #logo a::before { width: 26px; height: 32px; flex-basis: 26px; }
  #logo { width: auto !important; }
  /* header trong suốt nằm ĐÈ lên hero (cao ~70-86px) -> dải ảnh 320px để lộ ~240px dưới header */
  .section.nv-hero { padding-top: 320px !important; min-height: 0; background-color: var(--nv-dk) !important; }
  .nv-hero .section-bg { top: 0; bottom: auto; height: 320px; }
  .nv-h1 { font-size: 38px !important; line-height: 44px !important; }
  .nv-hero .section-bg img.bg { object-position: 72% 50% !important; }
  .nv-hero .section-bg::after { background: linear-gradient(0deg, rgba(32,32,32,.6) 0%, rgba(32,32,32,0) 35%); }
  .nv-hero-in { padding: 26px 0 34px; }
  .nv-h1 { font-size: 40px; line-height: 46px; }
  .nv-lead { font-size: 16px; line-height: 26px; }
  .nv-btns { flex-wrap: wrap; gap: 18px 28px; }
  .nv-h2 { font-size: 32px; }
  .nv-feats { grid-template-columns: minmax(0, 1fr); padding: 26px 0; gap: 22px; }
  .nv-feat, .nv-feat + .nv-feat { border: 0; padding: 0; gap: 20px; }
  .nv-fic { width: 60px; height: 60px; flex-basis: 60px; }
  .nv-feat h3 { font-size: 18px; }
  .section.nv-course-sec { padding-top: 34px !important; }
  .nv-head { flex-direction: column; gap: 16px; }
  .nv-ages { flex-wrap: wrap; gap: 8px; padding: 0; }
  .nv-age { min-width: 0; flex: 1 1 calc(50% - 4px); height: 44px; }
  .nv-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
  .nv-tile span { font-size: 17px; left: 12px; bottom: 10px; gap: 8px; }
  .nv-tile span .nv-ic { font-size: 18px; }
  .nv-paths { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .nv-path + .nv-path { border-left: 0; padding-left: 0; }
  .nv-path + .nv-path::before { left: 0; }
  .nv-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .nv-tc-n { left: 12px; bottom: 10px; }
  .nv-tc-n b { font-size: 16px; }
  .nv-tc-n span { font-size: 13px; }
  .nv-acts { grid-template-columns: minmax(0, 1fr); }
  .nv-act-big { height: 220px; }
  .nv-act-r { grid-template-rows: 130px 130px; gap: 12px; }
  .nv-act span { font-size: 15px; left: 12px; bottom: 10px; }
  .nv-cta .nv-h2 { font-size: 28px; }
  .nv-form { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .nv-head-news { flex-direction: row; align-items: flex-end; flex-wrap: wrap; gap: 6px 16px; }
  .nv-head-news .nv-h2 { width: auto; flex: 1 1 auto; }
  .nv-posts { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .nv-ft { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .nv-ft-brand, .nv-ft-ct, .nv-ft-courses { grid-column: 1 / -1; }
  .nv-hero .nv-eyebrow { font-size: 12px; letter-spacing: .12em; }
  .nv-fbar { flex-direction: column; gap: 6px; align-items: flex-start; }
}
@media (min-width: 850px) and (max-width: 1299px) {
  .nv-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nv-feat + .nv-feat { padding-left: 28px; }
  .nv-feat { gap: 18px; }
  .nv-fic { width: 64px; height: 64px; flex-basis: 64px; }
  .nv-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nv-path + .nv-path { padding-left: 30px; } .nv-path + .nv-path::before { left: 30px; }
  .nv-path-d br, .nv-feat-d br { display: none; }
  .nv-acts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nv-ft { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; }
  #header .flex-left .header-nav-main { margin-left: 30px; }
  #header .header-nav-main > li { margin: 0 12px !important; }
}
@media (min-width: 850px) and (max-width: 1099px) {
  #logo { width: 220px !important; }
  #header #logo a { font-size: 18px !important; }
  #header .flex-left .header-nav-main { margin-left: 10px; }
  #header .header-nav-main > li { margin: 0 8px !important; }
  #header .header-nav-main > li > a { font-size: 13.5px !important; }
  #header .header-button-1 .button { padding: 0 14px; }
  .nv-h1 { font-size: 60px; line-height: 66px; }
  .nv-ages .nv-age { min-width: 96px; }
  .nv-ft { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 30px; }
  .nv-head { flex-wrap: wrap; }
}
