/* ==========================================================================
   Thầy Long Vật Lý – landing page
   Màu chủ đạo: xanh navy (tin cậy) + cam (hành động), lấy từ poster của thầy.
   ========================================================================== */

:root {
  --navy-950: #07204a;
  --navy-900: #0a2a5e;
  --navy-800: #0b3a82;
  --navy-600: #1d4fa8;
  --navy-100: #dbe6f6;
  --navy-50: #eef4fc;

  --orange-500: #f47b20;   /* trang trí, icon trên nền tối */
  --orange-700: #c94f08;   /* nút & chữ cam: đạt tương phản AA với chữ trắng */
  --orange-800: #a9430a;
  --orange-50: #fff4eb;

  --ink: #0f1b2d;
  --muted: #4a5a70;
  --on-dark-muted: #c9d6ea;
  --line: #dce5f0;
  --field: #c4d1e0;

  --bg: #ffffff;
  --bg-hero: #f5fbfb;      /* trùng màu nền ảnh thầy Long để ảnh hòa vào trang */
  --bg-alt: #f4f8fc;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 42, 94, .06), 0 4px 12px rgba(10, 42, 94, .06);
  --shadow: 0 18px 40px -18px rgba(10, 42, 94, .35);

  --container: 1160px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  color-scheme: light;
}

/* ---------- Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 18px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }

h1, h2, h3 {
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--navy-900);
}
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
h1, h2, h3 { text-wrap: balance; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .container { padding: 0 24px; } }

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 8px 14px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 2px;
}

/* ---------- Nút ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: .75em 1.35em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }

.btn-accent {
  background: var(--orange-700);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(201, 79, 8, .7);
}
.btn-accent:hover { background: var(--orange-800); color: #fff; }

.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-900); color: #fff; }

.btn-outline {
  background: #fff;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn-outline:hover { background: var(--navy-50); color: var(--navy-900); }

.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--navy-50); color: var(--navy-900); }

.btn-lg { font-size: 1.05rem; padding: .9em 1.6em; }
.btn-sm { min-height: 40px; font-size: .95rem; padding: .5em 1.1em; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}
.brand:hover { color: var(--navy-900); }
.brand strong { color: var(--orange-700); }

.nav { display: none; margin-left: auto; gap: 2px; }
.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}
.nav a:hover { background: var(--navy-50); color: var(--navy-800); }

.header-cta { display: none; margin-left: auto; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 960px) {
  .nav { display: flex; }
  .header-cta { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 36px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='%231d4fa8' stroke-opacity='.09' stroke-width='2'%3E%3Cellipse cx='260' cy='260' rx='240' ry='90'/%3E%3Cellipse cx='260' cy='260' rx='240' ry='90' transform='rotate(60 260 260)'/%3E%3Cellipse cx='260' cy='260' rx='240' ry='90' transform='rotate(120 260 260)'/%3E%3C/g%3E%3Ccircle cx='260' cy='260' r='20' fill='%23f47b20' fill-opacity='.14'/%3E%3C/svg%3E") no-repeat left -190px top -170px / 460px,
    var(--bg-hero);
}
.hero-grid {
  display: grid;
  gap: 8px;
  align-items: end;
}
.hero-copy { padding-bottom: 8px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-800);
  font-size: .9rem;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
}

h1 {
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: .45em;
}
.h1-brand {
  display: block;
  margin-bottom: .4em;
  color: var(--orange-700);
  font-size: .48em;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.guarantee {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 36em;
  margin: 0 0 20px;
  padding: 14px 18px;
  background: var(--orange-50);
  border: 1.5px solid #f6c49c;
  border-left: 5px solid var(--orange-700);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.guarantee p { margin: 0; font-size: 1.08rem; line-height: 1.45; }
.guarantee strong { color: var(--navy-900); }
.guarantee-label {
  display: block;
  margin-bottom: 2px;
  color: var(--orange-700);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.guarantee-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--orange-700);
  border-radius: 50%;
  color: #fff;
}
.guarantee-icon .icon { width: 24px; height: 24px; }
.lead {
  max-width: 36em;
  color: var(--muted);
  font-size: 1.08rem;
}
.lead strong { color: var(--ink); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}
.hero-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
}
.nowrap { white-space: nowrap; }
.hero-points li { display: flex; align-items: flex-start; gap: 10px; }
.hero-points .icon { margin-top: .22em; color: var(--orange-700); }

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(78%, 300px);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 362 / 560;
  object-fit: cover;
  object-position: top;
  /* làm mờ mép trái và mép dưới để ảnh hòa vào nền */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 82%, transparent 100%);
  mask-composite: intersect;
}

.badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 10px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  line-height: 1.25;
}
.badge strong { color: var(--navy-800); font-size: 1rem; font-weight: 800; }
.badge span { color: var(--muted); font-size: .78rem; }
/* Đặt nhãn ở vùng vai và áo vest, không che mặt thầy */
.badge-1 { left: -18%; top: 68%; border-left: 4px solid var(--orange-500); }
.badge-2 { right: -14%; top: 86%; border-left: 4px solid var(--navy-800); }

@media (min-width: 900px) {
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 40px; }
  .hero-copy { padding-bottom: 72px; }
  .hero-visual { width: 100%; max-width: 360px; }
  .hero-photo img { aspect-ratio: 362 / 700; }
  .badge-1 { left: -10%; top: 57%; }
  .badge-2 { right: -6%; top: 80%; }
}

/* ---------- Con số ---------- */
.stats { background: var(--navy-900); color: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.stat {
  margin: 0;
  padding: 22px 12px;
  text-align: center;
}
.stat strong {
  display: block;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}
.stat span { color: var(--on-dark-muted); font-size: .95rem; }
@media (max-width: 767px) { .stat { padding-inline: 6px; } .stat span { font-size: .88rem; } }
.stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .12); }
.stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 28px 12px; }
  .stat:nth-child(-n+2) { border-bottom: 0; }
  .stat:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, .12); }
}

/* ---------- Khung section ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin: 0 0 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }

.kicker {
  margin-bottom: 10px;
  color: var(--orange-700);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Vì sao ---------- */
.features {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.feature {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature p { margin: 0; color: var(--muted); }
.feature .ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background: var(--navy-50);
  border-radius: 12px;
  color: var(--navy-800);
}
.feature .ico .icon { width: 24px; height: 24px; }
.feature.highlight { background: var(--orange-50); border-color: #f6c49c; }
@media (max-width: 639px) {
  /* điện thoại: icon nằm cạnh tiêu đề cho gọn */
  .feature { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 20px 18px; }
  .feature .ico { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .feature h3 { margin: 0; align-self: center; }
}
.feature.highlight .ico { background: #fff; color: var(--orange-700); }

/* ---------- Khóa học ---------- */
.courses {
  display: grid;
  gap: 20px;
}
@media (min-width: 760px) { .courses { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

.course {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) { .course { padding: 32px; } }
.course h3 { font-size: 1.3rem; }
.course .for { color: var(--muted); }
.course .btn { align-self: flex-start; }

.course-grade {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 14px;
  background: var(--navy-50);
  border-radius: 999px;
  color: var(--navy-800);
  font-size: .85rem;
  font-weight: 800;
}
.course-tag {
  position: absolute;
  top: 28px;
  right: 24px;
  margin: 0;
  padding: 4px 12px;
  background: var(--orange-700);
  border-radius: 999px;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}
.course.featured { border: 2px solid var(--navy-800); }
.course.featured .course-grade { background: var(--navy-800); color: #fff; }

.topics {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.topics li { display: flex; gap: 10px; }
.topics .icon { width: 1.1em; margin-top: .3em; color: var(--navy-600); }

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: auto;
  margin-bottom: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: .92rem;
}
.course-meta strong { color: var(--ink); }

/* ---------- 3 bước ---------- */
.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step {
  padding: 28px 24px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  background: var(--orange-700);
  border-radius: 50%;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}
.step p { margin: 0; color: var(--muted); }

/* ---------- Về thầy Long ---------- */
.about {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) { .about { grid-template-columns: 340px 1fr; gap: 56px; } }
.about-photo {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--bg-hero);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-lead { color: var(--muted); font-size: 1.05rem; }
.about-lead strong { color: var(--ink); }

.creds {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .creds { grid-template-columns: repeat(2, 1fr); } }
.creds li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
  line-height: 1.45;
}
.creds .icon { width: 1.4em; height: 1.4em; color: var(--orange-700); }

/* ---------- Học phí ---------- */
.pricing {
  display: grid;
  gap: 24px;
  align-items: start;
}
@media (min-width: 900px) { .pricing { grid-template-columns: .9fr 1.1fr; gap: 32px; } }

.price-card {
  padding: 32px 28px;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  color: #fff;
}
.price-label { margin: 0; color: var(--on-dark-muted); font-weight: 600; }
.price {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
}
.price small { color: var(--on-dark-muted); font-size: 1rem; font-weight: 600; }
.price-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}
.price-card li { display: flex; gap: 10px; }
.price-card .icon { margin-top: .22em; color: var(--orange-500); }

.table-wrap {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.facts { width: 100%; border-collapse: collapse; font-size: .97rem; }
.facts caption {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--navy-900);
  font-size: 1.1rem;
  font-weight: 800;
  text-align: left;
}
.facts th, .facts td {
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.facts th { width: 32%; background: var(--bg-alt); color: var(--muted); font-weight: 600; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }

/* ---------- Cơ sở ---------- */
.locations {
  display: grid;
  gap: 20px;
}
@media (min-width: 720px) { .locations { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.location {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.location-name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--orange-700);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.location h3 { margin-bottom: 6px; font-size: 1.35rem; font-weight: 800; }
.location address { font-style: normal; }
.location-desc { color: var(--muted); }
.location .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* ---------- Hỏi đáp ---------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  padding: 0 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.faq details[open] { border-color: var(--navy-600); box-shadow: var(--shadow-sm); }
.faq summary {
  position: relative;
  padding: 18px 36px 18px 0;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--navy-600);
  border-bottom: 2.5px solid var(--navy-600);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary h3 { display: inline; margin: 0; font-size: 1.05rem; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Đăng ký ---------- */
.section-register {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--navy-50) 100%);
}
.register {
  display: grid;
  gap: 24px;
  align-items: start;
}
@media (min-width: 960px) { .register { grid-template-columns: 1.35fr .65fr; gap: 32px; } }

.form-card {
  padding: 28px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
@media (min-width: 640px) { .form-card { padding: 36px; } }
.form-intro { color: var(--muted); }

.row-2 { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; margin: 0 0 16px; }
.field > label, .field > legend { font-size: .95rem; font-weight: 600; }
fieldset.field { min-width: 0; padding: 0; border: 0; }
fieldset.field > legend { margin-bottom: 6px; padding: 0; }
.req { color: var(--orange-700); }

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--field);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* tránh iOS tự phóng to khi nhập */
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 4px rgba(29, 79, 168, .15);
}
[aria-invalid="true"] { border-color: #c0262d; }

.choices { display: grid; gap: 10px; }
@media (min-width: 560px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--field);
  border-radius: 10px;
  cursor: pointer;
  line-height: 1.35;
}
.choice input { width: auto; margin: .2em 0 0; accent-color: var(--navy-800); }
.choice small { color: var(--muted); }
.choice:has(input:checked) { background: var(--navy-50); border-color: var(--navy-800); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { margin: 12px 0 0; color: var(--muted); font-size: .88rem; text-align: center; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; }
.form-status:not(:empty) { display: block; }
.form-status.ok { background: #e8f7ee; border: 1px solid #a7ddba; color: #135c33; }
.form-status.info { background: var(--navy-50); border: 1px solid var(--navy-100); color: var(--navy-900); }
.form-status.err { background: #fdecec; border: 1px solid #f3b4b4; color: #8a1c21; }
.form-status p { margin: 0 0 10px; }
.form-status p:last-child { margin-bottom: 0; }

.contact-card {
  padding: 28px 24px;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  color: var(--on-dark-muted);
}
.contact-card h2 { color: #fff; font-size: 1.5rem; }
.contact-card .phone {
  display: block;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.01em;
  text-decoration: none;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.contact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  list-style: none;
}
.contact-list li { display: flex; gap: 10px; }
.contact-list .icon { margin-top: .22em; color: var(--orange-500); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0 104px; /* chừa chỗ cho thanh liên hệ trên điện thoại */
  background: var(--navy-950);
  color: var(--on-dark-muted);
  font-size: .95rem;
}
@media (min-width: 900px) { .site-footer { padding-bottom: 28px; } }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr .8fr; } }
.site-footer h2 { margin-bottom: 12px; color: #fff; font-size: 1rem; letter-spacing: 0; }
.site-footer a { color: #fff; }
.site-footer address { font-style: normal; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}
.footer-links { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.copyright {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .88rem;
}
.copyright p { margin: 0; }

/* ---------- Thanh liên hệ dính đáy (điện thoại) ---------- */
.mobile-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr 1.7fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -12px rgba(10, 42, 94, .3);
}
.mobile-bar .btn { min-height: 46px; padding: .55em .7em; font-size: .95rem; }
.mobile-bar .btn:hover { transform: none; }
@media (max-width: 379px) {
  /* điện thoại nhỏ: nút Gọi/Zalo co theo chữ để nút học thử không bị xuống dòng */
  .mobile-bar { grid-template-columns: auto auto 1fr; gap: 6px; padding-inline: 10px; }
  .mobile-bar .btn { padding: .55em .75em; font-size: .88rem; white-space: nowrap; }
}
@media (min-width: 900px) { .mobile-bar { display: none; } }
