/* Bố cục tham chiếu tc-chinhquy.edu.vn, ghi đè giao diện gốc trong page.css. */
:root { --w:960px; --navy:#104c68; --blue-deep:#07513b; --ink:#161616; --amber:#fff02e; --amber-text:#ba2314; --amber-soft:#fff9df; --paper:#fff; --line:#d8ded9; --muted:#555; --on-dark:#fff; --display:"Times New Roman",Times,serif; --body:"Roboto",Arial,sans-serif; --r-s:4px; --r-m:18px; --shadow:0 2px 10px #0002; }
body { overflow-x:visible; }
button,input,select,textarea { font:inherit; }
.btn-cta,.c-form button,.dlg-btn { background:linear-gradient(180deg,#ff6b24,#ed3c17); color:#fff; font:700 18px/1.25 var(--body); letter-spacing:0; border-radius:4px; }
.btn-cta:hover,.c-form button:hover,.dlg-btn:hover { background:linear-gradient(180deg,#f48030,#ed3c17); }
.reg-form input:not(.hp),.reg-form select,.reg-form textarea { min-width:0; min-height:44px; font-size:16px; border:1px solid #6b7b77; border-radius:3px; }
.form-err { color:#aa1111; background:#fff; padding:8px; }
.top-nav { left:50%; right:auto; transform:translateX(-50%); width:min(100%,var(--w)); height:46px; background:#104c68; box-shadow:none; justify-content:space-around; }
.top-nav a { padding:12px 6px; font:700 13px/1.25 var(--body); letter-spacing:0; text-align:center; }
.top-nav a:hover,.top-nav a.active { background:#087c6b; color:#fff; }
.hero { padding:70px 0 30px; background:#fff; }
.hero-head { gap:16px; }
.hero-head img { width:85px; height:85px; object-fit:contain; }
.hero-name { font:700 34px/1.14 var(--display); color:#094f9c; letter-spacing:0; text-shadow:1px 2px 2px #0002; }
.hero-tag { margin-top:12px; font:700 24px/1.25 var(--display); letter-spacing:0; }
.hero-line { width:185px; height:2px; background:#31b3bd; margin:7px auto 24px; }
.hero-body { grid-template-columns:260px minmax(0,1fr); column-gap:24px; }
.hero-photo { min-height:415px; }
.hero-photo.has-photo { overflow:hidden; }
.hero-photo.has-photo>img { width:180%; height:150%; max-width:none; left:-40%; top:auto; bottom:0; object-fit:contain; }
.hero-list { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:none; grid-auto-flow:row; grid-auto-rows:1fr; gap:0 22px; }
.hero-list li { min-width:0; border:0; border-bottom:1px solid #e0e8e3; }
.hero-list a { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; align-content:start; height:100%; min-height:76px; padding-block:10px; font:700 19px/1.35 var(--display); letter-spacing:0; text-align:left; color:inherit; gap:5px; }
.hero-list li:last-child:nth-child(odd) { grid-column:1/-1; }
.hero-list li:last-child:nth-child(odd) a { grid-template-columns:auto; justify-content:center; }
.hero-list a:hover { color:inherit; text-decoration:underline; }
.hero-list li:nth-child(6n+1) { color:#069636; }
.hero-list li:nth-child(6n+2) { color:#ed170d; }
.hero-list li:nth-child(6n+3) { color:#182c91; }
.hero-list li:nth-child(6n+4) { color:#b34c18; }
.hero-list li:nth-child(6n+5) { color:#080808; }
.hero-list li:nth-child(6n+6) { color:#275b8d; }
.hero-list li:nth-child(9) { color:#5920ba; }
.hero-list li:nth-child(10) { color:#847000; }
.hero-list small { font:inherit; font-size:.8em; color:inherit; white-space:normal; }
.hero-pics { grid-template-columns:118px minmax(0,1fr) 100px; gap:14px; height:125px; margin-top:20px; }
.pic-rect { border-radius:9px; }
.hero-caption { margin-top:7px; text-align:right; font-size:11px; color:#777; }
.hotline-bar { margin-top:22px; max-width:780px; min-height:0; padding:12px 18px; background:#000; font:700 22px/1.3 var(--display); letter-spacing:0; }
.hotline-text { animation-name:flash; animation-delay:1s; animation-duration:1s; animation-iteration-count:infinite; }
@keyframes flash {
  0%,50%,100% { opacity:1; }
  25%,75% { opacity:0; }
}
.office-line { margin-top:12px; font-size:15px; text-align:center; color:#374551; }
.slot { background:#e5f4f1; color:#09614e; }
.slot.has-photo>svg,.slot.has-photo>.glyph,.hero-pics .slot.has-photo>span { visibility:hidden; }
.hero-photo img { object-position:bottom; }
.signup { padding-bottom:42px; }
.signup-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; }
.signup-grid>* { min-width:0; }
.countbox { padding:20px; border:2px solid #289177; border-radius:12px; }
.countbox h2 { font:700 26px/1.2 var(--display); }
.countbox .cd { width:100%; gap:8px; }
.countbox .cd-item { flex:1; min-width:0; }
.countbox .cd-item b { min-width:0; padding-inline:8px; font-size:clamp(24px,3vw,34px); }
.cd-item b { min-width:64px; padding:9px 12px; background:#318e74; font:700 34px/1 var(--body); }
.intake { background:#2b997d; color:#fff; border-radius:10px; font:700 27px/1.25 var(--display); }
.intake>* { padding:13px 8px; }
.intake>*+* { border-color:#d0e3cd; }
.intake .intake-date { background:#f1f3bf; color:#c53220; font-size:23px; }
.mainform-wrap { padding:24px 28px 28px; border:1px solid #848b4a; border-radius:14px; background:linear-gradient(130deg,#369a76,#baaa54 65%,#f0a450); }
.mainform-wrap h2 { color:#fff; text-shadow:0 1px 1px #384b2c; font:700 24px/1.25 var(--display); }
.tabs { padding:0; border:0; background:none; gap:5px; }
.tabs button { min-height:40px; background:#ebf6d8; color:#194b35; border-radius:3px; }
.tabs button[aria-pressed=true] { background:#db3624; }
.main-form .btn-cta { font:700 18px/1.25 var(--body); }
.times { padding-block:22px 44px; }
.times-title { max-width:640px; margin:0 auto 25px; padding:12px 18px; background:#80e3e1; color:#dc624c; border-radius:0; font:700 28px/1.08 var(--display); }
.time-list li { font:700 18px/1.35 var(--display); }
.time-list .ic { color:#f35042; font-size:32px; }
.time-tiles { gap:30px; margin:35px 0; }
.time-tiles .slot { height:158px; border:3px solid #dbb52d; border-radius:0; }
.time-tiles .slot>span { z-index:1; padding:6px 3px; color:#32395e; font:700 11px/1.2 var(--body); letter-spacing:0; }
.ribbon { color:#af1d11; }
.ribbon span { font:700 18px/1.1 var(--display); letter-spacing:0; }
.major { padding-block:38px 42px; }
.major:nth-of-type(even) { background:#fff; }
.major+.major { border-top:1px solid #eee; }
.pill { min-height:0; padding:12px 32px; color:#a90000; background:linear-gradient(100deg,#07b671,#4ddec5); font:700 30px/1.15 var(--display); letter-spacing:0; }
.pill small { color:inherit; font:700 .7em var(--display); }
.major-sub { color:#b1220b; font:700 20px/1.3 var(--display); letter-spacing:0; margin:16px 0 26px; }
.intro-row { grid-template-columns:1.1fr 1fr 1fr; gap:18px; }
.intro { font-size:16px; line-height:1.7; text-align:justify; }
.share { float:left; color:#bca219; font-size:32px; margin:5px 9px 0 0; background:none; padding:0; }
.img-card { height:220px; border-radius:14px; box-shadow:none; }
.intro-row .slot:last-child img { object-position:75% center; }
.brief-info { padding-top:18px; font-family:var(--display); }
.brief-info p { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.brief-info p+p { margin-top:8px; }
.brief-info .ic { color:#078b55; }
.info3 { grid-template-columns:1fr 225px 1fr; gap:20px; margin-top:35px; align-items:center; }
.info h3 { color:#bf2716; font:700 20px/1.2 var(--display); letter-spacing:0; }
.info h3 .ic { color:#db9c1e; }
.info p { font:700 16px/1.5 var(--display); padding-left:0; margin:5px 0; }
.info-mid .slot { height:350px; }
.goals-head { margin-top:32px; }
.goals-head h3 { color:#b91c10; font:700 22px/1.2 var(--display); letter-spacing:0; }
.star { color:#bca518; fill:#fae029; font-size:32px; }
.goals { padding:24px; gap:16px 30px; background:#0d7654; box-shadow:none; }
.goals h4 { color:#ffef2c; font:700 20px/1.2 var(--display); letter-spacing:0; }
.goals li { padding-left:14px; font-size:15px; }
.goals li::before { content:"+"; background:none; color:#fff02a; width:auto; height:auto; top:0; }
.goal-work { font-size:15px; }
.cta-row { gap:40px; margin-top:32px; }
.cta-left ul { font:700 20px/1.25 var(--display); letter-spacing:0; color:#dc1d0b; }
.cta-left li::before { content:"✓"; background:none; width:auto; height:auto; color:#069c33; transform:none; }
.cta-right { padding:23px 25px; border:0; background:linear-gradient(135deg,#319b79,#d6a95b); box-shadow:none; }
.cta-right h3 { color:#fff; font:700 25px/1.2 var(--display); }
.groups { padding-block:38px 48px; background:#086684; }
.groups h2 { font:700 32px/1.2 var(--display); }
.groups .gsub { font:700 19px/1.3 var(--display); color:#fff32b; letter-spacing:0; }
.groups .grule { width:150px; height:2px; margin:15px auto 28px; }
.g-grid { gap:22px 38px; padding-inline:0; }
.tile { border:3px solid #fff; border-radius:7px; box-shadow:none; }
.tile-img { height:145px; }
.tile b { font:700 17px/1.3 var(--display); letter-spacing:0; }
.g-mid { height:375px; margin-bottom:-48px; }
.contact { padding-block:38px; background:#075375; }
.frame { grid-template-columns:1.1fr 1fr; gap:22px 32px; padding:23px 25px; }
.c-lien-he { color:#faed22; font:700 28px/1.2 var(--display); }
.c-school { font-size:14px; }
.c-school b { color:#fff031; font:700 24px/1.2 var(--display); margin-bottom:7px; }
.c-info { padding-top:0; gap:12px; font-size:15px; }
.c-office { color:#fff42c; }
.intake-box { margin-top:0; padding:30px 20px; background:linear-gradient(135deg,#03a4aa,#3baf7a); }
.intake-box h3 { color:#fff42f; font:700 30px/1.2 var(--display); }
.intake-box .down { color:#fff42f; background:none; font-size:40px; }
.intake-box .cd-item b { background:#fff; color:#126264; }
.copyright { background:#075375; padding-bottom:30px; }
.call-pill { left:0; bottom:0; padding:7px 16px; border-radius:0 14px 0 0; background:#096635; gap:8px; box-shadow:none; }
.call-pill .ic { width:26px; height:26px; padding:0; color:#fff; background:none; animation:none; }
.call-pill b { font:700 18px/1.25 var(--body); letter-spacing:0; }
.fab { right:13px; width:60px; height:60px; background:#fff; box-shadow:0 1px 6px #0002; }
.fab-chat { bottom:88px; border:3px solid #e8861f; color:#e8861f; font-size:32px; }
.fab-zalo { bottom:13px; border:5px solid #07a4bc; color:#0099b6; font:700 19px/1 var(--body); }
.to-top { left:calc(50% - 23px); right:auto; bottom:12px; width:46px; height:46px; color:#fff; background:#087824; font-size:30px; }
dialog h3 { font:700 27px/1.2 var(--display); color:#116349; }
.dlg-btn.alt { background:#076e90; }
.dlg-btn.ghost { background:#e9efec; color:#234534; }
@media(min-width:641px) and (max-width:1000px) {
  .top-nav a { font-size:12px; padding-inline:5px; }
  .hero-name { font-size:30px; }
  .hero-body { grid-template-columns:30% minmax(0,1fr); gap:0 14px; }
  .hero-list a { font-size:18px; }
  .hero-photo { min-height:400px; }
  .hero-pics { grid-template-columns:90px 1fr 85px; height:105px; }
  .info3 { grid-template-columns:1fr 180px 1fr; }
}
@media(max-width:640px) {
  .box { padding-inline:16px; }
  .nav-toggle { width:100%; height:48px; background:#104c68; gap:13px; font:700 14px var(--body); }
  .nav-toggle .ic { font-size:23px; }
  .nav-toggle .ic:last-child { font-size:17px; }
  .top-nav { top:48px; height:auto; min-height:0; max-height:calc(100dvh - 100px); overflow-y:auto; padding:6px; grid-template-columns:1fr 1fr; box-shadow:0 8px 10px #0003; }
  .top-nav.open { display:grid; }
  .top-nav a { justify-content:flex-start; min-height:44px; padding:10px; font-size:13px; }
  .hero { padding-top:65px; padding-bottom:15px; }
  .hero-head { gap:9px; }
  .hero-head img { width:56px; height:56px; }
  .hero-name { font-size:22px; line-height:1.12; }
  .hero-tag { margin-top:15px; font-size:16px; }
  .hero-line { margin-bottom:15px; }
  .hero-body { grid-template-columns:31% minmax(0,1fr); gap:0 10px; align-items:stretch; }
  .hero-photo { min-height:0; grid-row:1; height:340px; align-self:start; margin-top:40px; }
  .hero-photo.has-photo>img { width:280%; height:auto; left:-90%; object-position:bottom; }
  .hero-list { display:grid; grid-template-columns:minmax(0,1fr); grid-auto-rows:1fr; }
  .hero-list a { font-size:16px; min-height:48px; padding-block:6px; line-height:1.4; gap:4px; }
  .hero-list li:last-child:nth-child(odd) a { grid-template-columns:minmax(0,1fr); justify-content:normal; }
  .hero-list small { font-size:13px; }
  .hero-pics { grid-template-columns:82px 1fr 78px; height:95px; gap:10px; margin-top:17px; }
  .hero-caption { font-size:10px; }
  .hotline-bar { font-size:17px; padding:10px; margin-top:15px; }
  .office-line { font-size:13px; }
  .signup-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
  .mainform-wrap { padding:22px 18px; }
  .mainform-wrap h2,.countbox h2 { font-size:24px; }
  .countbox { padding:20px 18px; }
  .times { padding-top:8px; padding-bottom:28px; }
  .times-title { font-size:23px; padding:12px; }
  .time-list li { font-size:17px; }
  .time-tiles { gap:15px; margin:25px 0; }
  .time-tiles .slot { height:140px; }
  .major { padding-block:28px; }
  .pill { min-height:0; font-size:24px; padding:13px 22px; }
  .major-sub { font-size:18px; margin:14px 0 22px; }
  .intro-row { grid-template-columns:1fr 1fr; gap:12px; }
  .intro { order:0; font-size:15px; }
  .img-card { height:170px; }
  .info3 { grid-template-columns:1fr; gap:20px; margin-top:25px; }
  .info h3 { font-size:20px; }
  .info p { font-size:17px; }
  .goals-head h3 { font-size:21px; }
  .goals { grid-template-columns:1fr; padding:20px; }
  .cta-row { grid-template-columns:1fr; gap:23px; }
  .cta-left ul { font-size:19px; }
  .cta-right { padding:23px 20px; }
  .cta-right h3 { font-size:24px; }
  .groups { padding-block:30px; }
  .groups h2 { font-size:26px; }
  .groups .gsub { font-size:17px; }
  .g-grid { gap:13px; }
  .g-mid { display:none; }
  .tile-img { height:110px; }
  .tile b { font-size:15px; }
  .contact { padding-block:28px; }
  .frame { grid-template-columns:1fr; padding:20px 16px; }
  .c-title { grid-template-columns:1fr; gap:14px; }
  .c-school b { font-size:23px; }
  .c-form { grid-template-columns:1fr; }
  .copyright { padding-bottom:calc(78px + env(safe-area-inset-bottom,0px)); }
  .call-pill { padding:9px 12px max(9px,env(safe-area-inset-bottom,0px)); }
  .call-pill b { font-size:17px; }
  .call-pill .ic { width:22px; height:22px; }
  .fab { right:10px; width:50px; height:50px; }
  .fab-chat { bottom:78px; font-size:26px; }
  .fab-zalo { bottom:max(12px,env(safe-area-inset-bottom,0px)); font-size:17px; }
  .to-top { display:none; }
}
@media(prefers-reduced-motion:reduce) {
  .hotline-text { animation:none; }
}
@media(max-width:380px) {
  .countbox .cd { width:100%; gap:6px; }
  .countbox .cd-item { flex:1; min-width:0; }
  .cd-item b,.intake-box .cd-item b { min-width:0; font-size:28px; padding:9px 4px; }
  .hero-name { font-size:20px; }
}
