/* ═══════════════════════════════════════════════════════════════════
   慧燈中學 招生 — Landing V3
   Built on the official huey-deng-design system (vendored at static/hd/).
   Consumes real tokens: --violet-*, --gold-*, --plum-*, --font-*, --shadow-*
   and the .hd-* helpers from hd/tokens/base.css.
   ═══════════════════════════════════════════════════════════════════ */

.v3-wrap { max-width: var(--container-wide); margin: 0 auto; padding: 0 40px; }
body.v3 a { text-decoration: none; }

/* ══ HEADER (override base.html .header) ════════════════════════════ */
body.v3 .header {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: none;
}
body.v3 .brand-icon {
  background: url("hd/assets/logo-mark.png") center / contain no-repeat;
  width: 46px; height: 46px;
  border-radius: 0;
  box-shadow: none;
  color: transparent;
  font-size: 0;
}
body.v3 .brand-text strong { font-family: var(--font-serif); color: var(--text-strong); letter-spacing: .04em; font-weight: 700; }
body.v3 .brand-text small  { color: var(--text-muted); letter-spacing: .1em; }
body.v3 .header-nav a { color: var(--text-muted); font-family: var(--font-ui); font-size: 15px; font-weight: 500; transition: color var(--dur-base); }
body.v3 .header-nav a:hover { color: var(--text-brand); }
body.v3 .header-cta {
  background: var(--violet-700);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 700; letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
  transition: filter var(--dur-fast), transform var(--dur-fast);
}
body.v3 .header-cta:hover { filter: brightness(1.07); }
body.v3 .menu-bars span { background: var(--violet-600); }
body.v3 .mobile-nav { background: var(--surface-page); }
body.v3 .mobile-nav a { font-family: var(--font-ui); color: var(--text-body); }
body.v3 .mobile-nav .m-cta { background: var(--violet-700); color: #fff; }

/* ══ SHARED PRIMITIVES ═════════════════════════════════════════════ */
.v3-eyebrow {
  font-family: var(--font-ui);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-block;
}
.v3-eyebrow.violet { color: var(--text-brand); }

/* buttons mirror components/actions/Button.jsx */
.v3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 700; line-height: 1; letter-spacing: .02em;
  font-size: 17px; padding: 16px 34px; border-radius: var(--radius-md); border: 1px solid transparent;
  cursor: pointer; transition: transform var(--dur-fast) var(--ease-standard), filter var(--dur-fast); }
.v3-btn:hover { filter: brightness(1.06); }
.v3-btn:active { transform: translateY(1px); }
.v3-btn svg { width: 20px; height: 20px; }
.v3-btn-accent { background: var(--color-accent); color: var(--violet-900); box-shadow: var(--shadow-sm); }
.v3-btn-primary { background: var(--color-brand-strong); color: #fff; box-shadow: var(--shadow-sm); }
.v3-btn-secondary { background: transparent; color: var(--text-brand); border: 1.5px solid var(--violet-300); }
.v3-btn-secondary:hover { background: var(--violet-50); filter: none; }
.v3-btn-light { background: rgba(255,255,255,.10); color: #fff; border: 1.5px solid rgba(255,255,255,.42); }
.v3-btn-light:hover { background: rgba(255,255,255,.18); filter: none; }

/* section scaffolding */
.v3-section { padding: 64px 0; }
.v3-section-lg { padding: 96px 0 56px; }
.v3-sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.v3-sec-head .v3-eyebrow { margin-bottom: 14px; }
.v3-h2 { font-family: var(--font-display); font-size: var(--fs-h2); color: var(--text-strong); line-height: 1.3; }
.v3-sec-desc { font-family: var(--font-ui); font-size: 16px; line-height: 1.85; color: var(--text-muted); margin-top: 16px; }

/* flame rule ✦ (mirrors .hd-flame-rule) */
.v3-flame { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--color-accent); }
.v3-flame::before, .v3-flame::after { content: ""; width: 48px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-300)); }
.v3-flame::after { background: linear-gradient(90deg, var(--gold-300), transparent); }

/* gold underline (mirrors .hd-underline-gold) */
.v3-underline { position: relative; display: inline-block; padding-bottom: var(--space-2); }
.v3-underline::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--color-accent); border-radius: var(--radius-pill); }

/* ══ HERO (photo + plum scrim) ═════════════════════════════════════ */
.v3-hero { position: relative; overflow: hidden; background: var(--violet-950); }
.v3-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v3-hero-scrim { position: absolute; inset: 0;
  background: linear-gradient(102deg, rgba(32,15,35,.93) 0%, rgba(52,26,56,.86) 34%, rgba(78,40,83,.62) 64%, rgba(78,40,83,.30) 100%); }
.v3-hero-glow { position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 14% 0%, rgba(178,115,182,.28), transparent 55%); }
.v3-hero-inner { position: relative; z-index: 2; max-width: var(--container-wide); margin: 0 auto; padding: 104px 40px 116px; }
.v3-hero-content { max-width: 720px; }
.v3-hero-tags { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.v3-badge-gold { display: inline-flex; align-items: center; font-family: var(--font-ui); font-size: 12.5px; font-weight: 700;
  letter-spacing: .02em; padding: 5px 11px; border-radius: var(--radius-pill); background: var(--gold-500); color: var(--violet-900); }
.v3-hero-tags .v3-eyebrow { color: var(--gold-300); margin: 0; }
.v3-h1 { font-family: var(--font-display); font-weight: 900; font-size: 62px; line-height: 1.16; color: #fff;
  letter-spacing: .02em; margin: 0; text-wrap: balance; text-shadow: 0 2px 24px rgba(20,8,22,.45); }
.v3-hero-lead { font-family: var(--font-ui); font-size: 19px; line-height: 1.85; color: var(--text-on-dark);
  opacity: .92; margin-top: 24px; max-width: 600px; text-shadow: 0 1px 12px rgba(20,8,22,.4); }
.v3-hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

/* ══ EVENT-INFO CARD (overlaps hero) ═══════════════════════════════ */
.v3-info-zone { max-width: var(--container-wide); margin: -52px auto 0; padding: 0 40px; position: relative; z-index: 10; }
.v3-info-card { position: relative; background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 32px 38px; overflow: hidden; }
.v3-info-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--color-accent); }
.v3-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.v3-info-tile { display: flex; gap: 16px; align-items: flex-start; }
.v3-info-ico { flex: none; width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--surface-tint);
  display: flex; align-items: center; justify-content: center; color: var(--violet-600); }
.v3-info-ico svg { width: 22px; height: 22px; }
.v3-info-label { font-family: var(--font-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-subtle); font-weight: 700; }
.v3-info-val { font-family: var(--font-heading); font-size: 19px; font-weight: 700; color: var(--text-strong); margin-top: 5px; }
.v3-info-val.gold { color: var(--gold-600); }
.v3-info-sub { font-family: var(--font-ui); font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ══ PHILOSOPHY (2-col) ════════════════════════════════════════════ */
.v3-philo-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.v3-philo-h2 { font-family: var(--font-display); font-size: 40px; line-height: 1.3; color: var(--text-strong); margin-top: 18px; }
.v3-philo-p { font-family: var(--font-ui); font-size: 16.5px; line-height: 1.85; color: var(--text-muted); margin-top: 22px; }
.v3-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.v3-feat { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 26px 24px; transition: transform var(--dur-base), box-shadow var(--dur-base); }
.v3-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.v3-feat-ico { color: var(--gold-500); margin-bottom: 14px; }
.v3-feat-ico svg { width: 26px; height: 26px; }
.v3-feat-t { font-family: var(--font-heading); font-size: 19px; font-weight: 700; color: var(--text-strong); }
.v3-feat-d { font-family: var(--font-ui); font-size: 14px; line-height: 1.7; color: var(--text-muted); margin-top: 8px; }

/* ══ RESULTS (deep card with stats) ════════════════════════════════ */
.v3-deep-card { position: relative; border-radius: var(--radius-lg); padding: 56px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% -20%, rgba(178,115,182,.22), transparent 60%), var(--surface-brand-deep);
  color: var(--text-on-dark); box-shadow: var(--shadow-lg); }
.v3-results-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 40px; }
.v3-results-head .v3-eyebrow { color: var(--gold-300); }
.v3-results-h2 { font-family: var(--font-display); font-size: 34px; color: #fff; margin-top: 14px; }
.v3-results-note { font-family: var(--font-ui); font-size: 14px; color: var(--text-on-dark); opacity: .7; max-width: 320px; line-height: 1.7; }
.v3-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.v3-results-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 38px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); }
.v3-results-foot p { font-family: var(--font-ui); font-size: 14px; line-height: 1.7; color: var(--text-on-dark); opacity: .75; margin: 0; max-width: 560px; }
.v3-results-link { display: inline-flex; align-items: center; gap: 7px; flex: none; font-family: var(--font-ui); font-size: 14.5px; font-weight: 600; color: var(--gold-300); text-decoration: none; border-bottom: 1.5px solid transparent; }
.v3-results-link:hover { border-bottom-color: var(--gold-300); }
.v3-results-link i { width: 16px; height: 16px; }
.v3-stat-val { font-family: var(--font-display); font-weight: 900; font-size: 48px; line-height: 1; letter-spacing: .01em; color: var(--color-accent); }
.v3-stat-val .suf { font-size: 22px; font-weight: 700; margin-left: 2px; }
.v3-stat-label { margin-top: 8px; font-family: var(--font-ui); font-size: 13.5px; color: rgba(244,239,245,.78); letter-spacing: .02em; }

/* ══ METHOD (two cards) ════════════════════════════════════════════ */
.v3-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.v3-mcard { position: relative; border-radius: var(--radius-lg); padding: 38px 36px; overflow: hidden; box-shadow: var(--shadow-md); }
.v3-mcard-deep { background: radial-gradient(120% 90% at 50% -20%, rgba(178,115,182,.22), transparent 60%), var(--surface-brand-deep); color: var(--text-on-dark); }
.v3-mcard-plain { background: var(--surface-card); border: 1px solid var(--border-subtle); }
.v3-mcard-plain::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--color-accent); }
.v3-mcard-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.v3-mcard-no { flex: none; width: 50px; height: 50px; border-radius: var(--radius-md); display: grid; place-items: center; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.v3-mcard-deep .v3-mcard-no { background: rgba(255,255,255,.14); color: var(--gold-300); }
.v3-mcard-plain .v3-mcard-no { background: var(--gold-50); color: var(--gold-600); }
.v3-mcard-title { font-family: var(--font-heading); font-size: 24px; font-weight: 700; }
.v3-mcard-deep .v3-mcard-title { color: #fff; }
.v3-mcard-plain .v3-mcard-title { color: var(--text-strong); }
.v3-mcard-tag { font-family: var(--font-ui); font-size: 13.5px; margin-top: 4px; letter-spacing: .02em; }
.v3-mcard-deep .v3-mcard-tag { color: var(--gold-200); }
.v3-mcard-plain .v3-mcard-tag { color: var(--gold-600); }
.v3-mcard-desc { font-family: var(--font-ui); font-size: 15px; line-height: 1.85; margin-bottom: 20px; }
.v3-mcard-deep .v3-mcard-desc { color: var(--text-on-dark); opacity: .88; }
.v3-mcard-plain .v3-mcard-desc { color: var(--text-muted); }
.v3-mcard-desc strong { font-weight: 700; }
.v3-mcard-deep .v3-mcard-desc strong { color: #fff; }
.v3-mcard-plain .v3-mcard-desc strong { color: var(--text-brand); }
.v3-mcard-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.v3-mcard-list li { position: relative; padding-left: 24px; font-family: var(--font-ui); font-size: 14.5px; line-height: 1.6; }
.v3-mcard-list li::before { content: "✦"; position: absolute; left: 0; top: 0; font-size: 12px; }
.v3-mcard-deep .v3-mcard-list li { color: var(--text-on-dark); opacity: .9; }
.v3-mcard-deep .v3-mcard-list li::before { color: var(--gold-300); }
.v3-mcard-plain .v3-mcard-list li { color: var(--text-muted); }
.v3-mcard-plain .v3-mcard-list li::before { color: var(--gold-500); }
.v3-mcard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.v3-mcard-link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-ui); font-size: 14.5px; font-weight: 600; color: var(--text-brand); text-decoration: none; border-bottom: 1.5px solid transparent; }
.v3-mcard-link:hover { border-bottom-color: var(--violet-300); }
.v3-mcard-link i { width: 16px; height: 16px; }
.v3-tl-notice a { color: var(--text-brand); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; border-bottom: 1.5px solid transparent; }
.v3-tl-notice a:hover { border-bottom-color: var(--violet-300); }
.v3-tl-notice a i { width: 15px; height: 15px; }

/* ══ SCHEDULE (timeline + venues, on paper) ════════════════════════ */
.v3-sched-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 980px; margin: 0 auto; }
.v3-panel-head { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 22px; }
.v3-tl-row { display: grid; grid-template-columns: 96px 28px 1fr; gap: 8px; align-items: start; }
.v3-tl-time { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--text-brand); text-align: right; padding-top: 2px; white-space: nowrap; }
.v3-tl-rail { display: flex; flex-direction: column; align-items: center; }
.v3-tl-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px var(--gold-100); margin-top: 6px; }
.v3-tl-line { width: 2px; flex: 1; min-height: 34px; background: var(--border-default); }
.v3-tl-body { padding-bottom: 26px; }
.v3-tl-subj { font-family: var(--font-heading); font-size: 18.5px; font-weight: 700; color: var(--text-strong); }
.v3-tl-min { font-family: var(--font-ui); font-size: 13px; color: var(--text-subtle); margin-left: 10px; }
.v3-tl-row.no-time { grid-template-columns: 28px 1fr; }
.v3-tl-notice { font-family: var(--font-ui); font-size: 14px; color: var(--text-subtle); margin: 2px 0 0 36px; }
.v3-venue { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px 26px; margin-bottom: 16px; }
.v3-venue:last-child { margin-bottom: 0; }
.v3-venue-badge { display: inline-block; font-family: var(--font-ui); font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--violet-100); color: var(--violet-700); margin-bottom: 12px; }
.v3-venue-badge.gold { background: var(--gold-100); color: var(--gold-700); }
.v3-venue-name { font-family: var(--font-heading); font-size: 19px; font-weight: 700; color: var(--text-strong); }
.v3-venue-room { font-family: var(--font-ui); font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.v3-venue-addr { font-family: var(--font-ui); font-size: 13px; color: var(--text-subtle); margin-top: 6px; }
.v3-sched-note { text-align: center; max-width: 760px; margin: 32px auto 0; font-family: var(--font-ui); font-size: 14px; color: var(--gold-700);
  background: var(--gold-50); border: 1px solid var(--gold-200); border-radius: var(--radius-md); padding: 14px 18px; }

/* ══ CAMPUS (photo gallery) ════════════════════════════════════════ */
.v3-campus-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.v3-campus-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-md); margin-bottom: 16px; }
.v3-campus-banner img { width: 100%; height: 380px; object-fit: cover; display: block; }
.v3-campus-banner .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(32,15,35,.74) 0%, rgba(32,15,35,.12) 38%, transparent 60%); }
.v3-campus-cap { position: absolute; left: 32px; bottom: 28px; color: #fff; }
.v3-campus-cap .t { font-family: var(--font-display); font-weight: 700; font-size: 28px; text-shadow: 0 2px 16px rgba(20,8,22,.5); }
.v3-campus-cap .s { font-family: var(--font-ui); font-size: 15px; opacity: .9; margin-top: 4px; }
.v3-campus-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.v3-ctile { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); }
.v3-ctile img { width: 100%; height: 220px; object-fit: cover; display: block; }
.v3-ctile .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(32,15,35,.72), transparent 56%); }
.v3-ctile-cap { position: absolute; left: 18px; bottom: 16px; color: #fff; }
.v3-ctile-cap .t { font-family: var(--font-heading); font-size: 18px; font-weight: 700; }
.v3-ctile-cap .s { font-family: var(--font-ui); font-size: 12.5px; opacity: .88; margin-top: 2px; }

/* ══ SCHOLARSHIP (tables) ══════════════════════════════════════════ */
.v3-award-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.v3-award { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.v3-award-head { padding: 20px 28px; font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--violet-500), var(--violet-700)); }
.v3-award table { width: 100%; border-collapse: collapse; }
.v3-award th { text-align: left; font-family: var(--font-ui); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-subtle); font-weight: 700; padding: 14px 28px; border-bottom: 1px solid var(--border-subtle); }
.v3-award th:last-child { text-align: right; }
.v3-award td { font-family: var(--font-ui); padding: 15px 28px; border-bottom: 1px solid var(--plum-100); font-size: 15px; color: var(--text-body); }
.v3-award tr:last-child td { border-bottom: none; }
.v3-award td.amt { text-align: right; font-family: var(--font-display); font-weight: 700; color: var(--text-brand); }
.v3-award tr.top { background: var(--gold-50); }
.v3-award tr.top td { color: var(--gold-700); }
.v3-award tr.top td.amt { color: var(--gold-600); }
.v3-award-note { text-align: center; margin-top: 28px; font-family: var(--font-ui); font-size: 14px; color: var(--text-muted); }

/* ══ REFERRAL BAR ══════════════════════════════════════════════════ */
.v3-ref { background: var(--surface-tint); border-top: 1px solid var(--border-brand); border-bottom: 1px solid var(--border-brand); }
.v3-ref-inner { max-width: var(--container-wide); margin: 0 auto; padding: 26px 40px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.v3-ref-ico { flex: none; width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--gold-500); color: var(--violet-900); }
.v3-ref-ico svg { width: 22px; height: 22px; }
.v3-ref-text { flex: 1; min-width: 240px; font-family: var(--font-ui); font-size: 15px; color: var(--text-muted); }
.v3-ref-text strong { color: var(--text-brand); }

/* ══ CTA (deep, crest watermark) ═══════════════════════════════════ */
.v3-cta { position: relative; overflow: hidden; margin-top: 40px;
  background: radial-gradient(120% 80% at 50% -10%, rgba(178,115,182,.22), transparent 60%), var(--surface-brand-deep);
  color: var(--text-on-dark); }
.v3-cta-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); height: 360px; opacity: .06; pointer-events: none; }
.v3-cta-inner { position: relative; max-width: var(--container-wide); margin: 0 auto; padding: 88px 40px; text-align: center; }
.v3-cta .v3-flame { margin-bottom: 22px; }
.v3-cta-h2 { font-family: var(--font-display); font-size: 44px; color: #fff; line-height: 1.3; margin: 0; }
.v3-cta-sub { font-family: var(--font-ui); font-size: 17px; color: var(--text-on-dark); opacity: .82; margin-top: 18px; }
.v3-cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ══ FAQ (2-col) ═══════════════════════════════════════════════════ */
.v3-faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; }
.v3-faq-aside .v3-h2 { margin-top: 14px; }
.v3-faq-aside p { font-family: var(--font-ui); font-size: 15px; line-height: 1.8; color: var(--text-muted); margin-top: 18px; }
.v3-faq-aside .tel { color: var(--text-brand); font-weight: 700; }
.v3-faq-list { display: flex; flex-direction: column; gap: 12px; }
.v3-faq-item { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 20px 24px; cursor: pointer; transition: border-color var(--dur-base); }
.v3-faq-item.open { border-color: var(--border-brand); }
.v3-faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-heading); font-size: 17.5px; font-weight: 700; color: var(--text-strong); }
.v3-faq-icon { flex: none; color: var(--violet-500); transition: transform var(--dur-base); display: grid; place-items: center; }
.v3-faq-icon svg { width: 20px; height: 20px; }
.v3-faq-item.open .v3-faq-icon { transform: rotate(45deg); }
.v3-faq-a { max-height: 0; overflow: hidden; font-family: var(--font-ui); font-size: 15px; line-height: 1.8; color: var(--text-muted); transition: max-height var(--dur-base) var(--ease-standard), margin var(--dur-base); }
.v3-faq-item.open .v3-faq-a { max-height: 300px; margin-top: 12px; }
.v3-faq-a a { color: var(--text-brand); font-weight: 700; text-decoration: underline; }

/* ══ CONTACT ═══════════════════════════════════════════════════════ */
.v3-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.v3-ccard { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 34px 32px; }
.v3-ccard h3 { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-size: 20px; color: var(--text-strong); margin-bottom: 22px; }
.v3-ccard-ico { width: 42px; height: 42px; border-radius: var(--radius-md); flex: none; display: grid; place-items: center; background: var(--surface-tint); color: var(--violet-600); }
.v3-ccard-ico svg { width: 21px; height: 21px; }
.v3-crow { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid var(--plum-100); font-family: var(--font-ui); font-size: 15px; color: var(--text-body); }
.v3-crow:first-of-type { border-top: none; }
.v3-clbl { flex: none; width: 44px; color: var(--text-subtle); font-weight: 700; font-size: 13px; letter-spacing: .06em; }
.v3-crow a { color: var(--text-brand); font-weight: 600; }

/* ══ FOOTER (override base.html .footer) ═══════════════════════════ */
body.v3 .footer { background: var(--violet-950); color: rgba(244,239,245,.7); border-top: none; }
body.v3 .footer a { color: var(--gold-300); }

/* ══ SCROLL REVEAL ═════════════════════════════════════════════════ */
.v3-reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.v3-reveal.in { opacity: 1; transform: none; }

/* ══ RESPONSIVE ════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .v3-wrap, .v3-hero-inner, .v3-info-zone, .v3-ref-inner, .v3-cta-inner { padding-left: 24px; padding-right: 24px; }
  .v3-h1 { font-size: 46px; }
  .v3-info-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .v3-philo-grid, .v3-faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .v3-method-grid, .v3-sched-grid, .v3-award-grid, .v3-contact-grid { grid-template-columns: 1fr; }
  .v3-stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .v3-campus-tiles { grid-template-columns: 1fr; }
  .v3-deep-card, .v3-mcard { padding: 36px 28px; }
}
@media (max-width: 600px) {
  .v3-info-grid { grid-template-columns: 1fr; }
  .v3-feat-grid { grid-template-columns: 1fr; }
  .v3-h1 { font-size: 38px; }
  .v3-hero-inner { padding: 72px 24px 88px; }
  .v3-cta-h2 { font-size: 32px; }
  .v3-hero-actions .v3-btn, .v3-cta-actions .v3-btn { width: 100%; }
}
