/**
 * 실무형 학원 톤 리뉴얼 — AI 랜딩 느낌(세리프·그라데이션·필·글로우) 제거
 * 기능·마크업은 유지하고 시각만 덮어씀
 */

:root {
  --navy: #123a5c;
  --navy-2: #1a4d78;
  --ink: #102536;
  --gold: #a8842a;
  --gold-2: #c9a84a;
  --champagne: #b8953a;
  --bg: #f4f5f7;
  --bg-warm: #eef0f3;
  --card: #ffffff;
  --text: #1a2430;
  --muted: #4a5a6a;
  --line: #d8dee6;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(16, 37, 54, 0.06);
  --display: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
.section-head h2,
.page-hero h1,
.hero-bleed h1,
.hero-bleed .brand-signal,
.brand-mark,
.why-item h3,
.method-panel h3,
.final-cta h2,
.trust-rail__item strong,
.level-card__id,
.case-slide__who,
.site-footer h4 {
  font-family: var(--font) !important;
  font-weight: 750;
  letter-spacing: -0.025em;
}

/* 상단바 — 단색 */
.topbar {
  background: var(--ink);
  font-size: 12px;
  letter-spacing: 0;
}

/* 헤더 */
.site-header {
  backdrop-filter: none;
  background: #fff;
}
.site-header.is-solid {
  box-shadow: none;
  border-bottom-color: var(--line);
}
.brand-mark {
  border-radius: 6px;
  background: var(--navy);
  box-shadow: none;
  color: #fff;
  font-size: 15px;
}

/* 버튼 — 알약·글로우 제거 */
.btn {
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover {
  transform: none;
  box-shadow: none;
  filter: brightness(1.04);
}
.btn-accent {
  background: #d97706;
  color: #fff;
  background-image: none;
}
.btn-navy {
  background: var(--navy);
}
.btn-outline {
  border-radius: 8px;
  border-color: #b8c2ce;
}
.btn-outline-light {
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-pulse,
.btn-pulse::after {
  animation: none !important;
  box-shadow: none !important;
}

/* 섹션 */
.section {
  padding: 40px 0;
}
.section-alt {
  background: #fff;
}
.section-dark {
  background: #16324d;
  color: #fff;
}
.section-dark .muted {
  color: rgba(255, 255, 255, 0.82);
}
.section-head {
  margin-bottom: 18px;
  max-width: 36rem;
}
.section-head.center {
  text-align: left;
  margin-inline: 0;
}
.section-head h2 {
  font-size: clamp(1.35rem, 3.8vw, 1.75rem);
  margin-bottom: 6px;
  letter-spacing: -0.025em;
  line-height: 1.32;
}
.section-head .muted {
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.page-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

/* eyebrow — 영문 마케팅 라벨 대신 작은 국문 라벨 */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--navy);
  margin-bottom: 6px;
  padding: 0 0 0 10px;
  border-left: 3px solid #d97706;
  line-height: 1.3;
}
.section-dark .eyebrow {
  color: #f0d78c;
  border-left-color: #d4a84b;
}

/* 히어로 — 과장 줌·무거운 그라데이션 완화 */
.hero-bleed {
  min-height: min(72vh, 560px);
}
.hero-bleed__media img {
  transform: none !important;
  animation: none !important;
  object-position: center 30%;
}
.hero-bleed__shade {
  background: linear-gradient(
    180deg,
    rgba(10, 22, 36, 0.45) 0%,
    rgba(10, 22, 36, 0.35) 45%,
    rgba(10, 22, 36, 0.78) 100%
  );
}
.hero-bleed__content {
  animation: none;
  padding: 28px 0 40px;
  max-width: 34rem;
}
.hero-bleed .brand-signal {
  font-size: 0.95rem;
  color: #f0d78c;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.hero-bleed h1 {
  font-size: clamp(1.7rem, 5.5vw, 2.55rem);
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  margin-bottom: 10px;
}
.hero-bleed .lead {
  font-size: 1rem;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  max-width: 26rem;
}
.hero-actions {
  margin-top: 18px;
  gap: 8px;
}

/* 신뢰 레일 — 플랫 리스트 */
.trust-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
}
.trust-rail__item {
  padding: 14px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.trust-rail__item:nth-child(2n) {
  border-right: none;
}
.trust-rail__item:nth-child(n + 3) {
  border-bottom: none;
}
.trust-rail__item strong {
  display: block;
  font-size: 1.05rem;
  color: #0a1c33 !important;
  margin-bottom: 2px;
}
.trust-rail__item span {
  display: block;
  font-size: 12.5px;
  line-height: 1.4;
  color: #2f4258 !important;
  opacity: 1 !important;
}
@media (min-width: 720px) {
  .trust-rail {
    grid-template-columns: repeat(4, 1fr);
  }
  .trust-rail__item {
    border-bottom: none;
    padding: 16px 18px;
  }
  .trust-rail__item:nth-child(2n) {
    border-right: 1px solid var(--line);
  }
  .trust-rail__item:last-child {
    border-right: none;
  }
}

/* 카드·그리드 */
.card,
.teacher-card,
.post-card,
.level-card,
.faq-item,
.step {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid var(--line);
  background: #fff;
}
a.card:hover,
.card:has(a.btn):hover,
.teacher-card:hover,
a.level-card:hover,
.post-card:hover {
  transform: none;
  box-shadow: none;
  border-color: #a8b4c2;
}
.card-media,
.level-card__media,
.post-thumb {
  border-radius: 6px;
}
.step {
  /* 왼쪽 장식 번호(01·02·03) 자리 확보 — padding 축약 시 제목과 겹침 */
  padding: 16px 16px 16px 58px;
  position: relative;
  overflow: hidden;
}
.step::before {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--gold);
  line-height: 1;
  pointer-events: none;
}
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

/* 프로모·커리큘럼 샷 */
.promo-shot,
.curric-shot {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid var(--line);
  overflow: hidden;
}
.promo-shot__cta {
  border-radius: 6px;
}
.curric-shot__label {
  font-family: var(--font);
  letter-spacing: -0.02em;
}

/* 강사 */
.teacher-card {
  box-shadow: none;
}
.teacher-card--home {
  border: 1px solid #c5d0de;
  background: #fff;
}
.teacher-card--home h3 {
  color: #0a1c33;
  letter-spacing: -0.02em;
}
.teacher-card--home .score {
  color: #9a7420;
  font-weight: 800;
}
.teacher-photo {
  border-radius: 8px;
  border: 1px solid var(--line);
}
.teacher-grid--home {
  gap: 14px;
}

/* 방식 패널 */
.method-split {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.method-panel::after {
  background: linear-gradient(180deg, rgba(8, 18, 30, 0.2) 15%, rgba(8, 18, 30, 0.82));
}

/* 최종 CTA */
.final-cta {
  background: var(--navy);
  border-radius: 8px;
  box-shadow: none;
  background-image: none;
  padding: 28px 22px;
}
.final-cta h2 {
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
}
.region-cta {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid var(--line);
  background: #fff;
}

/* 사례 슬라이더 — 과장 연출 축소 */
.case-slider__viewport {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.case-slide__chip {
  border-radius: 4px;
  font-weight: 650;
}
.case-slide__quote {
  font-family: var(--font);
  font-size: clamp(1.05rem, 3.2vw, 1.25rem);
  line-height: 1.55;
  letter-spacing: -0.02em;
}
.case-slider__btn {
  border-radius: 6px;
}
.case-slider__progress {
  height: 2px;
  background: #d97706;
}

/* FAQ */
.faq-item summary {
  font-weight: 700;
}
.faq-list--home {
  gap: 12px;
}
.faq-item--home {
  border: 1px solid #c5d0de;
  background: #fff;
}
.faq-item--home summary {
  min-height: 48px;
  padding: 14px 16px;
  cursor: pointer;
}
.post-grid--home {
  gap: 14px;
}
.post-card--home h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.region-cta--home {
  margin-top: 22px;
}

/* 태그 */
.tag {
  border-radius: 4px;
  background: #eef2f6;
  color: var(--navy);
  font-weight: 650;
}

/* 푸터 */
.site-footer {
  background: #0f2436;
  background-image: none;
}

/* 등장 모션 — 거의 없애기 (실사이트 느낌) */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.hero-bleed__content .brand-signal,
.hero-bleed__content h1,
.hero-bleed__content .lead {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* 플로팅·하단 CTA 모양은 float-cta.css에서 관리 */

@media (max-width: 719px) {
  .section-head.center {
    text-align: left;
  }
  .hero-bleed {
    min-height: min(68vh, 520px);
  }
  .post-title,
  .post-block__heading,
  .post-block__text p,
  .geo-answer p,
  .geo-keypoints li,
  .faq-item summary,
  .faq-item p {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .faq-item summary {
    line-height: 1.45;
    padding: 2px 0;
  }
}
