/*
Theme Name: 나래컴퓨터학원 (Narae Computer Academy)
Theme URI: https://narae-academy.com/
Author: Narae Computer Academy
Author URI: https://narae-academy.com/
Description: 나래컴퓨터학원 공식 워드프레스 테마. 기초부터 실무까지, IT 교육의 기준. 학생부터 성인까지를 위한 컴퓨터 학원 사이트 테마입니다. (오렌지·옐로우 컨셉, 반응형 디자인)
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: narae
Tags: education, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   나래컴퓨터학원 - Design System
   ============================================ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700&display=swap');

:root {
  /* Brand Colors */
  --primary: #FF6B1F;
  --primary-dark: #E54900;
  --primary-light: #FF8B4A;
  --secondary: #FFB800;
  --accent: #FFD93D;
  --accent-soft: #FFE873;

  /* Neutral */
  --ink: #1A1410;
  --ink-soft: #3D2E20;
  --gray: #6B5847;
  --gray-light: #A89684;
  --border: #F0E5D5;
  --border-soft: #FAEFE0;

  /* Surface */
  --cream: #FFF9F2;
  --cream-warm: #FFF4E0;
  --cream-deep: #FFEACC;
  --white: #FFFFFF;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(255, 107, 31, 0.08);
  --shadow-md: 0 8px 24px rgba(255, 107, 31, 0.12);
  --shadow-lg: 0 16px 48px rgba(255, 107, 31, 0.18);
  --shadow-xl: 0 24px 64px rgba(255, 107, 31, 0.22);

  /* Typography */
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Pretendard', sans-serif;
  --font-mono: 'Outfit', 'Pretendard', sans-serif;

  /* Layout */
  --container: 1240px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "ss06", "ss07";
  letter-spacing: -0.011em;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--primary);
  color: white;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 6px 14px;
  background: rgba(255, 107, 31, 0.08);
  border-radius: var(--radius-full);
}

.eyebrow::before {
  content: '★';
  font-size: 12px;
  color: var(--secondary);
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

section {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 242, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text .ko {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

.brand-text .en {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  position: relative;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-full);
}

.nav-menu a:hover {
  color: var(--primary);
  background: rgba(255, 107, 31, 0.06);
}

.nav-menu a.active {
  color: var(--primary);
  background: rgba(255, 107, 31, 0.1);
  font-weight: 600;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--ink);
  color: white;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-cta .phone-icon {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--cream-warm);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 3px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

@media (max-width: 980px) {
  .nav-menu, .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .nav-menu.mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.mobile-open a {
    padding: 14px 18px;
    border-radius: var(--radius);
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 6px 20px rgba(255, 107, 31, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 31, 0.35);
}

.btn-secondary {
  background: var(--ink);
  color: white;
}

.btn-secondary:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: white;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
}

.btn-arrow::after {
  content: '→';
  transition: transform 0.25s ease;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 184, 0, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(255, 107, 31, 0.12) 0%, transparent 40%),
    var(--cream);
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  opacity: 0.25;
  border-radius: 50%;
  filter: blur(40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.hero-text h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 24px 0 32px;
}

.hero-text h1 .accent {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-text h1 .accent::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 12px;
  background: var(--accent);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.5;
}

.hero-text .lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat-num {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-stat-num .plus {
  color: var(--primary);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--gray);
  margin-top: 8px;
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 540px;
}

@media (max-width: 980px) {
  .hero-visual { height: 400px; }
}

.hero-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.hero-card-main {
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  overflow: hidden;
}

.hero-card-main::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 180%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
}

.hero-card-main h3 {
  color: white;
  font-size: 28px;
  font-weight: 700;
  position: relative;
}

.hero-card-main p {
  font-size: 15px;
  opacity: 0.95;
  margin-top: 8px;
  position: relative;
}

.hero-courses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  position: relative;
}

.hero-course {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-course-icon {
  width: 28px;
  height: 28px;
  background: white;
  color: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.hero-badge {
  position: absolute;
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
}

.hero-badge-1 {
  top: -24px;
  left: -32px;
  animation: float 4s ease-in-out infinite;
}

.hero-badge-2 {
  bottom: -24px;
  right: -24px;
  animation: float 4s ease-in-out infinite 2s;
}

.hero-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   Section Headers
   ============================================ */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.section-head h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 16px 0 20px;
  line-height: 1.1;
}

.section-head .sub {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

.section-head.left .sub { margin-left: 0; }

/* ============================================
   Courses Grid (Homepage)
   ============================================ */
.courses-section {
  background: var(--white);
  position: relative;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 980px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .courses-grid { grid-template-columns: 1fr; }
}

.course-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.35s ease;
  overflow: hidden;
  cursor: pointer;
}

.course-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.course-card:hover::before {
  opacity: 1;
}

.course-card:hover * {
  color: white !important;
  position: relative;
}

.course-card:hover .course-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.course-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-light);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.course-icon {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 20px;
  position: relative;
  z-index: 1;
  transition: all 0.35s ease;
  font-size: 24px;
}

.course-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.025em;
}

.course-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.course-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 10px;
  background: rgba(255, 107, 31, 0.1);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  position: relative;
  z-index: 1;
}

/* ============================================
   Programs Section (일반 vs 국비)
   ============================================ */
.programs-section {
  background: var(--cream-warm);
  position: relative;
  overflow: hidden;
}

.programs-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  opacity: 0.3;
  border-radius: 50%;
  filter: blur(60px);
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
}

@media (max-width: 880px) {
  .programs-grid { grid-template-columns: 1fr; }
}

.program-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  border: 1px solid var(--border);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.program-card .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--cream-warm);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.program-card.featured .label {
  background: var(--primary);
  color: white;
}

.program-card h3 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.program-card .desc {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 32px;
}

.program-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.program-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}

.program-feature::before {
  content: '';
  width: 22px;
  height: 22px;
  background: var(--cream-warm);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B1F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.program-card.featured {
  background: linear-gradient(135deg, var(--ink) 0%, #2D2218 100%);
  color: white;
  border: none;
}

.program-card.featured h3,
.program-card.featured .desc,
.program-card.featured .program-feature {
  color: white;
}

.program-card.featured .desc { opacity: 0.85; }
.program-card.featured .program-feature { opacity: 0.95; }

.program-card.featured .program-feature::before {
  background: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.program-card.featured::after {
  content: '★';
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 80px;
  color: var(--primary);
  opacity: 0.15;
  font-weight: 900;
}

/* ============================================
   Why Choose Us
   ============================================ */
.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-card {
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  background: var(--cream);
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.why-card:hover {
  background: white;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-num {
  font-family: var(--font-mono);
  font-size: 80px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  opacity: 0.9;
}

.why-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

.why-card p {
  color: var(--gray);
  line-height: 1.7;
  font-size: 15px;
}

/* ============================================
   Contact CTA
   ============================================ */
.contact-cta-section {
  padding: 80px 0;
  position: relative;
}

.contact-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
}

@media (max-width: 880px) {
  .contact-cta {
    grid-template-columns: 1fr;
    padding: 56px 36px;
    gap: 40px;
  }
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  opacity: 0.25;
}

.contact-cta::after {
  content: '★';
  position: absolute;
  font-size: 200px;
  color: rgba(255, 255, 255, 0.08);
  top: -40px;
  left: -30px;
  font-weight: 900;
  line-height: 1;
}

.contact-cta-text {
  position: relative;
}

.contact-cta h2 {
  color: white;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact-cta p {
  font-size: 17px;
  opacity: 0.95;
  margin-bottom: 28px;
  line-height: 1.6;
}

.contact-cta-phone {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-cta-phone .label {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-cta-phone .num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.1;
  color: white;
  display: block;
}

.contact-cta-phone .num:last-of-type {
  margin-bottom: 0;
  font-size: 22px;
  opacity: 0.85;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--ink);
  color: white;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .brand-text .ko { color: white; }
.footer-brand .brand-text .en { color: var(--secondary); }

.footer-brand .tagline {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.7;
  max-width: 280px;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list a {
  font-size: 14px;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.footer-list a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-contact {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.75;
}

.footer-contact strong {
  color: white;
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.footer-phone {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 16px;
  display: block;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  opacity: 0.6;
}

/* ============================================
   Floating Phone Button (Mobile)
   ============================================ */
.float-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(255, 107, 31, 0.4);
  z-index: 50;
  color: white;
  transition: all 0.3s ease;
  animation: pulseRing 2s ease-out infinite;
}

.float-call:hover {
  transform: scale(1.1);
}

.float-call svg {
  width: 24px;
  height: 24px;
}

@keyframes pulseRing {
  0% { box-shadow: 0 8px 32px rgba(255, 107, 31, 0.4), 0 0 0 0 rgba(255, 107, 31, 0.5); }
  70% { box-shadow: 0 8px 32px rgba(255, 107, 31, 0.4), 0 0 0 18px rgba(255, 107, 31, 0); }
  100% { box-shadow: 0 8px 32px rgba(255, 107, 31, 0.4), 0 0 0 0 rgba(255, 107, 31, 0); }
}

@media (min-width: 980px) {
  .float-call { display: none; }
}

/* ============================================
   Page Hero (Sub Pages)
   ============================================ */
.page-hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 184, 0, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 107, 31, 0.12) 0%, transparent 50%),
    var(--cream);
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 16px 0 20px;
}

.page-hero .lead {
  font-size: 18px;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.breadcrumb a:hover { color: var(--primary); }

.breadcrumb-sep {
  color: var(--gray-light);
}

.breadcrumb-cur {
  color: var(--primary);
}

/* ============================================
   About Page
   ============================================ */
.about-greeting {
  padding: 100px 0;
  background: white;
}

.greeting-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 980px) {
  .greeting-grid { grid-template-columns: 1fr; gap: 48px; }
}

.greeting-visual {
  position: relative;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.greeting-visual::before {
  content: '★';
  position: absolute;
  font-size: 400px;
  opacity: 0.1;
  font-weight: 900;
  line-height: 1;
}

.greeting-visual-content {
  position: relative;
  text-align: center;
  padding: 40px;
}

.greeting-visual-content h3 {
  color: white;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.greeting-visual-content p {
  font-size: 16px;
  opacity: 0.95;
  line-height: 1.7;
}

.greeting-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.greeting-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 20px;
}

.greeting-text strong {
  color: var(--ink);
  font-weight: 600;
}

.values-section {
  background: var(--cream-warm);
  padding: 100px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 980px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .values-grid { grid-template-columns: 1fr; }
}

.value-card {
  background: white;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: var(--cream-warm);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  background: var(--primary);
  transform: rotate(-5deg) scale(1.05);
}

.value-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================
   Detailed Courses Page
   ============================================ */
.course-tabs {
  display: flex;
  gap: 12px;
  margin: 0 auto 56px;
  background: var(--cream-warm);
  padding: 6px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.course-tab {
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray);
  transition: all 0.25s ease;
  cursor: pointer;
}

.course-tab.active {
  background: var(--ink);
  color: white;
}

.course-tab:not(.active):hover {
  color: var(--primary);
}

.course-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 880px) {
  .course-list { grid-template-columns: 1fr; }
}

.course-detail {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.course-detail:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.course-detail-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  flex-shrink: 0;
}

.course-detail-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.course-detail-content .level {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255, 107, 31, 0.1);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.course-detail-content p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray);
  margin-bottom: 14px;
}

.course-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--gray);
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.course-meta strong {
  color: var(--ink);
  font-weight: 700;
}

/* ============================================
   Employment / Certifications Page
   ============================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

@media (max-width: 880px) {
  .cert-grid { grid-template-columns: 1fr; }
}

.cert-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.cert-badge {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
  color: var(--ink);
}

.cert-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.support-banner {
  background: linear-gradient(135deg, var(--ink), #2D2218);
  border-radius: var(--radius-xl);
  padding: 60px;
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.support-banner::before {
  content: '★';
  position: absolute;
  top: 20px;
  right: 60px;
  font-size: 220px;
  color: var(--primary);
  opacity: 0.1;
  font-weight: 900;
  line-height: 1;
}

.support-banner h3 {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

.support-banner h2 {
  color: white;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 700px;
}

.support-banner p {
  font-size: 16px;
  opacity: 0.85;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 28px;
}

.support-banner .btn {
  background: var(--primary);
  color: white;
}

.support-banner .btn:hover {
  background: var(--accent);
  color: var(--ink);
}

/* External Links */
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 880px) {
  .link-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .link-grid { grid-template-columns: 1fr; }
}

.link-card {
  background: var(--cream);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
}

.link-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-4px);
}

.link-card:hover * { color: white; }

.link-icon {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: var(--radius);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
}

.link-card:hover .link-icon {
  background: rgba(255, 255, 255, 0.2);
}

.link-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.link-card p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
}

/* ============================================
   Community Page
   ============================================ */
.community-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

@media (max-width: 880px) {
  .community-grid { grid-template-columns: 1fr; }
}

.form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--border);
}

@media (max-width: 520px) {
  .form-card { padding: 32px 24px; }
}

.form-card h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.form-card .desc {
  color: var(--gray);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-group label .req {
  color: var(--primary);
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  background: var(--cream);
  transition: all 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  margin-top: 12px;
  transition: all 0.25s ease;
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 107, 31, 0.3);
}

.aside-card {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.aside-card::after {
  content: '★';
  position: absolute;
  bottom: -30px;
  right: -10px;
  font-size: 140px;
  color: var(--primary);
  opacity: 0.15;
  font-weight: 900;
  line-height: 1;
}

.aside-card h3 {
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.aside-card p {
  opacity: 0.8;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.aside-item {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.aside-item:first-child { border-top: none; }

.aside-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.aside-value {
  font-size: 15px;
  color: white;
  font-weight: 500;
}

.aside-phone {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 880px) {
  .contact-info-grid { grid-template-columns: 1fr; }
}

.contact-info-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  background: var(--cream-warm);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 6px;
}

.contact-info-card .value {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.contact-info-card .sub {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

.contact-info-card .value.phone {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--primary);
}

.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 48px;
  height: 480px;
  position: relative;
  background: var(--cream-warm);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Map placeholder for non-iframe */
.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 184, 0, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255, 107, 31, 0.12) 0%, transparent 50%),
    var(--cream-warm);
}

.map-pin {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.map-pin::after {
  content: '';
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  transform: rotate(45deg);
}

.transport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 880px) {
  .transport-grid { grid-template-columns: 1fr; }
}

.transport-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}

.transport-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.transport-card h4 .ico {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.transport-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}

/* ============================================
   Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* Marquee */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 24px 0;
  background: var(--ink);
  color: white;
}

.marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: scroll 30s linear infinite;
}

.marquee span {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 60px;
}

.marquee span::after {
  content: '★';
  color: var(--primary);
  font-size: 20px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   About Page - Redesigned (v2)
   ============================================ */

/* About Hero - 더 임팩트 있는 히어로 */
.about-hero-v2 {
  position: relative;
  padding: 120px 0 100px;
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 184, 0, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(255, 107, 31, 0.15) 0%, transparent 45%),
    var(--cream);
  overflow: hidden;
}

.about-hero-v2::before {
  content: '★';
  position: absolute;
  top: 80px;
  right: 8%;
  font-size: 200px;
  color: var(--accent);
  opacity: 0.18;
  font-weight: 900;
  line-height: 1;
}

.about-hero-v2::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 65%);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(40px);
}

.about-hero-v2 .container {
  position: relative;
  z-index: 1;
}

.about-hero-v2 .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.about-hero-v2 .badge::before {
  content: '★';
  color: var(--secondary);
}

.about-hero-v2 h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 880px;
}

.about-hero-v2 h1 .em {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-hero-v2 .lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--gray);
  max-width: 640px;
}

/* Greeting Block - 큰 따옴표 인용 형태 */
.greeting-v2 {
  padding: 120px 0;
  background: white;
}

.greeting-v2-inner {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  padding: 0 40px;
}

.greeting-v2-inner::before {
  content: '"';
  position: absolute;
  top: -60px;
  left: -20px;
  font-family: var(--font-display);
  font-size: 240px;
  line-height: 1;
  color: var(--primary);
  opacity: 0.18;
  font-weight: 700;
}

.greeting-v2-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.greeting-v2-quote {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 36px;
}

.greeting-v2-quote .hl {
  background: linear-gradient(180deg, transparent 60%, var(--accent-soft) 60%);
  padding: 0 4px;
}

.greeting-v2-sign {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.greeting-v2-sign-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
}

.greeting-v2-sign-text {
  font-size: 15px;
  color: var(--gray);
}

.greeting-v2-sign-text strong {
  color: var(--ink);
  font-weight: 700;
}

/* Principle & Mission - 좌측 원칙 / 우측 미션 */
.pm-section {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.pm-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 60%);
  opacity: 0.18;
  filter: blur(60px);
  border-radius: 50%;
}

.pm-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

@media (max-width: 880px) {
  .pm-grid { grid-template-columns: 1fr; }
}

.pm-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--border);
  position: relative;
}

@media (max-width: 520px) {
  .pm-card { padding: 36px 28px; }
}

.pm-card.dark {
  background: var(--ink);
  color: white;
  border: none;
  overflow: hidden;
}

.pm-card.dark::after {
  content: '★';
  position: absolute;
  bottom: -40px;
  right: -10px;
  font-size: 160px;
  color: var(--primary);
  opacity: 0.18;
  font-weight: 900;
  line-height: 1;
}

.pm-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.pm-card .pm-label {
  background: var(--cream-warm);
  color: var(--primary);
}

.pm-card.dark .pm-label {
  background: rgba(255, 217, 61, 0.15);
  color: var(--accent);
}

.pm-card h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  line-height: 1.25;
}

.pm-card.dark h3 {
  color: white;
}

.pm-list {
  list-style: none;
  position: relative;
  z-index: 1;
}

.pm-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pm-list li:first-child { border-top: none; padding-top: 0; }

.pm-card.dark .pm-list li {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
}

.pm-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: var(--cream-warm);
  padding: 4px 9px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0.05em;
}

.pm-card.dark .pm-num {
  background: rgba(255, 217, 61, 0.18);
  color: var(--accent);
}

.pm-list li p {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--gray);
  margin-top: 4px;
  line-height: 1.55;
  letter-spacing: 0;
}

.pm-card.dark .pm-list li p {
  color: rgba(255, 255, 255, 0.65);
}

.pm-item-text {
  display: flex;
  flex-direction: column;
}

/* Training Fields - 4분야 */
.fields-section {
  padding: 120px 0;
  background: white;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 880px) {
  .fields-grid { grid-template-columns: 1fr; }
}

.field-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.field-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.field-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 50%;
}

.field-card:hover::before {
  opacity: 0.35;
}

.field-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.field-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.field-title-wrap .field-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.field-title-wrap h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.field-items {
  list-style: none;
  position: relative;
  z-index: 1;
}

.field-items li {
  padding: 12px 0;
  border-top: 1px dashed var(--border);
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.field-items li:first-child { border-top: none; }

.field-items li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(7px);
}

.field-items li strong {
  color: var(--primary);
  font-weight: 700;
  margin-right: 4px;
}

/* Teachers */
.teachers-section {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.teachers-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 60%);
  opacity: 0.15;
  filter: blur(60px);
  border-radius: 50%;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .teachers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .teachers-grid { grid-template-columns: 1fr; }
}

.teacher-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.teacher-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  position: relative;
  box-shadow: 0 8px 24px rgba(255, 107, 31, 0.25);
}

.teacher-avatar::after {
  content: '★';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--secondary);
  border: 2px solid var(--cream-warm);
}

.teacher-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.teacher-role {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.teacher-cert-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.teacher-certs {
  list-style: none;
  text-align: left;
}

.teacher-certs li {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding: 4px 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.teacher-certs li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

/* Documents - 교육청 등록 내용 */
.documents-section {
  padding: 120px 0;
  background: white;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 880px) {
  .documents-grid { grid-template-columns: 1fr; }
}

.document-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.document-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.document-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: white;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.document-card h4 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.document-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.document-card .doc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.document-card .doc-note {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.document-card .doc-note::before {
  content: 'ℹ';
  color: var(--primary);
  font-weight: 700;
}

/* ============================================
   Fullwidth Page Template - 본문 전체 너비
   page-fullwidth.php가 적용된 페이지의 wp 자동 여백 제거
   ============================================ */
.page-template-page-fullwidth .site-header + p:empty,
.page-template-page-fullwidth main > p:empty,
.page-template-page-fullwidth .entry-content > p:empty {
  display: none;
}

/* 워드프레스가 자동으로 추가하는 wpautop 공백 제거 */
.page-template-page-fullwidth br:first-child,
.page-template-page-fullwidth p:empty {
  display: none;
}
