/* ===================================
   웃는 아이 ABA 아동발달센터 - 공통 스타일
   =================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  /* ===============================================================
     COLOR SYSTEM — 의미(Semantic) 기반 토큰
     각 색상은 정해진 커뮤니케이션 역할을 담당합니다.
     페이지 구성 시 역할에 맞는 토큰을 사용해 주세요.
     ---------------------------------------------------------------
     --primary   : 브랜드 식별 / 헤더 / 신뢰·전문성 기반 (네이비)
                   · 네비게이션, 푸터, 주요 제목, 로고
     --secondary : 정보·안내 / 부가 콘텐츠 / 링크 (블루)
                   · 본문 링크, 안내 배지, 보조 카드 헤더
     --accent    : 액션 / 상담 신청 / 중요 강조 (코랄)
                   · CTA 버튼, 주목 수치, 긴급 알림
     --growth    : 데이터 / 근거 / 과학적 수치 (틸)
                   · 통계, 효과 크기, 연구 인용, 성장 지표
     --purple    : 학술·전문성 / 커리어·수퍼비전 (퍼플)
                   · 자격증, 수퍼비전, 학술 레퍼런스
     ---------------------------------------------------------------
     각 색상에는 세 단계 변이가 있습니다:
       base       : 텍스트·아이콘·핵심 요소
       -light     : 호버·보조 강조
       -pale      : 배경·패널·미묘한 구분
     =============================================================== */

  /* Primary — 브랜드·전문성 (Navy) */
  --primary: #1B243B;
  --primary-light: #2C3A5A;
  --primary-pale: #F4F6F9;

  /* Secondary — 정보·안내 (Blue) */
  --secondary: #4267B2;
  --secondary-light: #6A8BCD;
  --secondary-pale: #EDF1F8;

  /* Accent — 액션·CTA·강조 (Coral) */
  --accent: #F06A6A;
  --accent-light: #F48C8C;
  --accent-pale: #FEF0F0;

  /* Growth — 데이터·근거·과학 (Teal) */
  --growth: #0F766E;
  --growth-light: #14B8A6;
  --growth-pale: #F0FDFA;

  /* Purple — 학술·수퍼비전·자격 (Purple) */
  --purple: #6B5B95;
  --purple-light: #8E7EB8;
  --purple-pale: #F4F3F8;
  --bg: #FCFCFD;
  --bg2: #F3F5F9;
  --text: #1E293B;
  --text-light: #475569;
  --text-muted: #94A3B8;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow: 0 16px 40px -8px rgba(27, 36, 59, 0.06);
  --shadow-hover: 0 24px 60px -8px rgba(27, 36, 59, 0.12);
  --radius: 28px;
  --radius-sm: 12px;
  --radius-lg: 36px;
  --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

p strong, li strong {
  color: var(--growth);
  font-weight: 700;
}

body {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-text .name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

.nav-logo-text .sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

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

.nav-menu a {
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: var(--primary-pale);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: -0.2px;
}

.nav-cta:hover {
  background: #E05858 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(240, 106, 106, 0.3) !important;
}

.nav-menu .nav-blog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: #03C75A;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -1.5px;
  padding: 0;
  margin: 0 4px 0 2px;
  transition: var(--transition);
}
.nav-menu .nav-blog:hover {
  background: #02B350;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.footer-links a.footer-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-bottom: 8px;
}
.footer-links a.footer-blog-link:hover { color: #03C75A; }
.footer-links .n-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 4px;
  background: #03C75A;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -1px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--white);
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.mobile-nav a:hover {
  background: var(--primary-pale);
  color: var(--primary);
}

.mobile-nav .mobile-cta {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  margin-top: 8px;
  font-weight: 700;
}

/* ===== PAGE WRAPPER ===== */
.page-wrapper {
  padding-top: var(--nav-height);
  min-height: 100vh;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 110px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--growth-pale);
  color: var(--growth);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;

  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  max-width: 560px;
}

.section-title em {
  color: var(--secondary);
  font-style: normal;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: -0.2px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(240, 106, 106, 0.28);
}

.btn-primary:hover {
  background: #E05858;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 106, 106, 0.38);
}

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

.btn-outline:hover {
  background: var(--primary-pale);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

/* ===== GLASSMORPHISM ===== */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.blob-bg {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240, 106, 106, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ===== FOOTER ===== */
.footer {
  background: #111018;
  color: rgba(255,255,255,0.55);
  padding: 56px 24px 36px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.footer-logo .name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.footer-logo .desc {
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
}

.footer-links h4 {
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-contact h4 {
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.footer-contact p {
  font-size: 13px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  font-size: 11.5px;
  color: rgba(255,255,255,0.25);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1), transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
}

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.slide-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1), transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1), transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }
.delay-5 { transition-delay: 0.75s; }
.delay-6 { transition-delay: 0.9s; }

/* ===== PAGE HERO (내부 페이지용) ===== */
.page-hero {
  background: linear-gradient(160deg, rgba(27,36,59,0.9) 0%, rgba(44,58,90,0.9) 60%, rgba(21,28,44,0.95) 100%);
  padding: 100px 24px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  bottom: -60px; left: 0; right: 0; top: auto;
  height: 120px;
  background: var(--bg);
  border-radius: 0;
  transform: scaleX(1);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -100px; right: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,106,106,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240,106,106,0.25);
  border: 1px solid rgba(240,106,106,0.5);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  position: relative; z-index: 1;
}

.page-hero h1 {
  font-size: clamp(30px, 5.5vw, 48px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -1px;
  position: relative; z-index: 1;
}

.page-hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.page-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.85;
  position: relative; z-index: 1;
}

/* ===== DIVIDER ===== */
.section-divider {
  height: 1px;
  background: rgba(0,0,0,0.06);
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section { padding: 64px 20px; }

  .nav-menu { display: none; }
  .hamburger { display: flex; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-subtitle {
    font-size: 14px;
  }
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  background: var(--accent);
  color: var(--white);
  padding: 16px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(240, 106, 106, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  letter-spacing: -0.2px;
}

.floating-cta:hover {
  background: #E05858;
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(240, 106, 106, 0.5);
}

@media (max-width: 480px) {
  .floating-cta { bottom: 16px; right: 16px; padding: 11px 16px; font-size: 13px; }
}

 
 . l u c i d e   {   v e r t i c a l - a l i g n :   - 0 . 1 2 5 e m ;   } 
 
 
  /* ===== LUCIDE ICON CONSISTENCY ===== */
  .lucide { width: 1em; height: 1em; stroke-width: 2; vertical-align: -0.15em; }
  .di .lucide, .s-icon .lucide { width: 16px; height: 16px; }
  .ti-icon .lucide { width: 16px; height: 16px; }
  .nav-menu .lucide, .mobile-nav .lucide { width: 16px; height: 16px; margin-right: 4px; }
  .phil-icon .lucide { width: 28px; height: 28px; }
  .ap-icon .lucide { width: 20px; height: 20px; }
  .mic-card-icon .lucide, .mic-icon .lucide { width: 22px; height: 22px; color: var(--primary); }
  .val-icon .lucide { width: 24px; height: 24px; }
  .si .lucide { width: 22px; height: 22px; }
  .footer-contact .lucide { margin-right: 6px; color: rgba(255,255,255,0.6); }