/* ===================================================================
   responsive.patch.css
   반응형 패치 (기존 HTML/class 구조 유지, CSS 덮어쓰기 전용)
   Primary: rgb(41,126,255)
   =================================================================== */

/* ============================================================
   1200px 이하
   ============================================================ */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 28px;
    padding-left: 2%;
    padding-right: 2%;
  }

  header .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  section {
    padding: 70px 0;
  }

  h2 {
    font-size: 2.5rem;
  }

  .section-hero h2 {
    font-size: 2.75rem;
  }

  /* Hero 2컬럼 간격 조정 */
  .section-hero .container > .container {
    gap: 32px;
  }

  /* 3~4열 그리드 → 2열 */
  .course-grid,
  .prod-grid,
  .card-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .press-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  /* KPI 그리드 3열 → 2열 */
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-cta .container {
    width: 100%;
  }

  .section-cta .bottom-form {
    width: 90%;
  }
}

/* ============================================================
   980px 이하
   ============================================================ */
@media (max-width: 980px) {
  .container {
    padding: 0 20px;
  }

  section {
    padding: 60px 0;
  }

  .section-press {
    background-image: none;
    background-size: 60%;
    background-position: right top;
    background-repeat: no-repeat;
  }

  .section-press .container {
    margin-top: 0;
  }

  h2 {
    font-size: 2rem;
  }

  .section-hero {
    min-height: 0;
  }

  .hero-content > .container {
    display: flex;
    flex-direction: column;
  }

  .hero-content .left {
    order: 1;
  }

  .hero-content .right {
    order: 2;
  }

  .hero-content .content-container {
    order: 3;
  }

  .section-hero .right img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 12px auto 0;
  }

  .section-hero h2 {
    font-size: 2.25rem;
  }

  .hero-content .con02 {
    margin: 0;
  }

  .section-credibility .stat-num {
    font-size: 3rem;
  }

  /* Hero 2컬럼 → 1컬럼 */
  .section-hero .container {
    display: flex;
    flex-direction: column;
  }

  .section-hero .left,
  .section-hero .right {
    width: 100%;
  }

  .section-hero .right .container {
    max-width: 100%;
    position: relative;
    top: 0;
  }

  .section-hero .hero-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "bulb"
      "cta";
    gap: 16px;
  }

  .section-hero .hero-content > .content-container {
    justify-content: stretch;
  }

  /* 모바일에서 전구가 겹치지 않게 흐름으로 내려오게 */
  .section-hero .right img {
    position: static;
    max-width: 360px;
    margin: 8px auto 0;
  }

  /* Hero CTA 버튼 */
  .section-hero .cta {
    flex-wrap: wrap;
    gap: 12px;
  }

  .section-hero .cta .btn {
    flex: 1 1 auto;
    min-width: 200px;
  }

  .mobile-nav .submenu,
  .mobile-nav .submenu-panel,
  .mobile-nav .menu-sub,
  .drawer .submenu,
  .drawer .submenu-panel,
  .drawer .menu-sub {
    display: block !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* 3~4열 그리드 → 2열 */
  .course-grid,
  .prod-grid,
  .card-wrapper,
  .press-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 2열 레이아웃 → 1열 */
  .section-usage .container,
  .section-tools-bridge .content-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .section-usage .left,
  .section-usage .right {
    width: 100%;
  }

  /* KPI 그리드 → 1열 */
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  /* 비교 섹션 */
  .compare {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Form 레이아웃 */
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-cta .container {
    width: 90%;
  }

  .section-cta .btn {
    width: 50%;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Decision 섹션 */
  .decision-cta {
    flex-direction: column;
    align-items: center;
  }

  .decision-cta .btn {
    min-width: 240px;
  }

  /* 오버뷰 레이아웃 */
  .overview-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 도구 브릿지 그리드 */
  .bridge-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 통계 그리드 */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 서포트 그리드 */
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-course .section-body {
    display: block;
  }

  .section-course .course-left img {
    margin: 0 auto;
  }

  .section-course .tags,
  .section-course .section-head h2 {
    text-align: center;
    display: block;
  }

  .price-card {
    width: 100%;
    margin-left: 0;
  }

  /* course-right를 '레이아웃 박스'가 아니라 '내용만'으로 풀어줌 */
  #course-info > .section-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  #course-info > .section-body > .course-right {
    display: contents !important;
  }

  #course-info .course-right-container {
    display: contents !important;
  }

  /* 순서 지정 */
  #course-info .section-head {
    order: 1 !important;
    margin: 0 auto;
  }

  #course-info > .section-body > .course-left {
    order: 2 !important;
    margin: 0 auto;
  }

  #course-info .course-meta {
    display: block;
    order: 3 !important;
    margin: 0 auto;
    width: 480px;
    max-width: 100%;
    padding: 0;
  }

  /* 네비게이션 드롭다운 조정 */
  .subnav {
    min-width: 280px;
  }

  .nav-drawer {
    width: min(320px, 88vw);
  }
}

/* ============================================================
   768px 이하
   ============================================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero-content .con01 {
    display: block;
  }

  .section-hero .right .container {
    position: relative;
  }

  section {
    padding: 50px 0;
  }

  h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  h5 {
    font-size: 1.25rem;
  }

  .section-hero {
    padding: 80px 0 60px;
  }

  .section-hero h2 {
    font-size: 1.875rem;
    line-height: 1.3;
  }

  .section-hero .desc {
    font-size: 1rem;
  }

  .section-hero .kicker {
    font-size: 0.875rem;
    padding: 8px 14px;
  }

  /* 모든 그리드 → 1열 */
  .course-grid,
  .prod-grid,
  .card-wrapper,
  .press-grid,
  .case-grid,
  .support-grid,
  .bridge-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section-background .card-wrapper {
    display: block;
  }

  .section-proof .container {
    display: block;
  }

  .section-proof .container .text-container {
    width: 100%;
  }

  .section-proof .container .content-container {
    width: 100%;
  }

  .section-policy .card-wrapper {
    display: block;
  }

  /* 제로코스트 포인트 */
  .zerocost-points {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .zerocost-points .point {
    padding: 16px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.03);
  }

  /* 섹션 타이틀 */
  .title {
    font-size: 1.5rem;
  }

  .desc {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  /* 버튼 */
  .btn {
    padding: 12px 20px;
    font-size: 0.9375rem;
  }

  /* Form */
  .section-cta .container {
    width: 95%;
  }

  .section-cta .btn {
    width: 70%;
  }

  /* 아코디언 버튼 */
  .acc-btn {
    padding: 16px;
  }

  .acc-title {
    font-size: 1rem;
  }

  .acc-arrow {
    width: 26px;
    height: 26px;
  }

  /* Decision 섹션 */
  .decision {
    padding: 70px 0;
  }

  .decision .text-container .title,
  .decision-title {
    font-size: 2rem;
  }

  .decision .text-container .desc,
  .decision-body {
    font-size: 1.125rem;
  }

  /* 오버뷰 */
  .overview-visual {
    max-height: 280px;
  }

  /* 프로그램 카드 */
  .program-card {
    display: flex;
    flex-direction: column;
  }

  .program-media {
    width: 100%;
  }

  /* 그래프 섹션 */
  .section-proof .container img {
    max-width: 100%;
    height: auto;
  }

  /* 통계 숫자 */
  .section-credibility .stat-num {
    font-size: 3rem;
  }

  /* 툴즈 그리드 */
  .tools-grid {
    flex-direction: column;
  }

  .section-usecase .usecase-card {
    width: 260px;
  }

  /* 유즈케이스 */
  .usecase-grid {
    flex-direction: column;
  }

  .usecase-card {
    min-width: auto;
  }

  .section-tint01 .content-container {
    display: block;
  }

  .section-tint01 .content-container .left {
    text-align: center;
  }

  #course-info > .section-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .section-course .course-meta {
    flex-direction: column;
    gap: 14px;
  }

  .section-course .price-card {
    flex-basis: auto;
    width: 100%;
  }

  .section-tint .card-black {
    background-position: center bottom;
  }

  .pain-text {
    text-align: left;
  }

  /* 프로그램 카드 이미지 */
  .program-media img {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
  }

  /* 그래프/차트 반응형 */
  .graph-grid {
    grid-template-columns: 1fr;
  }

  .bar-list {
    gap: 12px;
  }

  .bar-track {
    height: 44px;
    padding: 8px;
  }

  .bar {
    min-width: 80px;
    padding: 0 8px;
  }

  .bar-num {
    font-size: 11px;
  }

  /* 텍스트 오버플로우 방지 */
  h1, h2, h3, h4, h5, h6 {
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  p, li, span {
    word-break: keep-all;
    overflow-wrap: break-word;
  }
}

/* ============================================================
   480px 이하
   ============================================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 4%;
  }

  .section-zerocost {
    padding: 40px 0;
  }

  header .container img {
    width: 70%;
  }

  h2 {
    font-size: 1.5rem;
  }

  h5 {
    font-size: 1.125rem;
  }

  .section-hero {
    padding: 100px 0 50px;
  }

  .section-hero h2 {
    font-size: 1.625rem;
    line-height: 1.25;
  }

  .section-hero .desc {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .section-hero .kicker {
    font-size: 0.8125rem;
    padding: 7px 12px;
  }

  /* Hero CTA 버튼 full width */
  .section-hero .cta {
    flex-direction: column;
    gap: 10px;
  }

  .section-hero .cta .btn {
    width: 100%;
    min-width: auto;
  }

  /* 모든 버튼 full width */
  .btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 0.875rem;
  }

  .btn-outline,
  .btn-ghost,
  .btn-primary {
    width: 100%;
  }

  /* Decision CTA */
  .decision-cta {
    gap: 10px;
  }

  .decision-cta .btn {
    width: 100%;
    min-width: auto;
  }

  /* 타이틀 크기 */
  .title {
    font-size: 1.375rem;
    line-height: 1.3;
  }

  .desc {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  /* 태그 */
  .tag,
  .tag01 {
    font-size: 0.8125rem;
    padding: 5px 12px;
  }

  /* 카드 패딩 */
  .card,
  .support-card,
  .program-card,
  .case-card,
  .pain-card,
  .compare-item {
    padding: 16px;
  }

  .card-black {
    padding: 16px;
  }

  /* Form */
  .section-cta .container {
    width: 100%;
  }

  .section-cta .btn {
    width: 100%;
  }

  .form {
    padding: 20px 16px;
  }

  .input {
    padding: 12px 14px;
    font-size: 0.9375rem;
  }

  /* 아코디언 */
  .acc-btn {
    padding: 14px 12px;
    grid-template-columns: 24px 1fr 32px;
    gap: 10px;
  }

  .acc-title {
    font-size: 0.9375rem;
  }

  .acc-arrow {
    width: 24px;
    height: 24px;
  }

  .acc-body {
    padding: 8px 0 8px 16px;
  }

  .acc-btn .faq-q {
    font-size: 0.875rem;
  }

  /* Decision */
  .decision {
    padding: 60px 0;
  }

  .decision .text-container .title,
  .decision-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .decision .text-container .desc,
  .decision-body {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* KPI 카드 */
  .kpi-card {
    padding: 16px;
  }

  .kpi-metric {
    font-size: 28px;
  }

  .kpi-title {
    font-size: 13px;
  }

  /* 프로덕티비티 카드 */
  .prod-card h5 {
    font-size: 1.125rem;
  }

  .prod-card .icon {
    width: 50px;
    height: 50px;
  }

  /* 통계 숫자 */
  .section-credibility .stat-num {
    font-size: 2.5rem;
  }

  .section-credibility .stat-label {
    font-size: 0.875rem;
  }

  /* 제로코스트 포인트 */
  .zerocost-points .point {
    padding: 14px;
  }

  .zerocost-points .point .k {
    font-size: 0.875rem;
  }

  .zerocost-points .point .v {
    font-size: 1.25rem;
  }

  /* 프레스 카드 */
  .press-card {
    padding: 16px;
  }

  .press-body {
    font-size: 0.875rem;
  }

  /* 케이스 카드 */
  .case-title {
    font-size: 1.125rem;
  }

  .case-list {
    font-size: 0.875rem;
  }

  /* 비교 태그 */
  .compare-tag {
    font-size: 1.125rem;
  }

  .compare-list {
    font-size: 0.875rem;
  }

  /* Callout */
  .callout {
    padding: 14px 16px;
    font-size: 0.9375rem;
  }

  /* 툴즈 */
  .tools-row {
    padding: 14px 16px;
  }

  .section-tint .tools-purpose {
    font-size: 1.125rem;
  }

  .section-tint .tools-name {
    font-size: 0.875rem;
  }

  /* Fine print */
  .fine {
    font-size: 0.75rem;
  }

  /* Footer */
  .footer {
    padding: 24px 0;
  }

  .footer p,
  .footer a {
    font-size: 0.875rem;
  }

  /* Bottom form */
  .section-cta .bottom-form {
    bottom: 8px;
    padding: 8px;
    width: calc(100% - 16px);
    left: 8px;
    right: 8px;
    margin: 0;
  }

  .section-cta .bottom-form .btn {
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  /* QA 아이템 */
  .qa-item {
    padding: 14px 0;
  }

  .qa-q {
    font-size: 0.9375rem;
  }

  .qa-a {
    font-size: 0.875rem;
  }

  /* 오버뷰 */
  .overview-course {
    font-size: 1.125rem;
  }

  .overview-label {
    font-size: 0.875rem;
    width: 70px;
  }

  .overview-value {
    font-size: 0.9375rem;
  }

  /* Apply 카드 */
  .apply-card {
    padding: 20px 16px;
  }

  .apply-price {
    font-size: 1rem;
  }

  .apply-price strong {
    font-size: 1.625rem;
  }

  .price-card .price {
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  .info-list li {
    line-height: 22px;
  }

  /* 프로그램 배지 */
  .program-badges {
    flex-wrap: wrap;
    gap: 6px;
  }

  .badge {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  /* Bullets 리스트 */
  .bullets {
    padding-left: 18px;
  }

  .bullets li {
    font-size: 0.875rem;
    margin-bottom: 8px;
  }

  .bullets-big li {
    font-size: 0.9375rem;
  }

  /* 인증서 스크롤 */
  .cert-track {
    padding: 6px 24px;
    grid-auto-columns: minmax(180px, 1fr);
    gap: 10px;
  }

  .cert-item {
    padding: 12px;
  }

  .cert-cap {
    font-size: 12px;
  }

  /* 레이블/체크박스 */
  .label {
    font-size: 1rem;
    gap: 10px;
  }

  input[type="checkbox"] {
    transform: scale(1.3);
    margin-right: 12px;
  }

  /* 섹션 간격 조정 */
  .content-container {
    margin-top: 50px;
  }

  .text-container {
    margin-bottom: 20px;
  }
}

/* ============================================================
   320px 이하 (최소 대응)
   ============================================================ */
@media (max-width: 320px) {
  .container {
    padding: 0 12px;
  }

  section {
    padding: 32px 0;
  }

  section:not(.section-hero) {
    padding: 28px 0;
  }

  h2 {
    font-size: 1.375rem;
  }

  .section-hero h2 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .section-hero .desc {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  /* 타이틀 */
  .title {
    font-size: 1.25rem;
  }

  .desc {
    font-size: 0.8125rem;
  }

  /* 버튼 */
  .btn {
    padding: 10px 16px;
    font-size: 0.8125rem;
  }

  /* 카드 패딩 */
  .card,
  .support-card,
  .program-card,
  .case-card,
  .pain-card,
  .compare-item {
    padding: 14px;
  }

  .card-black {
    padding: 14px;
  }

  /* Form */
  .form {
    padding: 16px 12px;
  }

  .input {
    padding: 10px 12px;
    font-size: 0.875rem;
  }

  /* Decision */
  .decision {
    padding: 50px 0;
  }

  .decision .text-container .title,
  .decision-title {
    font-size: 1.375rem;
  }

  .decision .text-container .desc,
  .decision-body {
    font-size: 0.9375rem;
  }

  /* 아코디언 */
  .acc-btn {
    padding: 12px 10px;
  }

  .acc-title {
    font-size: 0.875rem;
  }

  .acc-arrow {
    width: 22px;
    height: 22px;
  }

  /* KPI */
  .kpi-metric {
    font-size: 24px;
  }

  .kpi-title {
    font-size: 12px;
  }

  /* 통계 */
  .section-credibility .stat-num {
    font-size: 2rem;
  }

  .section-credibility .stat-label {
    font-size: 0.8125rem;
  }

  /* 케이스/프레스 카드 */
  .case-title {
    font-size: 1rem;
  }

  .press-body,
  .case-list {
    font-size: 0.8125rem;
  }

  /* Callout */
  .callout {
    padding: 12px 14px;
    font-size: 0.875rem;
  }

  /* Footer */
  .footer {
    padding: 20px 0;
  }

  .footer p,
  .footer a {
    font-size: 0.8125rem;
  }

  /* Bottom form */
  .section-cta .bottom-form {
    bottom: 6px;
    padding: 6px;
    width: calc(100% - 12px);
    left: 6px;
    right: 6px;
  }

  .section-cta .bottom-form .btn {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  /* 섹션 간격 조정 */
  .content-container {
    margin-top: 40px;
  }
}
