/* ChonTruong v2 — Modern parent-friendly design system
 * Fresh emerald palette · Warm accents · Clean type · Mobile-first · Micro-interactions
 */
:root {
  /* Palette */
  --brand: #059669;
  --brand-dark: #047857;
  --brand-darker: #065f46;
  --brand-soft: #ecfdf5;
  --brand-softer: #f0fdf4;
  --brand-border: #a7f3d0;
  --brand-line: #d1fae5;

  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-soft: #fffbeb;

  --coral: #f43f5e;
  --coral-soft: #fff1f2;
  --sky: #0ea5e9;
  --sky-soft: #f0f9ff;
  --violet: #8b5cf6;
  --violet-soft: #f5f3ff;

  --text: #0f172a;
  --text-2: #334155;
  --text-mute: #64748b;
  --text-soft: #94a3b8;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --bg-3: #f1f5f9;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;

  --gold: #eab308;
  --danger: #dc2626;
  --success: #10b981;

  --shadow-xs: 0 1px 2px rgba(15,23,42,.05);
  --shadow-sm: 0 2px 6px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 6px 20px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg: 0 20px 40px -12px rgba(15,23,42,.15), 0 8px 16px rgba(15,23,42,.06);
  --shadow-hover: 0 14px 36px -10px rgba(5,150,105,.28), 0 4px 12px rgba(15,23,42,.06);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .15s var(--transition); }
a:hover { color: var(--brand-dark); }
button { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Typography scale */
h1 { font-size: clamp(1.85rem, 4vw, 2.4rem); font-weight: 900; letter-spacing: -0.028em; line-height: 1.15; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em; }

/* ========== HEADER ========== */
.site-header {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 1.18rem; color: var(--brand-darker);
  letter-spacing: -0.01em;
}
.brand-logo {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--brand) 0%, #10b981 60%, #34d399 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: .9rem;
  box-shadow: 0 4px 12px rgba(5,150,105,.35), inset 0 -2px 4px rgba(0,0,0,.1);
}
.nav { display: flex; gap: 2px; align-items: center; }
.nav a {
  padding: 9px 14px; color: var(--text-2); font-weight: 600; font-size: .92rem;
  border-radius: 10px; transition: all .15s var(--transition);
}
.nav a:hover { background: var(--brand-soft); color: var(--brand-dark); text-decoration: none; }
.nav a.cta {
  background: var(--brand); color: white; padding: 10px 18px;
  box-shadow: 0 4px 14px rgba(5,150,105,.32);
}
.nav a.cta:hover { background: var(--brand-dark); color: white; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(5,150,105,.4); }
@media (max-width: 820px) {
  .nav a:not(.cta) { display: none; }
}

/* ========== BREADCRUMB ========== */
.breadcrumb { padding: 14px 0 4px; font-size: .82rem; color: var(--text-mute); }
.breadcrumb a { color: var(--text-mute); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; color: var(--text-soft); }
.breadcrumb .current { color: var(--text); font-weight: 600; }

/* ========== HERO ========== */
.hero {
  padding: 56px 20px 40px;
  background:
    radial-gradient(1200px 500px at 50% -100px, rgba(52,211,153,.18), transparent 60%),
    linear-gradient(180deg, var(--brand-softer) 0%, #fff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(160px 160px at 8% 30%, rgba(251,191,36,.15), transparent 70%),
    radial-gradient(180px 180px at 92% 20%, rgba(14,165,233,.14), transparent 70%);
}
.hero > * { position: relative; }
.hero .tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: white; border: 1px solid var(--brand-border);
  color: var(--brand-dark); font-size: .82rem; font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius-full);
  margin-bottom: 16px; box-shadow: var(--shadow-xs);
}
.hero h1 { color: var(--text); margin: 0 0 14px; }
.hero p { color: var(--text-2); max-width: 680px; margin: 0 auto 28px; font-size: 1.08rem; line-height: 1.6; }
.hero-search {
  max-width: 660px; margin: 0 auto;
  background: white; padding: 8px; border-radius: var(--radius-full);
  box-shadow: 0 10px 30px -8px rgba(15,23,42,.15), 0 0 0 6px rgba(5,150,105,.08);
  display: flex; gap: 8px; align-items: center;
}
.hero-search input {
  flex: 1; border: none; background: transparent;
  padding: 12px 18px; font-size: 1rem; outline: none; color: var(--text);
  font-family: inherit; min-width: 0;
}
.hero-search input::placeholder { color: var(--text-soft); }
.hero-search button {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white; border: none;
  padding: 12px 26px; border-radius: var(--radius-full);
  font-weight: 800; cursor: pointer; font-size: .95rem;
  box-shadow: 0 4px 14px rgba(5,150,105,.35);
  transition: transform .15s var(--transition);
}
.hero-search button:hover { transform: translateY(-1px); }

.quick-filters { display: flex; gap: 8px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.quick-filters a {
  padding: 8px 16px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
  border: 1px solid var(--brand-border); border-radius: var(--radius-full);
  font-size: .86rem; color: var(--brand-dark); font-weight: 700;
  transition: all .15s var(--transition);
}
.quick-filters a:hover { background: var(--brand); color: white; border-color: var(--brand); text-decoration: none; transform: translateY(-1px); }

/* Stats bar under hero */
.hero-stats {
  max-width: 900px; margin: 32px auto 0;
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  box-shadow: var(--shadow-sm);
}
.hero-stats .stat { text-align: center; padding: 4px 8px; border-right: 1px solid var(--line-soft); }
.hero-stats .stat:last-child { border-right: 0; }
.hero-stats .stat b { display: block; font-size: 1.5rem; font-weight: 900; color: var(--brand-darker); letter-spacing: -0.02em; }
.hero-stats .stat span { font-size: .8rem; color: var(--text-mute); font-weight: 600; }
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-stats .stat:nth-child(2) { border-right: 0; }
}

/* ========== SECTIONS ========== */
.section-title {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem); font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); margin: 44px 0 8px;
  display: flex; align-items: baseline; gap: 10px;
}
.section-title .see-all {
  font-size: .85rem; font-weight: 700; color: var(--brand); margin-left: auto;
}
.section-subtitle { color: var(--text-mute); margin: 0 0 22px; font-size: .95rem; }

/* ========== CARD GRID ========== */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px;
}

/* Featured card variant (used on home + listing featured) */
.card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  text-decoration: none; color: inherit;
  transition: transform .2s var(--transition), box-shadow .2s var(--transition), border-color .2s var(--transition);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--sky));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--brand-border); text-decoration: none; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin: 0 0 6px; color: var(--text); line-height: 1.35; }
.card .meta { font-size: .84rem; color: var(--text-mute); margin: 2px 0; }
.card .meta strong { color: var(--brand-dark); font-weight: 700; }

/* Badges */
.badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: .74rem; font-weight: 700; line-height: 1.4;
  border: 1px solid transparent;
}
.badge-type {
  background: var(--brand-soft); color: var(--brand-darker); border-color: var(--brand-border);
}
.badge-level { background: var(--accent-soft); color: #92400e; border-color: #fde68a; }
.badge-sponsored { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.badge-verified { background: var(--sky-soft); color: #075985; border-color: #bae6fd; }
.badge-hot { background: var(--coral-soft); color: #be123c; border-color: #fecdd3; }

/* ========== LISTING ========== */
.listing-header {
  padding: 28px 0 16px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.listing-header h1 { margin: 0 0 8px; }
.listing-summary {
  background:
    linear-gradient(135deg, var(--brand-soft) 0%, #f0fdfa 100%);
  border: 1px solid var(--brand-line);
  border-left: 4px solid var(--brand);
  padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: .92rem; line-height: 1.65; color: var(--text-2); margin: 14px 0;
}
.listing-summary strong { color: var(--brand-darker); }

/* Filter bar */
.filter-bar {
  background: white; padding: 16px 18px; border-radius: var(--radius);
  margin-bottom: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px;
}
.filter-bar label { display: block; font-size: .74rem; color: var(--text-mute); margin-bottom: 5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.filter-bar select, .filter-bar input {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .9rem; background: var(--bg-2); color: var(--text);
  font-family: inherit; transition: border-color .15s, background .15s;
}
.filter-bar select:focus, .filter-bar input:focus {
  outline: none; background: white;
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(5,150,105,.12);
}

/* Featured slot */
.featured-block {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid var(--gold); border-radius: var(--radius); padding: 22px;
  margin-bottom: 22px; position: relative;
}
.featured-block::before {
  content: ''; position: absolute; top: 0; right: 20px; width: 80px; height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  border-radius: 0 0 6px 6px;
}
.featured-block .label {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--gold), var(--accent-dark));
  color: white; padding: 5px 14px; border-radius: var(--radius-full);
  font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 14px; box-shadow: 0 4px 10px rgba(234,179,8,.35);
}

/* Result count */
.result-count {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: var(--bg-2); border-radius: var(--radius-sm);
  margin-bottom: 14px; font-size: .88rem; color: var(--text-2);
}
.result-count strong { color: var(--brand-darker); font-weight: 800; }

/* ========== SCHOOL ROW ========== */
.school-row {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; margin-bottom: 14px;
  display: grid; grid-template-columns: 108px 1fr 170px; gap: 20px; align-items: start;
  transition: transform .2s var(--transition), box-shadow .2s var(--transition), border-color .2s var(--transition);
  position: relative;
}
.school-row:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-hover);
  border-color: var(--brand-border);
}
.school-row .logo {
  width: 108px; height: 108px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--brand-line) 60%, var(--brand-border) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-darker); font-weight: 900; font-size: 1.6rem;
  text-align: center; padding: 6px; overflow: hidden;
  box-shadow: inset 0 -3px 8px rgba(5,150,105,.12);
}
.school-row .info h2 { margin: 0 0 5px; font-size: 1.12rem; line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; }
.school-row .info h2 a { color: var(--text); }
.school-row .info h2 a:hover { color: var(--brand-dark); text-decoration: none; }
.school-row .info .addr { font-size: .84rem; color: var(--text-mute); margin-bottom: 8px; display: inline-flex; align-items: center; gap: 4px; }
.school-row .info .stat-row {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; color: var(--text-2); margin-top: 8px;
  padding-top: 10px; border-top: 1px dashed var(--line);
}
.school-row .info .stat { display: inline-flex; align-items: center; gap: 4px; }
.school-row .info .stat b { color: var(--brand-darker); font-weight: 800; }
.school-row .actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.school-row .price-tag {
  background: linear-gradient(135deg, var(--brand-soft), var(--brand-line));
  border: 1px solid var(--brand-border);
  padding: 8px 12px; border-radius: var(--radius-sm);
  text-align: center; margin-bottom: 6px;
}
.school-row .price-tag .price {
  font-size: .95rem; font-weight: 900; color: var(--brand-darker); line-height: 1.2;
}
.school-row .price-tag .price-note { font-size: .7rem; color: var(--text-mute); margin-top: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .88rem; text-align: center;
  cursor: pointer; border: none; font-family: inherit; text-decoration: none;
  transition: transform .15s var(--transition), box-shadow .15s var(--transition), background .15s;
}
.btn-primary {
  background: var(--brand); color: white;
  box-shadow: 0 4px 12px rgba(5,150,105,.28);
}
.btn-primary:hover { background: var(--brand-dark); color: white; transform: translateY(-1px); text-decoration: none; box-shadow: 0 6px 16px rgba(5,150,105,.4); }
.btn-outline { background: white; color: var(--brand-dark); border: 1.5px solid var(--brand-border); }
.btn-outline:hover { background: var(--brand-soft); border-color: var(--brand); text-decoration: none; }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white; box-shadow: 0 4px 12px rgba(245,158,11,.32);
}
.btn-accent:hover { transform: translateY(-1px); color: white; text-decoration: none; box-shadow: 0 6px 16px rgba(245,158,11,.44); }

@media (max-width: 720px) {
  .school-row { grid-template-columns: 74px 1fr; gap: 14px; padding: 16px; }
  .school-row .logo { width: 74px; height: 74px; font-size: 1.15rem; }
  .school-row .actions { grid-column: 1 / -1; flex-direction: row; gap: 8px; }
  .school-row .price-tag { flex: 1; margin-bottom: 0; }
  .school-row .actions .btn { flex: 1; }
}

/* ========== PROFILE ========== */
.profile-hero {
  background:
    radial-gradient(800px 300px at 15% -50px, rgba(52,211,153,.18), transparent),
    linear-gradient(180deg, var(--brand-softer) 0%, white 100%);
  padding: 32px 0 24px; border-bottom: 1px solid var(--line);
}
.profile-head {
  display: grid; grid-template-columns: 128px 1fr 200px; gap: 24px; align-items: start;
}
.profile-head .logo {
  width: 128px; height: 128px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand), var(--brand-darker));
  color: white; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 2.1rem;
  text-align: center; padding: 10px;
  box-shadow: var(--shadow-md), inset 0 -4px 10px rgba(0,0,0,.15);
}
.profile-head h1 { margin: 0 0 8px; }
.profile-head .subtitle { color: var(--text-mute); font-size: .96rem; margin-bottom: 6px; }
.profile-head .addr { color: var(--text-2); font-size: .92rem; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; }
.profile-head .badges { margin-top: 12px; }
.profile-head .actions { display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 820px) {
  .profile-head { grid-template-columns: 88px 1fr; }
  .profile-head .logo { width: 88px; height: 88px; font-size: 1.4rem; }
  .profile-head .actions { grid-column: 1 / -1; flex-direction: row; }
  .profile-head .actions .btn { flex: 1; }
}

.confidence-note {
  padding: 10px 14px; background: var(--accent-soft);
  border: 1px solid #fde68a; border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); margin: 14px 0 0;
  font-size: .84rem; color: #92400e;
}

/* Tabs */
.tabs {
  display: flex; gap: 2px; border-bottom: 2px solid var(--line);
  margin: 26px 0 22px; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.tab {
  padding: 12px 20px; background: transparent; border: none;
  font-family: inherit; font-size: .94rem; font-weight: 700;
  color: var(--text-mute); cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  white-space: nowrap; transition: all .15s;
}
.tab:hover { color: var(--text); background: var(--bg-2); border-radius: 8px 8px 0 0; }
.tab.active { color: var(--brand-dark); border-bottom-color: var(--brand); }
.tab-content { display: none; animation: fadeIn .3s var(--transition); }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px);} to { opacity: 1; transform: none; } }

/* Profile layout */
.profile-layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 32px; margin: 24px 0 60px;
}
@media (max-width: 960px) { .profile-layout { grid-template-columns: 1fr; } }

.pinfo-block {
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 16px;
}
.pinfo-block h2 {
  margin: 0 0 14px; font-size: 1.18rem; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}

.data-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.data-grid .cell { padding: 12px 14px; background: var(--bg-2); border-radius: var(--radius-sm); border: 1px solid var(--line-soft); }
.data-grid .cell .k { font-size: .72rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.data-grid .cell .v { font-size: .98rem; color: var(--text); margin-top: 3px; font-weight: 700; }
.data-grid .cell .v.unknown { color: var(--text-soft); font-weight: 400; font-style: italic; }
.data-grid .cell.wide { grid-column: 1 / -1; }

.tuition-highlight {
  background: linear-gradient(135deg, var(--brand-soft), var(--brand-line));
  border: 1px solid var(--brand-border);
  border-radius: var(--radius); padding: 20px; margin: 12px 0;
  position: relative; overflow: hidden;
}
.tuition-highlight::before {
  content: '💰'; position: absolute; right: 14px; top: 12px; font-size: 2.2rem; opacity: .18;
}
.tuition-highlight .amount { font-size: 1.75rem; font-weight: 900; color: var(--brand-darker); letter-spacing: -0.02em; line-height: 1.1; }
.tuition-highlight .note { font-size: .85rem; color: var(--text-2); margin-top: 6px; }

.facility-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fchip {
  background: white; color: var(--text); padding: 6px 12px;
  border-radius: var(--radius-full); font-size: .84rem;
  border: 1px solid var(--line); font-weight: 600;
  transition: all .15s var(--transition);
}
.fchip:hover { border-color: var(--brand-border); background: var(--brand-soft); color: var(--brand-darker); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-card {
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
}
.sidebar-card h3 { margin: 0 0 12px; font-size: 1.02rem; font-weight: 800; }

/* Lead form */
.lead-form {
  background: white; border: 2px solid var(--brand);
  border-radius: var(--radius); padding: 22px;
  position: sticky; top: 88px;
  box-shadow: 0 10px 30px -12px rgba(5,150,105,.25);
}
.lead-form h3 {
  margin: 0 0 5px; color: var(--brand-darker); font-size: 1.12rem;
  display: flex; align-items: center; gap: 8px;
}
.lead-form .lead-subtitle { color: var(--text-mute); font-size: .84rem; margin-bottom: 14px; }
.lead-form label {
  display: block; margin-top: 12px; font-size: .82rem;
  color: var(--text); font-weight: 700;
}
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 10px 12px; margin-top: 5px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .92rem; font-family: inherit; background: var(--bg-2);
  transition: all .15s var(--transition);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; background: white; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(5,150,105,.14);
}
.lead-form .consent-row {
  display: flex; gap: 8px; align-items: flex-start;
  margin-top: 14px; padding: 12px 14px;
  background: var(--brand-softer); border: 1px solid var(--brand-line);
  border-radius: var(--radius-sm);
  font-size: .78rem; color: var(--text-2); line-height: 1.55;
}
.lead-form .consent-row input[type=checkbox] { width: auto; margin-top: 2px; accent-color: var(--brand); }
.lead-form button {
  width: 100%; background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white; padding: 14px; border: none; border-radius: var(--radius-sm);
  font-weight: 800; font-size: 1rem; cursor: pointer; margin-top: 14px;
  font-family: inherit; box-shadow: 0 6px 16px rgba(5,150,105,.32);
  transition: transform .15s;
}
.lead-form button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(5,150,105,.42); }
@media (max-width: 960px) { .lead-form { position: static; } }

/* Tuition table */
.tuition-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.tuition-table th, .tuition-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
.tuition-table thead { background: linear-gradient(135deg, var(--brand-dark), var(--brand-darker)); color: white; }
.tuition-table thead th { font-weight: 700; font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; }
.tuition-table tbody tr { transition: background .15s; }
.tuition-table tbody tr:hover { background: var(--brand-softer); }
.tuition-table tbody tr:last-child td { border-bottom: 0; }
.tuition-table td.num { text-align: right; font-weight: 800; color: var(--brand-darker); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Comparison table */
.cmp-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 20px 0; box-shadow: var(--shadow-sm);
}
.cmp-table th, .cmp-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: .92rem; vertical-align: top; }
.cmp-table thead { background: var(--bg-2); }
.cmp-table thead th { font-weight: 800; }
.cmp-table td.k { font-weight: 700; color: var(--text-mute); background: var(--bg-2); width: 26%; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
.cmp-table tbody tr:last-child td { border-bottom: 0; }

/* Sponsored disclosure */
.sponsored-banner {
  background: #fef3c7; border: 1px solid #fde68a;
  padding: 10px 14px; border-radius: var(--radius-sm);
  margin: 14px 0; font-size: .82rem; color: #92400e;
}

/* ========== FOOTER ========== */
.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: #cbd5e1; padding: 48px 0 24px; margin-top: 70px;
}
.site-footer .container {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px;
}
@media (max-width: 900px) { .site-footer .container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .site-footer .container { grid-template-columns: 1fr; } }
.site-footer h4 { margin: 0 0 12px; color: white; font-size: .98rem; font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #94a3b8; font-size: .88rem; }
.site-footer a:hover { color: white; text-decoration: none; }
.footer-brand-desc { color: #94a3b8; font-size: .88rem; line-height: 1.6; margin-top: 8px; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid #1e293b; padding-top: 20px; margin-top: 12px; text-align: center; font-size: .82rem; color: #64748b; }

/* Utilities */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }

/* Scroll bar (webkit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-border); }
