/* v5.8: trang chủ ngoisaohanoi.vn theo kiểu trang trường: thanh liên hệ, đầu trang trắng có logo, phần đầu xanh loang có họa tiết.
   Màu thương hiệu là biến: --brand (màu chính), --accent (màu nhấn); sửa ở Khu quản lý → Công bố → Trang chủ. */
:root {
  --brand: #0f974d; --accent: #ef7921;
  --blue-9: color-mix(in srgb, var(--brand) 45%, #03200f); --blue-8: var(--brand); --blue-7: color-mix(in srgb, var(--brand) 80%, #0a5f34);
  --blue-6: color-mix(in srgb, var(--brand) 75%, #2fc27e); --sky: color-mix(in srgb, var(--brand) 45%, #19b3a3); --cyan: #8fe6bf;
  --gold: var(--accent); --gold-d: color-mix(in srgb, var(--accent) 82%, #000); --on-accent: #fff;
  --ink: #0d1b33; --muted: #5a6880; --line: #e3e9f3; --bg-alt: #f4f7fc;
  --r: 16px; --sh: 0 20px 50px -24px rgba(6, 31, 82, .35);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--blue-7); }
img { max-width: 100%; }
svg { flex-shrink: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Nút */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn.accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn.accent:hover { background: var(--gold-d); }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn.primary:hover { background: var(--blue-7); }
.btn.glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn.glass:hover { background: rgba(255,255,255,.2); }
.btn.line { background: #fff; color: var(--brand); border-color: #c9d6ec; }

/* Thanh liên hệ */
.topbar { background: var(--blue-9); color: #c9d6f0; font-size: 13.5px; }
.tb-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.tb-l, .tb-r { display: flex; gap: 22px; align-items: center; }
.topbar a { color: #dbe5f8; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar b { color: var(--accent); font-weight: 700; }
.topbar svg { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Đầu trang trắng, dính khi cuộn */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.nav.solid { box-shadow: 0 10px 30px -20px rgba(6,31,82,.45); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--brand); text-decoration: none; min-width: 0; }
.logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: var(--brand); }
.logo svg { width: 32px; height: 32px; fill: var(--accent); }
.logo.img { background: transparent; width: 60px; height: 60px; border-radius: 50%; } .logo.img img { width: 100%; height: 100%; object-fit: contain; }
.logo.sm { width: 46px; height: 46px; } .f-logo .logo.img { width: 64px; height: 64px; background: transparent; }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; }
.brand-t small { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.brand-t b { font-size: 21px; font-weight: 800; letter-spacing: .02em; color: var(--brand); }
.links { display: flex; gap: 2px; margin-left: auto; }
.links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 14px; border-radius: 8px; position: relative; }
.links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.links a:hover { color: var(--brand); } .links a:hover::after { transform: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; padding: 13px 11px; flex-direction: column; justify-content: space-between; }
.burger i { display: block; height: 2px; background: var(--brand); border-radius: 2px; }

/* Phần đầu: nền xanh loang + họa tiết giáo dục */
.hero { position: relative; color: #fff; overflow: hidden; padding: 88px 0 96px;
  background: linear-gradient(125deg, var(--blue-9) 0%, var(--brand) 38%, var(--blue-7) 64%, var(--sky) 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.b1 { width: 560px; height: 560px; left: -160px; top: -220px; background: radial-gradient(circle, #23c47b, transparent 70%); }
.b2 { width: 620px; height: 620px; right: -200px; top: 20px; background: radial-gradient(circle, var(--cyan), transparent 68%); opacity: .4; }
.b3 { width: 420px; height: 420px; left: 40%; bottom: -260px; background: radial-gradient(circle, var(--accent), transparent 70%); opacity: .3; }
.pattern { position: absolute; inset: 0; opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 22l4 8 9 1.3-6.5 6.3 1.5 9L30 42.4l-8 4.2 1.5-9-6.5-6.3 9-1.3z'/%3E%3Cpath d='M150 30h34v26h-34zM167 30v26M150 38h14M170 38h14'/%3E%3Cpath d='M92 110l40-40 8 8-40 40-11 3z M126 76l8 8'/%3E%3Ccircle cx='200' cy='130' r='4'/%3E%3Cellipse cx='200' cy='130' rx='22' ry='8'/%3E%3Cellipse cx='200' cy='130' rx='22' ry='8' transform='rotate(60 200 130)'/%3E%3Cellipse cx='200' cy='130' rx='22' ry='8' transform='rotate(-60 200 130)'/%3E%3Cpath d='M28 160h16M36 152v16M70 196l10 10M80 196l-10 10'/%3E%3Cpath d='M120 190q8-14 16 0t16 0'/%3E%3Ctext x='150' y='222' font-family='Arial' font-size='18' fill='%23fff' stroke='none'%3EA%2B%3C/text%3E%3Ctext x='18' y='112' font-family='Georgia' font-size='18' fill='%23fff' stroke='none' font-style='italic'%3Eπ%3C/text%3E%3Cpath d='M214 200l3 6 6.5 1-4.7 4.5 1.1 6.5-5.9-3.1-5.8 3.1 1.1-6.5-4.7-4.5 6.5-1z'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px;
  mask-image: radial-gradient(80% 70% at 75% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(80% 70% at 75% 30%, #000, transparent 75%); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #d5e3ff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); padding: 6px 14px; border-radius: 999px; margin: 0 0 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 800; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.h-school { font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; color: #fff; margin: 0 0 14px; opacity: .92; }
.lead { font-size: 17px; color: #d7e4fb; max-width: 600px; margin: 0 0 30px; }
.hero-cta, .row-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 26px; box-shadow: 0 40px 80px -30px rgba(0, 10, 40, .65); border-top: 4px solid var(--accent); }
.qc-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.qc-head b { display: block; font-size: 18px; } .qc-head small { color: var(--muted); font-size: 14px; }
.qc-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); flex-shrink: 0; }
.qc-ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#qf { display: flex; gap: 8px; }
#qf[hidden] { display: none; }
#qf input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 13px 16px; border-radius: 10px; border: 1.5px solid #cdd8ea; outline: none; }
#qf input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15,151,77,.15); }
.qc-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 18px; }
.qc-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 16px; text-align: center; }
.qc-stats div + div { border-left: 1px solid var(--line); }
.qc-stats b { display: block; font-size: 24px; color: var(--brand); letter-spacing: -.02em; } .qc-stats span { font-size: 12.5px; color: var(--muted); }

/* Các phần */
.sec { padding: 96px 0; }
.sec.alt { background: var(--bg-alt); }
.sec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-7); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--gold); }
h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.18; letter-spacing: -.02em; margin: 0 0 16px; color: var(--blue-9); text-wrap: balance; }
.sec-lead { font-size: 17px; color: var(--muted); margin: 0; }
.soon { background: var(--gold); color: #3b2a00; font-size: 11px; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; }
.soon[hidden] { display: none; }

.levels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.level { border-radius: var(--r); padding: 32px; position: relative; overflow: hidden; color: #fff; box-shadow: var(--sh); }
.level.th { background: linear-gradient(140deg, #1e6fe0, #36a9f0); }
.level.thcs { background: linear-gradient(140deg, #0a3a8c, #1251b8); }
.level::after { content: "★"; position: absolute; right: -10px; top: -40px; font-size: 200px; line-height: 1; color: rgba(255,255,255,.08); }
.lv-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.lv-badge { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 5px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.lv-grade { font-weight: 700; color: var(--gold); }
.level h3 { font-size: 23px; margin: 0 0 14px; line-height: 1.3; position: relative; }
.level ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; position: relative; }
.level li { padding-left: 28px; position: relative; color: #e6efff; }
.level li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,201,60,.25); box-shadow: inset 0 0 0 4px var(--gold); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.values > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.v-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #eaf2ff; color: var(--blue-7); font-size: 20px; margin-bottom: 14px; }
.values b { display: block; font-size: 16.5px; margin-bottom: 6px; } .values p { margin: 0; font-size: 14.5px; color: var(--muted); }

.two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.feat i { font-style: normal; font-weight: 700; color: var(--gold-d); font-size: 13px; letter-spacing: .08em; }
.feat b { display: block; margin: 4px 0; font-size: 15.5px; } .feat p { margin: 0; font-size: 14px; color: var(--muted); }
.mock { position: relative; display: grid; place-items: center; padding: 30px 0; }
.mock::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(54,169,240,.35), transparent 70%); }
.phone { position: relative; width: 290px; background: #fff; border-radius: 36px; padding: 20px 16px 22px; box-shadow: 0 40px 80px -30px rgba(6,31,82,.55), 0 0 0 10px #0d1b33; }
.ph-top { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 6px 14px; }
.ph-top b { font-size: 20px; color: var(--blue-9); } .ph-top span { color: var(--muted); font-size: 13px; }
.ph-row { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; margin-bottom: 6px; background: #f4f7fc; }
.ph-row span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #fff; font-weight: 700; color: var(--blue-7); font-size: 13px; }
.ph-row b { display: block; font-size: 14.5px; line-height: 1.2; } .ph-row small { color: var(--muted); font-size: 12px; }
.ph-row.now { background: linear-gradient(120deg, var(--blue-6), var(--blue-8)); color: #fff; } .ph-row.now small { color: #cfe1ff; }
.ph-row.chg { background: #fff7e0; box-shadow: inset 3px 0 0 var(--gold-d); }
.float { position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--sh); font-size: 13px; line-height: 1.3; border: 1px solid var(--line); }
.float b { display: block; color: var(--blue-9); } .float small { color: var(--muted); }
.f1 { left: -6px; top: 40%; } .f2 { right: -6px; bottom: 18%; }

.grades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gcard { border-radius: var(--r); padding: 26px; background: linear-gradient(180deg, #fff, #f6f9ff); border: 1px solid var(--line); }
.g-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-weight: 700; font-size: 20px; color: #fff; margin-bottom: 16px;
  background: linear-gradient(140deg, var(--sky), var(--blue-7)); box-shadow: 0 12px 24px -12px rgba(18,81,184,.8); }
.gcard b { display: block; font-size: 17px; margin-bottom: 6px; } .gcard p { margin: 0; font-size: 14.5px; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--r); padding: 30px 26px; border: 1px solid var(--line); position: relative; }
.steps li span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #3b2a00; background: var(--gold); margin-bottom: 14px; }
.steps b { display: block; font-size: 18px; margin-bottom: 6px; } .steps p { margin: 0; color: var(--muted); font-size: 15px; }

.cta-sec { padding: 0 0 96px; }
.cta-box { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; color: #fff; border-radius: 28px; padding: 48px 56px;
  background: radial-gradient(120% 140% at 100% 0%, var(--sky) 0%, var(--blue-7) 40%, var(--blue-9) 100%); position: relative; overflow: hidden; }
.cta-box h2 { color: #fff; margin-bottom: 8px; } .cta-box p { margin: 0; color: #d7e4fb; max-width: 560px; }
.cta-box > * { position: relative; }

.foot { background: var(--blue-9); color: #b9c8e6; padding: 56px 0 24px; font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 40px; }
.f-brand { display: flex; gap: 14px; } .f-brand b { color: #fff; font-size: 16px; } .f-brand p { margin: 4px 0 0; color: var(--gold); }
.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contact span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #7f93bb; }
.contact a, .f-links a { color: #dfe9ff; text-decoration: none; } .contact a:hover, .f-links a:hover { color: #fff; text-decoration: underline; }
.f-links { display: flex; flex-direction: column; gap: 8px; }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: 13px; color: #7f93bb; }

/* Hiện dần */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }


/* Về chúng tôi */
h2.up { text-transform: uppercase; letter-spacing: .01em; }
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: start; margin-bottom: 56px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 18px; }
.facts div { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; border-top: 3px solid var(--accent); }
.facts b { display: block; font-size: 26px; font-weight: 800; color: var(--brand); line-height: 1.2; }
.facts span { font-size: 13.5px; color: var(--muted); }
.member { margin: 0; color: var(--muted); font-size: 14.5px; } .member b { color: var(--brand); }
.about-card { border-radius: 20px; padding: 30px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--brand), var(--blue-9)); box-shadow: var(--sh); }
.about-card::after { content: "★"; position: absolute; right: -18px; bottom: -70px; font-size: 230px; line-height: 1; color: rgba(255,255,255,.06); }
.ac-label { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ac-big { margin: 0 0 22px; font-size: 22px; font-weight: 700; }
.ac-motto { margin: 0; font-size: 17px; font-weight: 600; }
.core { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.core li { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); font-weight: 600; font-size: 14px; }
.level.th { background: linear-gradient(140deg, var(--blue-6), var(--sky)); }
.level.thcs { background: linear-gradient(140deg, var(--brand), var(--blue-7)); }

/* Câu khẩu hiệu */
.quote { background: var(--accent); color: var(--on-accent); padding: 40px 0; text-align: center; position: relative; overflow: hidden; }
.quote p { margin: 0; font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; line-height: 1.45; }
.quote span { color: #fff6d6; }

/* Chân trang: hai cơ sở */
.foot-in { grid-template-columns: 1.1fr 1.1fr 1fr .8fr; gap: 36px; }
.foot h4 { color: #fff; font-size: 14px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .04em; line-height: 1.4; }
.f-brand { flex-direction: column; gap: 12px; }
.f-logo { display: flex; gap: 12px; align-items: center; }
.f-logo b { display: block; color: #fff; font-size: 17px; letter-spacing: .03em; } .f-logo small { color: #9fb2d8; font-size: 12.5px; }
.f-logo .logo { background: rgba(255,255,255,.08); }
.f-sl { margin: 0; color: var(--accent); font-weight: 600; }
.campus p { margin: 0; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--accent); } .social a:hover svg { fill: var(--on-accent); }
.social svg { width: 18px; height: 18px; fill: #dfe9ff; }
.contact li { line-height: 1.5; }

@media (max-width: 1080px) {
  .links { display: none; } .nav-cta { margin-left: auto; }
  .burger { display: flex; }
  .nav.open .links { display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0; background: #fff; padding: 8px 16px 14px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(6,31,82,.4); }
  .nav.open .links a { padding: 12px 6px; border-bottom: 1px solid var(--line); border-radius: 0; } .nav.open .links a::after { display: none; }
  .hero-in, .two, .about { grid-template-columns: 1fr; gap: 40px; }
  .values, .grades { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .tb-r a:not(:last-child) { display: none; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .tb-r, #tb-mail { display: none; } .tb-in { justify-content: center; }
  .nav-in { height: 66px; gap: 10px; } .nav.open .links { top: 66px; }
  .nav-cta { padding: 9px 12px; font-size: 14px; }
  .brand-t small { font-size: 9.5px; letter-spacing: .03em; } .brand-t b { font-size: 16px; }
  .logo { width: 42px; height: 42px; border-radius: 11px; } .logo svg { width: 26px; height: 26px; } .logo.img { width: 46px; height: 46px; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 32px; }
  .lead { font-size: 16px; }
  .hero-cta .btn, .row-cta .btn { flex: 1 1 100%; }
  .hero-card { padding: 20px; border-radius: 18px; }
  .sec { padding: 64px 0; } .sec-head { margin-bottom: 32px; text-align: left; }
  .levels, .values, .grades, .steps, .feats, .foot-in, .facts { grid-template-columns: 1fr; }
  .facts { gap: 10px; } .about { margin-bottom: 36px; }
  .about-card { padding: 24px; }
  .level { padding: 24px; }
  .phone { width: 260px; } .f1 { left: 0; } .f2 { right: 0; }
  .cta-box { padding: 32px 22px; border-radius: 20px; }
  .cta-sec { padding-bottom: 64px; }
  .eyebrow { font-size: 11px; letter-spacing: .05em; padding: 5px 12px; margin-bottom: 16px; }
}
@media (max-width: 380px) { .nav-cta { display: none; } }
@media (max-width: 680px) { .brand-t small { display: none; } }
