/* ==========================================================================
   학원 홈페이지 공통 스타일
   색상은 각 학원 JSON의 site.themeColor 로 --brand 변수만 바뀝니다.
   ========================================================================== */

:root {
  --brand: #1d4ed8;
  --brand-dark: #1533a0;
  --brand-soft: #eef3ff;

  --ink: #16181d;
  --ink-2: #3f4550;
  --ink-3: #6b7280;
  --line: #e6e8ee;
  --bg: #ffffff;
  --bg-2: #f7f8fb;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 8px 24px rgba(16,24,40,.06);
  --shadow-lg: 0 12px 40px rgba(16,24,40,.12);

  --wrap: 1120px;
  --header-h: 64px;

  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --font-head: var(--font);
  --font-body: var(--font);
  --accent: #f59e0b;
  --accent-soft: #fef3e2;
  --brand-mid: #8aa5e8;
  --brand-pale: #c3d0f4;
  --brand-vivid: var(--brand);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.35; margin: 0; letter-spacing: -0.02em; font-weight: 800; font-family: var(--font-head); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }

.logo { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 18px; letter-spacing: -.03em; flex-shrink: 0; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 900;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 13px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

.nav-cta {
  margin-left: 8px; background: var(--brand) !important; color: #fff !important;
  padding: 9px 17px !important; font-weight: 700 !important;
}
.nav-cta:hover { background: var(--brand-dark) !important; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 42px; height: 40px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; border-radius: 2px; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

/* ---------- 히어로 ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 15% -10%, var(--brand-soft) 0%, transparent 62%),
    radial-gradient(800px 400px at 92% 0%, #fff6ec 0%, transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 76px;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--brand); font-weight: 700; font-size: 13.5px;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 900; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--brand-vivid, var(--brand)); }
.hero-sub { margin-top: 20px; font-size: clamp(16px, 2vw, 18.5px); color: var(--ink-2); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-badges li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .12s, box-shadow .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(29,78,216,.28); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- 히어로 카드 ---------- */
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px;
}
.hero-card h2 { font-size: 18px; margin-bottom: 4px; }
.hero-card .muted { font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
.info-row { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.info-row dt { flex: 0 0 68px; color: var(--ink-3); font-weight: 600; }
.info-row dd { margin: 0; flex: 1; font-weight: 600; }

/* ---------- 섹션 ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-label { color: var(--brand); font-weight: 800; font-size: 14px; letter-spacing: .04em; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(25px, 3.6vw, 34px); letter-spacing: -.035em; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }

/* ---------- 카드 그리드 ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .2s;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 16px;
}

.tag {
  display: inline-block; background: var(--brand-soft); color: var(--brand);
  font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
}

.ticklist { margin-top: 16px; display: grid; gap: 9px; }
.ticklist li { position: relative; padding-left: 25px; font-size: 15.5px; color: var(--ink-2); }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 15px; height: 9px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand);
  transform: rotate(-45deg); border-radius: 1px;
}

.card-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; }
.card-foot div { display: flex; gap: 10px; }
.card-foot dt, .card-foot .k { color: var(--ink-3); flex: 0 0 58px; font-weight: 600; }
.card-foot dd, .card-foot .v { margin: 0; font-weight: 600; }

/* ---------- 숫자 성과 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stat b { display: block; font-size: clamp(28px, 4vw, 38px); color: var(--brand); font-weight: 900; letter-spacing: -.03em; }
.stat span { font-size: 14.5px; color: var(--ink-3); font-weight: 600; }

/* ---------- 강사 ---------- */
.teacher { text-align: left; }
.teacher-avatar {
  width: 62px; height: 62px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 23px; font-weight: 900; margin-bottom: 16px;
}
.teacher .role { color: var(--brand); font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.teacher ul { margin-top: 14px; display: grid; gap: 7px; }
.teacher ul li { font-size: 14.5px; color: var(--ink-2); padding-left: 13px; position: relative; }
.teacher ul li::before { content: "·"; position: absolute; left: 2px; color: var(--brand); font-weight: 900; }

/* ---------- 후기 ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.review .quote { font-size: 15.5px; color: var(--ink-2); }
.review .who { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; font-size: 14.5px; }
.review .who span { color: var(--ink-3); font-weight: 500; }
.stars { color: #f5a524; font-size: 15px; letter-spacing: 1px; margin-bottom: 12px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 20px 54px 20px 22px; font-weight: 700; font-size: 16.5px; position: relative; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--brand); transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer { padding: 0 22px 22px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- 오시는 길 ---------- */
.map-embed {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-2); aspect-ratio: 16 / 10; min-height: 300px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; color: var(--ink-3); padding: 24px; }

.map-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.map-links a {
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 10px 16px; font-size: 14.5px; font-weight: 700; box-shadow: var(--shadow);
}
.map-links a:hover { background: var(--bg-2); }

/* ---------- 상담 폼 ---------- */
.apply-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.form-frame {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; min-height: 640px;
}
.form-frame iframe { width: 100%; min-height: 640px; border: 0; display: block; }
.form-fallback { padding: 40px 28px; text-align: center; color: var(--ink-2); }

/* ---------- 글(공지/칼럼) ---------- */
.post-list { display: grid; gap: 14px; }
.post-item {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .2s;
}
.post-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.post-item time { font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.post-item h3 { font-size: 19px; margin: 7px 0 9px; }
.post-item p { color: var(--ink-2); font-size: 15.5px; }

.article { max-width: 760px; margin: 0 auto; }
.article header { padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.article h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 12px; }
.article time { color: var(--ink-3); font-size: 14.5px; font-weight: 600; }
.article-body p { margin-bottom: 20px; font-size: 17px; color: var(--ink-2); }
.article-body h2 { font-size: 23px; margin: 38px 0 14px; }
.article-body h3 { font-size: 19px; margin: 30px 0 10px; }
.article-body ul { display: grid; gap: 9px; margin-bottom: 20px; }
.article-body ul li { padding-left: 18px; position: relative; color: var(--ink-2); font-size: 16.5px; }
.article-body ul li::before { content: "•"; position: absolute; left: 3px; color: var(--brand); }

/* ---------- 페이지 헤더 ---------- */
.page-head { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 56px 0 52px; }
.page-head h1 { font-size: clamp(27px, 4vw, 38px); }
.page-head p { margin-top: 14px; color: var(--ink-2); font-size: 17px; max-width: 640px; }

.crumbs { font-size: 13.5px; color: var(--ink-3); margin-bottom: 16px; }
.crumbs a { font-weight: 600; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 7px; opacity: .6; }

/* ---------- CTA 밴드 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; padding: 68px 0; text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3.6vw, 33px); }
.cta-band p { margin-top: 14px; font-size: 17px; opacity: .92; }
.cta-band .hero-actions { justify-content: center; margin-top: 30px; }
.cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.cta-band .btn-primary:hover { background: #f2f5ff; }
.cta-band .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); box-shadow: none; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.2); }

/* ---------- 푸터 ---------- */
.site-footer { background: #12141a; color: #9aa1ad; padding: 56px 0 40px; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid #262a33; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13.5px; color: #767d89; }

/* ---------- 모바일 하단 고정 바 ---------- */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-bar .btn { flex: 1; padding: 13px 10px; font-size: 15.5px; }

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .apply-shell { grid-template-columns: 1fr; gap: 28px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; padding: 10px; gap: 2px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 15px; font-size: 16px; }
  .nav-cta { margin: 6px 0 0; text-align: center; }
  .nav-toggle { display: flex; }

  .section { padding: 60px 0; }
  .hero { padding: 52px 0 58px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; padding-left: 14px; padding-right: 14px; }
  .cta-band .hero-actions .btn { flex: 0 1 auto; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
  .site-footer { padding-bottom: 30px; }
}

@media print {
  .site-header, .mobile-bar, .cta-band, .nav-toggle { display: none !important; }
  body { padding-bottom: 0; }
}

/* ==========================================================================
   학원별 변형 — 히어로 5종 / 카드 4종
   같은 CSS 파일로 사이트마다 다른 인상을 만들기 위한 부분입니다.
   ========================================================================== */

/* ---------- 히어로: panel ---------- */
.hero--panel .hero-inner { grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.hero-panel {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
}
.hero-panel-label { font-size: 14px; font-weight: 800; opacity: .82; letter-spacing: .03em; margin-bottom: 20px; }
.hero-panel ul { display: grid; gap: 20px; flex: 1; }
.hero-panel li { display: grid; gap: 5px; padding-left: 20px; position: relative; }
.hero-panel li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.hero-panel b { font-size: 17px; font-weight: 800; }
.hero-panel span { font-size: 14.5px; opacity: .88; line-height: 1.6; }
.hero-panel .btn { margin-top: 26px; background: #fff; color: var(--brand); font-weight: 800; }
.hero-panel .btn:hover { background: #eef2ff; }

/* ---------- 히어로: centered ---------- */
.hero--centered { text-align: center; }
.hero-center { max-width: 800px; margin: 0 auto; }
.hero--centered .hero-badges,
.hero--centered .hero-actions { justify-content: center; }
.hero--centered .eyebrow { margin-left: auto; margin-right: auto; }
.hero-stats { margin-top: 54px; }

/* ---------- 히어로: editorial ---------- */
.hero--editorial .hero-top { max-width: 900px; }
.hero--editorial h1 { font-size: clamp(32px, 6vw, 58px); letter-spacing: -.045em; }
.hero-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 60px; padding-top: 34px; border-top: 2px solid var(--ink);
}
.hero-col b { display: block; font-size: 17.5px; font-weight: 800; margin-bottom: 9px; }
.hero-col p { font-size: 15px; color: var(--ink-2); }

/* ---------- 히어로: band ---------- */
.hero--band {
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-bottom: none; color: #fff;
}
.hero--band h1 em { color: var(--brand-pale); }
/* 흰 카드 안에서는 본문 색을 되돌립니다 (히어로 전체가 흰 글씨이므로 상속을 끊어야 함) */
.hero--band .hero-card { color: var(--ink); }
.hero--band .hero-card .info-row dt { color: var(--ink-3); }
.hero--band .hero-sub { color: rgba(255,255,255,.9); }
.hero--band .eyebrow { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); color: #fff; box-shadow: none; }
.hero--band .eyebrow::before { background: var(--accent); }
.hero--band .hero-badges li { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.26); color: #fff; box-shadow: none; }
.hero--band .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.hero--band .btn-primary:hover { background: #eef2ff; }
.hero--band .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.34); box-shadow: none; }
.hero--band .btn-ghost:hover { background: rgba(255,255,255,.2); }

/* ---------- 카드 변형 ---------- */
body.t-card-outline .card,
body.t-card-outline .review,
body.t-card-outline .faq-item,
body.t-card-outline .post-item { box-shadow: none; border-width: 2px; border-color: var(--line); }
body.t-card-outline a.card:hover,
body.t-card-outline .post-item:hover { border-color: var(--brand); transform: none; box-shadow: none; }
body.t-card-outline .card-icon { background: transparent; border: 2px solid var(--brand); }

body.t-card-flat .card,
body.t-card-flat .review,
body.t-card-flat .faq-item,
body.t-card-flat .post-item { box-shadow: none; border-color: transparent; background: var(--bg-2); }
body.t-card-flat .section-alt .card,
body.t-card-flat .section-alt .review,
body.t-card-flat .section-alt .faq-item { background: #fff; }
body.t-card-flat a.card:hover,
body.t-card-flat .post-item:hover { transform: none; box-shadow: var(--shadow); }

body.t-card-line .card,
body.t-card-line .review,
body.t-card-line .post-item {
  box-shadow: none; border: none; border-top: 3px solid var(--ink);
  border-radius: 0; background: transparent; padding: 22px 0 26px;
}
body.t-card-line .grid { gap: 20px 36px; }
body.t-card-line a.card:hover, body.t-card-line .post-item:hover { transform: none; box-shadow: none; border-top-color: var(--brand); }
body.t-card-line .card-icon { background: transparent; color: var(--brand); border-radius: 0; width: auto; height: auto; margin-bottom: 10px; justify-content: start; }
body.t-card-line .hero-card,
body.t-card-line .form-frame { border-radius: var(--radius); }

/* ---------- 상담 신청 섹션 (홈 안에 삽입) ---------- */
.steps { display: grid; gap: 18px; margin-bottom: 26px; }
.steps li { display: flex; gap: 15px; align-items: flex-start; }
.steps b {
  flex: 0 0 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 14.5px; font-weight: 800;
  display: grid; place-items: center;
}
.steps strong { display: block; font-size: 16.5px; font-weight: 700; margin-bottom: 3px; }
.steps p { font-size: 15px; color: var(--ink-2); }
.apply-note {
  font-size: 13.5px; color: var(--ink-3); background: var(--bg-2);
  border-radius: 10px; padding: 14px 16px; line-height: 1.65;
}

.section-tight { padding: 52px 0; }

/* 강조색을 섹션 라벨과 태그에 살짝 섞어 학원마다 인상이 달라지게 합니다. */
.section-label { color: var(--brand); }
.stat b { color: var(--brand); }
.tag { background: var(--accent-soft); color: var(--accent); }

@media (max-width: 960px) {
  .hero--panel .hero-inner { grid-template-columns: 1fr; }
  .hero-cols { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .hero-cols { margin-top: 40px; }
  .hero-stats { margin-top: 36px; }
  .hero-panel { padding: 26px 22px; }
  body.t-card-line .card, body.t-card-line .review, body.t-card-line .post-item { padding: 18px 0 22px; }
}

/* 임베드가 막히는 브라우저를 위한 대체 링크 */
.form-alt { margin-top: 12px; text-align: center; font-size: 14.5px; }
.form-alt a { color: var(--ink-3); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-alt a:hover { color: var(--brand); }
.form-frame + .form-alt { margin-bottom: 4px; }
