/* ================================================
   강민수 기업성장연구소 - 메인 스타일시트
   ================================================ */

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

:root {
  --navy:        #255190;
  --navy-dark:   #1A3D70;
  --navy-mid:    #2D5FA0;
  --navy-deep:   #0F2447;
  --blue:        #3A7BC8;
  --blue-light:  #5B9BE0;
  --sky:         #8DC4F5;
  --gold:        #C9A84C;
  --gold-light:  #F0D070;
  --gray-dark:   #1E2532;
  --gray:        #505870;
  --gray-mid:    #7A85A0;
  --gray-light:  #EDF2FA;
  --white:       #FFFFFF;
  --red-yt:      #FF0000;
  --bg-main:     #EDF2FA;
  --bg-section:  #F4F7FC;

  --font-main:   'Noto Sans KR', sans-serif;
  --font-serif:  'Noto Serif KR', serif;

  --transition:  0.3s ease;
  --trans-slow:  0.5s ease;
  --shadow-xs:   0 1px 6px rgba(37,81,144,0.07);
  --shadow-sm:   0 2px 14px rgba(37,81,144,0.10);
  --shadow-md:   0 6px 32px rgba(37,81,144,0.16);
  --shadow-lg:   0 14px 56px rgba(37,81,144,0.22);
  --shadow-xl:   0 24px 80px rgba(37,81,144,0.28);

  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
}

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

body {
  font-family: var(--font-main);
  color: var(--gray-dark);
  background: var(--bg-main);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(37,81,144,0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: 0 8px 28px rgba(13,37,80,0.40);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.65);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-youtube {
  background: var(--red-yt);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255,0,0,0.25);
}
.btn-youtube:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,0,0,0.35);
}

.btn-youtube-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: var(--red-yt);
  color: var(--white);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(255,0,0,0.22);
}
.btn-youtube-full:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,0,0,0.35);
}

.btn-full { width: 100%; justify-content: center; padding: 16px; font-size: 16px; }
.mt-20 { margin-top: 20px; }

/* ---- Section Common ---- */
section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(58,123,200,0.10);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-header.light .section-label {
  color: var(--sky);
  background: rgba(141,196,245,0.18);
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.28;
  margin-bottom: 16px;
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
}
.section-header.light .section-title { color: var(--white); }

.section-desc {
  font-size: 16px;
  color: var(--gray-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}
.section-header.light .section-desc { color: rgba(255,255,255,0.70); }

/* ================================================
   HEADER
   ================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
#header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(37,81,144,0.14);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo a {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo .logo-main {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.logo .logo-sub {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
#header.scrolled .logo .logo-main { color: var(--navy); }
#header.scrolled .logo .logo-sub  { color: var(--gray-mid); }

#gnb ul {
  display: flex;
  gap: 36px;
  align-items: center;
}
#gnb ul li a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
#gnb ul li a:hover,
#gnb ul li a.active {
  color: var(--white);
  border-bottom-color: var(--sky);
}
#gnb ul li a.nav-cta {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 7px 18px;
  border-radius: 20px;
  border-bottom: none;
}
#gnb ul li a.nav-cta:hover {
  background: var(--white);
  color: var(--navy);
}

#header.scrolled #gnb ul li a { color: var(--gray); }
#header.scrolled #gnb ul li a:hover,
#header.scrolled #gnb ul li a.active {
  color: var(--navy);
  border-bottom-color: var(--blue);
}
#header.scrolled #gnb ul li a.nav-cta {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
#header.scrolled #gnb ul li a.nav-cta:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
#header.scrolled .menu-toggle span { background: var(--navy); }

#gnb.open {
  display: block;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--navy-dark);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-md);
  border-top: 1px solid rgba(255,255,255,0.08);
}
#gnb.open ul {
  flex-direction: column;
  gap: 0;
}
#gnb.open ul li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  border-right: none;
}
#gnb.open ul li:last-child a { border-bottom: none; }
#gnb.open ul li a.nav-cta {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  padding: 14px 0;
}

/* ================================================
   HERO
   ================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0F2447 0%, #1A3D70 40%, #255190 75%, #2D5FA0 100%);
  overflow: hidden;
  padding: 0;
  flex-direction: column;
  justify-content: center;
}

/* Animated background blobs */
#hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -8%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(58,123,200,0.22) 0%, transparent 68%);
  border-radius: 50%;
  animation: heroFloat 9s ease-in-out infinite;
  z-index: 0;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -18%; left: -6%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.13) 0%, transparent 68%);
  border-radius: 50%;
  animation: heroFloat 12s ease-in-out infinite reverse;
  z-index: 0;
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-28px) scale(1.04); }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ---- CI 로고 블록 ---- */
.hero-ci-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 96px;
  padding-left: calc((100vw - 1200px) / 2 + 24px);
  pointer-events: none;
  animation: fadeInDown 0.9s ease both;
}

.hero-ci-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-ci-logo {
  display: flex;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.ci-name {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(50px, 7vw, 88px);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow:
    0 0 80px rgba(255,255,255,0.15),
    0 6px 30px rgba(0,0,0,0.30);
}

.ci-divider {
  width: 3px;
  height: clamp(42px, 5.5vw, 70px);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.55), transparent);
  margin: 0 22px;
  align-self: center;
  border-radius: 2px;
}

.ci-sub {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(19px, 2.8vw, 36px);
  font-weight: 700;
  color: rgba(255,255,255,0.90);
  letter-spacing: 0.14em;
  line-height: 1;
  align-self: center;
  text-shadow: 0 2px 18px rgba(0,0,0,0.22);
}

.ci-tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 3px;
}
.ci-tagline span:not(.ci-tag-dot) {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 400;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.ci-tag-dot {
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.32);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* CI 반응형 */
@media (max-width: 960px) {
  .hero-ci-wrap {
    padding-left: 24px;
    padding-top: 86px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .hero-ci-inner { align-items: center; }
  .ci-tagline { justify-content: center; }
}
@media (max-width: 640px) {
  .hero-ci-wrap { padding-top: 80px; }
  .ci-divider { height: 30px; margin: 0 12px; }
}

/* ---- Hero Content ---- */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 620px;
  padding: 250px 24px 90px;
  margin-left: calc((100vw - 1200px) / 2);
  padding-left: 24px;
  align-self: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,168,76,0.14);
  border: 1px solid rgba(201,168,76,0.38);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 20px;
  border-radius: 26px;
  margin-bottom: 28px;
  animation: fadeInDown 0.7s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.75); }
}

.hero-title {
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.20;
  margin-bottom: 24px;
  font-family: var(--font-serif);
  animation: fadeInDown 0.7s 0.1s ease both;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: normal;
  color: var(--sky);
  display: block;
}

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  line-height: 1.90;
  margin-bottom: 38px;
  animation: fadeInDown 0.7s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 54px;
  animation: fadeInDown 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInDown 0.7s 0.4s ease both;
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: -0.02em;
}
.stat-item strong span { font-size: 16px; color: var(--sky); }
.stat-item > span {
  font-size: 12px;
  color: rgba(255,255,255,0.60);
  letter-spacing: 0.04em;
}
.stat-divider {
  width: 1px; height: 44px;
  background: rgba(255,255,255,0.18);
}

/* ---- Hero Profile Image ---- */
.hero-image-wrap {
  position: absolute;
  right: calc((100vw - 1200px) / 2);
  bottom: 0;
  width: 480px;
  z-index: 2;
  animation: heroImgIn 0.9s 0.3s ease both;
}
.hero-profile-img {
  width: 100%;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(-24px 0 48px rgba(15,36,71,0.55));
  mix-blend-mode: multiply;
}

@keyframes heroImgIn {
  from { transform: translateY(50px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1);       opacity: 1; }
}
@keyframes fadeInDown {
  from { transform: translateY(-22px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.38);
  font-size: 10px;
  letter-spacing: 0.18em;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}

/* ================================================
   ABOUT
   ================================================ */
#about { background: #FFFFFF; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-img-area {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-img-area img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 500px;
  transition: transform var(--trans-slow);
}
.about-img-area:hover img { transform: scale(1.02); }

.about-img-badge {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  letter-spacing: 0.02em;
}
.about-img-badge i { color: var(--gold-light); font-size: 22px; }

.about-text-area h3 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.38;
  margin-bottom: 22px;
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
}
.about-text-area h3 .highlight { color: var(--blue); }
.about-text-area p {
  color: var(--gray);
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.90;
}
.about-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-dark);
  font-weight: 500;
  padding: 10px 14px;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue);
  transition: background var(--transition), transform var(--transition);
}
.about-list li:hover {
  background: #ddeaf8;
  transform: translateX(4px);
}
.about-list li i { color: var(--blue); font-size: 16px; flex-shrink: 0; }

/* ================================================
   SERVICES
   ================================================ */
#services { background: var(--bg-section); }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(37,81,144,0.08);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--sky));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: -20px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(37,81,144,0.05) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,81,144,0.12);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { right: -10px; width: 160px; height: 160px; }

.service-icon {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 18px rgba(37,81,144,0.25);
}
.service-card:hover .service-icon {
  transform: scale(1.10) rotate(-4deg);
  box-shadow: 0 10px 28px rgba(37,81,144,0.35);
}
.service-icon i { font-size: 25px; color: var(--white); }

.service-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  font-family: var(--font-serif);
}
.service-card > p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.78;
  margin-bottom: 18px;
}
.service-card ul {
  border-top: 1px solid rgba(37,81,144,0.08);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.service-card ul li {
  font-size: 13px;
  color: var(--gray);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.7;
}

/* ================================================
   PROCESS
   ================================================ */
#process {
  background: linear-gradient(135deg, #0F2447 0%, #1A3D70 50%, #255190 100%);
  padding: 90px 0;
}
#process .section-label { color: var(--sky); background: rgba(141,196,245,0.15); }
#process .section-title { color: var(--white); }
#process .section-desc  { color: rgba(255,255,255,0.68); }

.process-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 180px;
  max-width: 230px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-md);
  padding: 36px 22px 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  cursor: default;
}
.process-step:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-7px);
  border-color: rgba(255,255,255,0.25);
}
.step-num {
  font-size: 52px;
  font-weight: 900;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  position: absolute;
  top: 12px; right: 14px;
  font-family: var(--font-serif);
  user-select: none;
}
.step-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(58,123,200,0.35);
}
.step-icon i { font-size: 22px; color: var(--white); }
.process-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.process-step p {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  line-height: 1.72;
}
.process-arrow {
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: rgba(255,255,255,0.28);
  font-size: 18px;
  flex-shrink: 0;
}

/* ================================================
   EXPERT
   ================================================ */
#expert { background: var(--white); }

.expert-wrap {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 68px;
  align-items: start;
}

.expert-photo-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 16px;
  aspect-ratio: 3/4;
  background: var(--gray-light);
}
.expert-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.expert-photo-main:hover img { transform: scale(1.04); }

.expert-photo-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.expert-photo-thumbs .thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 3px solid transparent;
  transition: all var(--transition);
  opacity: 0.60;
}
.expert-photo-thumbs .thumb.active,
.expert-photo-thumbs .thumb:hover {
  border-color: var(--blue);
  opacity: 1;
  box-shadow: 0 4px 14px rgba(37,81,144,0.25);
}

.expert-name-wrap { margin-bottom: 20px; }
.expert-name-wrap h3 {
  font-size: 38px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-serif);
  margin-bottom: 7px;
  letter-spacing: -0.02em;
}
.expert-name-wrap h3 span {
  font-size: 20px;
  color: var(--gray-mid);
  font-weight: 500;
  font-family: var(--font-main);
}
.expert-title {
  font-size: 14px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.expert-quote {
  background: linear-gradient(135deg, #EEF4FC, #E4EEF9);
  border-left: 5px solid var(--blue);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
  color: var(--navy);
  font-style: italic;
  line-height: 1.85;
  margin-bottom: 28px;
  position: relative;
}
.expert-quote::before {
  content: '"';
  position: absolute;
  top: -10px; left: 16px;
  font-size: 60px;
  color: rgba(37,81,144,0.12);
  font-family: Georgia, serif;
  line-height: 1;
}

.expert-career h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.expert-career h4 i { color: var(--blue); }
.expert-career ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
.expert-career ul li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}
.year {
  display: inline-block;
  min-width: 32px;
  font-size: 10px;
  font-weight: 800;
  color: var(--blue);
  background: rgba(58,123,200,0.10);
  padding: 3px 8px;
  border-radius: 4px;
  text-align: center;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.expert-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-main);
  border: 1px solid rgba(37,81,144,0.14);
  border-radius: 22px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition);
}
.spec-item:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.spec-item i { color: var(--gold); font-size: 10px; }
.spec-item:hover i { color: var(--gold-light); }

/* ================================================
   YOUTUBE
   ================================================ */
#youtube {
  background: linear-gradient(145deg, #0A1A35 0%, #152E5A 35%, #1A3D70 70%, #255190 100%);
  padding: 100px 0;
}
#youtube .section-label { color: var(--sky); background: rgba(141,196,245,0.15); }
#youtube .section-title { color: var(--white); }
#youtube .section-desc  { color: rgba(255,255,255,0.62); }

.youtube-channel-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}

.yt-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.yt-logo-icon {
  width: 56px; height: 56px;
  background: var(--red-yt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(255,0,0,0.30);
}
.yt-logo-text strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.01em;
}
.yt-logo-text span {
  font-size: 12px;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.02em;
}

.yt-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 2.0;
  margin-bottom: 28px;
}
.yt-desc strong { color: #FFFFFF; font-weight: 800; }

.yt-stats {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
}
.yt-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  flex: 1;
  transition: background var(--transition);
}
.yt-stat:hover { background: rgba(255,255,255,0.12); }
.yt-stat i     { font-size: 22px; color: var(--red-yt); }
.yt-stat strong{ font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500; }
.yt-stat span  { font-size: 18px; font-weight: 900; color: var(--white); }

.yt-video-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.yt-video-title i { color: var(--red-yt); }

.yt-video-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.yt-video-item {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  transition: all var(--transition);
  cursor: pointer;
}
.yt-video-item:hover {
  transform: translateY(-6px);
  border-color: var(--red-yt);
  box-shadow: 0 10px 36px rgba(255,0,0,0.22);
}
.yt-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.yt-thumb-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.yt-video-item:hover .yt-thumb-wrap img { transform: scale(1.06); }
.yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.32);
  transition: background var(--transition);
}
.yt-play i {
  font-size: 30px;
  color: var(--white);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}
.yt-video-item:hover .yt-play { background: rgba(200,0,0,0.42); }

.yt-badge-rank,
.yt-badge-intro {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  z-index: 2;
  pointer-events: none;
}
.yt-badge-rank  { background: var(--red-yt); color: #FFFFFF; }
.yt-badge-intro { background: #FFD700; color: #111111; }

.yt-video-info { padding: 12px 14px; }
.yt-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--red-yt);
  background: rgba(255,0,0,0.12);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.yt-tag-intro {
  color: #FFD700;
  background: rgba(255,215,0,0.15);
}
.yt-video-info p {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  font-weight: 500;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
#testimonials { background: var(--bg-main); }

.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.48s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
  min-width: calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(37,81,144,0.08);
  border-top: 3px solid transparent;
  flex-shrink: 0;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-top-color: var(--blue);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}
.testimonial-stars i { color: #FFB800; font-size: 14px; }

.testimonial-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  background: linear-gradient(135deg, var(--bg-main), #d8e8f8);
  border: 1px solid rgba(37,81,144,0.14);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.testimonial-category i { color: var(--blue); font-size: 11px; }

.testimonial-text {
  flex: 1;
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.88;
  margin-bottom: 22px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(37,81,144,0.08);
}
.author-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,81,144,0.20);
}
.author-avatar i { color: var(--white); font-size: 17px; }
.testimonial-author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.testimonial-author span {
  font-size: 12px;
  color: var(--gray-mid);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.t-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(37,81,144,0.14);
  color: var(--navy);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.t-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: scale(1.07);
}
.t-dots { display: flex; gap: 8px; align-items: center; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #c0cce0;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.t-dot.active {
  background: var(--blue);
  width: 26px;
  border-radius: 4px;
}

/* ================================================
   CONSULTING
   ================================================ */
#consulting {
  background: linear-gradient(135deg, #0F2447 0%, #1A3D70 50%, #2D5FA0 100%);
  padding: 100px 0;
}

.consulting-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.consulting-info h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.28;
  margin-bottom: 18px;
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
}
.consulting-info h2 span { color: var(--sky); }
.consulting-info p {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.95;
  margin-bottom: 36px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: background var(--transition);
}
.contact-method:hover { background: rgba(255,255,255,0.12); }
.contact-method > i {
  font-size: 18px;
  color: var(--sky);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-method div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-method div strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.contact-method div span,
.contact-method div a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.58);
  line-height: 1.65;
}
.contact-method div a:hover {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Form ---- */
.consulting-form-wrap {
  background: var(--white);
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow-xl);
}
.consulting-form h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--bg-main);
  display: flex;
  align-items: center;
  gap: 10px;
}
.consulting-form h3 i { color: var(--blue); font-size: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.required { color: var(--red-yt); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #d4dce8;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(58,123,200,0.12);
}
.form-group textarea { resize: vertical; min-height: 115px; }

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}
.form-check label {
  font-size: 13px;
  color: var(--gray);
  cursor: pointer;
}

.form-success {
  text-align: center;
  padding: 48px 20px;
}
.success-icon {
  font-size: 64px;
  color: #22c55e;
  margin-bottom: 18px;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.form-success h4 {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
}
.form-success p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 26px;
}

/* ================================================
   FOOTER
   ================================================ */
.footer-top {
  background: #112040;
  padding: 64px 0 44px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-bottom: 14px;
}
.footer-logo .logo-main {
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
}
.footer-logo .logo-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.85;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: all var(--transition);
}
.social-btn.youtube { background: var(--red-yt); color: var(--white); }
.social-btn.youtube:hover { background: #cc0000; transform: scale(1.1); }

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  letter-spacing: 0.02em;
}
.footer-links ul li,
.footer-services ul li {
  font-size: 13px;
  color: rgba(255,255,255,0.46);
  margin-bottom: 10px;
  transition: color var(--transition);
  cursor: default;
}
.footer-links ul li a {
  color: rgba(255,255,255,0.46);
  transition: color var(--transition);
}
.footer-links ul li a:hover { color: var(--sky); }

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.46);
  margin-bottom: 12px;
  line-height: 1.68;
}
.footer-contact ul li i {
  color: var(--blue-light);
  font-size: 14px;
  width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact ul li a { color: rgba(255,255,255,0.46); }
.footer-contact ul li a:hover { color: var(--sky); }

.footer-bottom {
  background: rgba(0,0,0,0.28);
  padding: 18px 0;
}
.footer-bottom p {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.02em;
}

/* ================================================
   LECTURE SECTION
   ================================================ */
#lecture {
  background: linear-gradient(180deg, #f0f4fa 0%, #e6ecf6 100%);
  padding: 100px 0;
}

/* ── 슬라이더 루트 ── */
.lec-slider-root {
  margin-bottom: 56px;
}

/* ── 메인 이미지 영역 ── */
.lec-main-wrap {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #0a1428;
  box-shadow: 0 20px 60px rgba(15,36,71,0.28);
  /* 가로세로 비율 고정: 16:9 → 강의사진에 맞게 4:3 */
  aspect-ratio: 4 / 3;
}

/* 슬라이드 */
.lec-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  z-index: 1;
}
.lec-slide.active {
  opacity: 1;
  z-index: 2;
}
.lec-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* 캡션 */
.lec-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 5;
  padding: 48px 28px 20px;
  background: linear-gradient(to top, rgba(8,16,40,0.85) 0%, transparent 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
}
.lec-caption i {
  font-size: 16px;
  color: #ffd050;
}

/* 이전/다음 화살표 */
.lec-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.90);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
  transition: all 0.22s ease;
}
.lec-arrow:hover {
  background: #fff;
  color: var(--blue);
  transform: translateY(-50%) scale(1.10);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}
.lec-prev { left: 18px; }
.lec-next { right: 18px; }

/* 상단 바 (카운터 + 자동재생 토글) */
.lec-top-bar {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lec-counter {
  background: rgba(8,16,40,0.65);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}
.lec-auto-toggle {
  width: 34px; height: 34px;
  background: rgba(8,16,40,0.65);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.2s;
}
.lec-auto-toggle:hover { background: var(--blue); }

/* 하단 진행바 */
.lec-progress-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: rgba(255,255,255,0.20);
  z-index: 10;
}
.lec-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffd050, var(--blue));
  transition: width 0.1s linear;
}

/* ── 썸네일 스트립 ── */
.lec-thumb-strip {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.lec-thumb {
  flex: 1 1 0;
  min-width: 80px;
  max-width: 140px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transition: all 0.22s ease;
}
.lec-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}
.lec-thumb:hover img   { transform: scale(1.07); }
.lec-thumb.active {
  border-color: var(--blue);
  box-shadow: 0 4px 18px rgba(37,81,144,0.38);
}

/* ---- 강의 통계 바 ---- */
.lecture-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 18px;
  padding: 36px 40px;
  box-shadow: 0 16px 48px rgba(15,36,71,0.22);
  flex-wrap: wrap;
}
.lstat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 120px;
  padding: 8px 16px;
}
.lstat-item i {
  font-size: 24px;
  color: #ffcc44;
  margin-bottom: 4px;
}
.lstat-item strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  font-family: 'Noto Serif KR', serif;
  line-height: 1.2;
}
.lstat-item span {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}
.lstat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

/* ---- 반응형 ---- */
@media (max-width: 960px) {
  .lecture-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .lecture-stats-bar {
    gap: 8px;
    padding: 28px 24px;
  }
}
@media (max-width: 640px) {
  .lecture-stats-bar {
    flex-direction: column;
    gap: 24px;
    padding: 32px 20px;
  }
  .lstat-divider {
    width: 60px; height: 1px;
  }
  .lecture-thumbs .lt-thumb {
    flex: 0 0 calc(50% - 6px);
  }
  .lecture-video-tabs {
    gap: 6px;
  }
  .lv-tab {
    padding: 6px 11px;
    font-size: 11px;
  }
}

/* ================================================
   BACK TO TOP
   ================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(37,81,144,0.40);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all var(--transition);
  z-index: 900;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--navy-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(37,81,144,0.50);
}

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.10s; }
.fade-in-delay-2 { transition-delay: 0.20s; }
.fade-in-delay-3 { transition-delay: 0.30s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .hero-image-wrap { right: 0; width: 400px; }
  .hero-content    { margin-left: 24px; }
}

@media (max-width: 960px) {
  section { padding: 72px 0; }

  .hero-image-wrap { display: none; }
  .hero-content {
    max-width: 100%;
    margin-left: 0;
    padding: 230px 24px 64px;
    text-align: center;
    align-self: auto;
  }
  .hero-btns  { justify-content: center; }
  .hero-stats { justify-content: center; }

  .about-grid    { grid-template-columns: 1fr; gap: 44px; }
  .about-img-badge { right: 10px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .expert-wrap       { grid-template-columns: 1fr; }
  .expert-photo-wrap { max-width: 380px; margin: 0 auto; }

  .youtube-channel-wrap { grid-template-columns: 1fr; }
  .yt-video-list        { grid-template-columns: repeat(2, 1fr); }

  .consulting-wrap { grid-template-columns: 1fr; }

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

  .process-steps { gap: 12px; }
  .process-arrow { display: none; }

  .menu-toggle { display: flex; }
  #gnb         { display: none; }
  #gnb.open    { display: block; }
}

@media (max-width: 640px) {
  section { padding: 58px 0; }
  .section-header { margin-bottom: 40px; }

  .services-grid { grid-template-columns: 1fr; }
  .yt-video-list { grid-template-columns: repeat(2, 1fr); }

  .testimonial-card { min-width: calc(100% - 0px); }

  .form-row { grid-template-columns: 1fr; }
  .consulting-form-wrap { padding: 28px 20px; }

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

  .process-steps  { flex-direction: column; align-items: center; }
  .process-step   { max-width: 100%; min-width: 0; width: 100%; }

  .hero-stats     { flex-direction: column; gap: 18px; }
  .stat-divider   { width: 60px; height: 1px; }

  .expert-name-wrap h3 { font-size: 30px; }

  /* 강의 섹션 모바일 */
  .lec-main-wrap  { aspect-ratio: 3 / 2; }
  .lec-arrow      { width: 38px; height: 38px; font-size: 14px; }
  .lec-prev       { left: 10px; }
  .lec-next       { right: 10px; }
  .lec-thumb      { min-width: 60px; }
  .lecture-stats-bar { flex-direction: column; gap: 24px; padding: 32px 20px; }
  .lstat-divider  { width: 60px; height: 1px; }
}

@media (max-width: 420px) {
  .yt-video-list { grid-template-columns: 1fr; }
  .hero-badge { font-size: 11px; padding: 7px 14px; }
  .lec-main-wrap { aspect-ratio: 1 / 1; }
}
