/* ============================================
   국민원격교육관리센터 │ 사회복지사2급 랜딩
   원본 imweb 구조 매칭
   ============================================ */

:root {
  --color-primary: #e73338;
  --color-primary-dark: #c52b30;
  --color-text: #212121;
  --color-text-sub: #555;
  --color-muted: #888;
  --color-line: #e8e0d3;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 8px 24px rgba(0,0,0,.06);

  --container: 1100px;

  --font-body: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Nanum Gothic', 'Noto Sans', sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: #fff;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
input, textarea { font-family: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ===== Common ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.section-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .15em;
  color: #fff;
  background: var(--color-primary);
  margin: 0 0 20px;
  padding: 8px 20px;
  border: none;
  border-radius: 999px;
}
.section-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -1px;
  margin: 0 0 24px;
  color: #363636;
}
.section-title strong {
  color: var(--color-primary);
  font-weight: 800;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
  height: 72px;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
}
.logo img { height: 36px; width: auto; }
.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-sub);
  transition: color .2s;
}
.site-nav a:hover { color: var(--color-primary); }
.btn-nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 9px;
  font-size: 14px !important;
  font-weight: 700 !important;
}
.btn-nav-cta:hover { background: var(--color-primary-dark); }

/* ============================================
   1. HERO
   ============================================ */
.hero {
  background: url('images/27f3027034be9.png') center/cover no-repeat;
  padding: 90px 0;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero-bg {
  width: auto;
  height: 460px;
  margin: 0 auto 0;
  animation: heroIn .8s cubic-bezier(.2,.8,.2,1) both;
}
.hero-fg {
  width: auto;
  height: 641px;
  max-height: 60vw;
  margin: 0 auto 32px;
  animation: heroIn .8s cubic-bezier(.2,.8,.2,1) .15s both;
}
.btn-hero-cta {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 12px 36px;
  border-radius: 999px;
  border: 1px solid #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
  transition: background .2s, color .2s;
  animation: heroIn .8s cubic-bezier(.2,.8,.2,1) .3s both;
}
.btn-hero-cta:hover {
  background: #fff;
  color: var(--color-primary);
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   2. ABOUT
   ============================================ */
.about {
  padding: 82px 0 80px;
  background: #fff;
  text-align: center;
}
.about .section-title { margin-bottom: 40px; }
.about-visual {
  margin: 0 auto;
  /* max-width: 950px; */
}
.about-visual img {
  height: 686px;
  max-height: 70vw;
  width: auto;
  margin: 0 auto;
}

/* ============================================
   3. PROSPECT (검정 배경)
   ============================================ */
.prospect {
  padding: 80px 0 100px;
  background: #000;
  color: #fff;
  text-align: center;
}
.prospect-lead {
  margin: 0 0 60px;
  letter-spacing: -1px;
  text-align: center;
}
.prospect-lead--m { display: none; }
.prospect-lead__sub {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 500;
  color: #999;
}
.prospect-lead__main {
  margin: 0;
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  overflow: visible;
}
.prospect .hl-underline {
  color: #e73338;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: #888;
  background: transparent;
  border: 2px solid #444;
  transition: all .2s;
}
.tab-btn:hover {
  border-color: var(--color-primary);
  color: #fff;
}
.tab-btn.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.tab-panel {
  display: none;
  animation: fadeIn .4s ease-out;
}
.tab-panel.is-active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.prospect-content-box {
  background: #fff;
  border-radius: 20px;
  padding: 56px 32px;
}
.prospect-heading-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(231, 51, 56, 0.08);
  border: 1.5px solid rgba(231, 51, 56, 0.4);
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}
.prospect-heading-pill em {
  color: var(--color-primary);
  font-style: normal;
}
.heading-deco {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.prospect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.prospect-card {
  background: #f2f2f2;
  border-radius: 10px;
  padding: 24px 20px 0;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.prospect-card .card-text {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
}
.prospect-card .card-text em {
  color: var(--color-primary);
  font-style: normal;
}
.prospect-card-img-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: 12px;
}
.prospect-card img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  display: block;
}

/* ============================================
   4. 강조: 지금이 가장 쉬운 시기
   ============================================ */
.emphasis-band {
  background: url('images/ec58afcc3dcc0.png') center/cover no-repeat;
  height: 558px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.emphasis-band p {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
  letter-spacing: -1px;
  color: #1a1a1a;
}
.emphasis-band .hl-underline {
  color: #e73338;
}

/* ============================================
   5. 교육과정 이미지
   ============================================ */
.curriculum-visual {
  background: url('images/fafda52459e20.png') center/cover no-repeat;
  padding: 132px 0;
  text-align: center;
}
.curriculum-visual img {
  height: 658px;
  max-height: 70vw;
  width: auto;
  margin: 0 auto;
}

/* ============================================
   6. POINTS 슬라이더
   ============================================ */
.points {
  padding: 82px 0 60px;
  background: #fff;
  text-align: center;
}
.points-icon {
  width: 55px;
  height: auto;
  margin: 0 auto 24px;
}

/* 제목 (htx2) */
.htx2-wrap {
  margin: 0;
  padding: 0 0 20px;
  font-family: var(--font-body);
  line-height: 1.35;
  letter-spacing: -1px;
  text-align: center;
}
.htx2-line1 {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #363636;
}
.htx2-highlight-wrap {
  display: inline-block;
  position: relative;
  margin-top: 4px;
}
.htx2-highlight-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: rgba(231, 51, 56, 0.2);
  border-radius: 4px;
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.htx2-highlight-wrap.htx2-active .htx2-highlight-bg {
  width: 100%;
}
.htx2-line2 {
  position: relative;
  display: inline-block;
  font-size: 48px;
  font-weight: 700;
  color: #e73338;
  padding: 0 6px;
  z-index: 1;
}

/* 슬라이더 (hsc) */
.hsc-wrap {
  background: transparent;
  padding: 0;
  width: 100%;
  font-family: var(--font-body);
}
.hsc-track-outer {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 40px 0 32px;
}
.hsc-track {
  display: flex;
  align-items: center;
  will-change: transform;
}
.hsc-slide {
  flex: 0 0 54%;
  max-width: 54%;
  padding: 0 12px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.55s;
  transform: scale(0.82);
  opacity: 0.45;
  flex-shrink: 0;
}
.hsc-slide.hsc-active {
  transform: scale(1);
  opacity: 1;
}
.hsc-slide img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}
.hsc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.hsc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
  border: none;
  padding: 0;
}
.hsc-dot.hsc-dot-active {
  background: #e73338;
  width: 24px;
  border-radius: 4px;
}
.hsc-text-area {
  text-align: center;
  padding: 0 20px;
}
.hsc-badge {
  display: inline-block;
  background: #e73338;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hsc-title {
  font-size: 32px;
  font-weight: 800;
  color: #111;
  letter-spacing: -1.5px;
  line-height: 1.45;
  margin: 0 0 16px;
}
.hsc-title strong {
  color: #e73338;
  font-weight: 800;
}
.hsc-desc {
  font-size: 16px;
  font-weight: 400;
  color: #666;
  letter-spacing: -0.5px;
  line-height: 1.7;
  margin: 0;
}
.hsc-text-slide {
  display: none;
}
.hsc-text-slide.hsc-text-active {
  display: block;
}

/* ============================================
   7. COMPARISON
   ============================================ */
.comparison {
  min-height: 1344px;
  padding: 82px 0;
  background: url('images/7b0d996746a7b.png') center/cover no-repeat;
  text-align: center;
}
.comparison .container {
  max-width: 1300px;
}
.comparison .section-title {
  color: rgb(115, 115, 115);
}
.comparison .section-title strong {
  color: #fff;
}
.comparison-visual {
  margin-top: 8px;
}
.comparison-visual img {
  width: 100%;
  max-width: 1250px;
  height: auto;
  margin: 0 auto;
}

/* ============================================
   8. 중간 CTA 텍스트
   ============================================ */
.midcta-text {
  padding: 80px 0;
  background: #fff;
  text-align: center;
}
.midcta-icon {
  width: 112px;
  height: auto;
  margin: 0 auto 24px;
}
.midcta-heading {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 4px;
  letter-spacing: -1px;
}
.midcta-heading strong {
  color: inherit;
}

/* ============================================
   9. 타임라인 이미지
   ============================================ */
.timeline-visual {
  background: url('images/e1dc2c1829af3.png') center/cover no-repeat;
  padding: 5px 0;
  text-align: center;
}
.timeline-visual img {
  height: 1080px;
  max-height: 90vw;
  width: auto;
  margin: 0 auto;
}

/* ============================================
   10. 마퀴
   ============================================ */
.marquee {
  background: #000;
  color: #fff;
  overflow: hidden;
  padding: 14px 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee var(--marquee-dur, 25s) linear infinite;
}
.marquee-track span { flex-shrink: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   11. CAUTION
   ============================================ */
.caution {
  padding: 82px 0;
  background: #ebebeb;
  text-align: center;
}
.caution-deco {
  width: 58px;
  height: auto;
  margin: 0 auto 32px;
}
.caution-sub {
  font-size: 24px;
  color: rgb(184, 184, 184);
  margin: 24px 0 60px;
  letter-spacing: -1px;
}
/* aime-wrap (원본 구조) */
.aime-wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 35px 20px 70px;
  overflow: hidden;
}
.aime-top-box {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 18px 22px;
  border-radius: 999px;
  background: rgba(255, 225, 225, .45);
  opacity: 0;
  transform: translateY(30px);
  animation: topFade .8s ease forwards;
}
.aime-circle {
  width: 31%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 18px;
  opacity: 0;
  transform: scale(.7);
  animation: circlePop .7s ease forwards;
}
.aime-circle:nth-child(1) { animation-delay: .2s; }
.aime-circle:nth-child(2) { animation-delay: .45s; }
.aime-circle:nth-child(3) { animation-delay: .7s; }
.aime-circle h3 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 800;
  color: #111;
}
.aime-circle p {
  margin: 0;
  font-size: 20.7px;
  line-height: 1.6;
  color: #444;
  font-weight: 600;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.aime-circle span {
  color: #ff3131;
  font-weight: 900;
}
.aime-line {
  width: 0;
  height: 46px;
  margin: 0 auto;
  border-left: 3px dotted #ff3131;
  opacity: 0;
  animation: lineShow .6s ease 1s forwards;
}
.aime-bottom-box {
  position: relative;
  width: 92%;
  margin: 0 auto;
  background: #f52d35;
  border-radius: 999px;
  padding: 42px 100px 42px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  animation: bottomUp .9s ease 1.2s forwards;
}
.aime-text {
  color: #fff;
  font-size: 25px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.04em;
  word-break: keep-all;
}
.aime-text--m { display: none; }
.aime-text strong {
  font-weight: 800;
}
.aime-icon {
  position: absolute;
  right: -65px;
  bottom: -45px;
  width: 250px;
  animation: floatIcon 2.5s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .15));
}
@keyframes topFade {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes circlePop {
  to { opacity: 1; transform: scale(1); }
}
@keyframes lineShow {
  to { opacity: 1; }
}
@keyframes bottomUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatIcon {
  0%   { transform: translateY(0) rotate(-2deg); }
  50%  { transform: translateY(-10px) rotate(2deg); }
  100% { transform: translateY(0) rotate(-2deg); }
}

/* ============================================
   12. CTA 이미지
   ============================================ */
.cta-visual {
  background: url('images/f3bd28abc9e63.png') center/cover no-repeat;
  padding: 5px 0 35px;
  text-align: center;
}
.cta-visual img {
  height: 673px;
  max-height: 70vw;
  width: auto;
  margin: 0 auto;
}

/* ============================================
   13. REVIEW
   ============================================ */
.review {
  padding: 82px 0 80px;
  background: #fff;
  text-align: center;
  overflow: hidden;
}
.review-sub {
  font-size: 24px;
  color: rgb(184, 184, 184);
  margin: 16px 0 60px;
  letter-spacing: -1px;
}
.review-marquee {
  overflow: hidden;
  margin: 0 -24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.review-track {
  display: flex;
  gap: 24px;
  animation: reviewSlide 60s linear infinite;
  width: max-content;
  padding: 20px 0;
}
.review-marquee:hover .review-track {
  animation-play-state: paused;
}
@keyframes reviewSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.review-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  width: 340px;
  flex-shrink: 0;
  text-align: left;
  box-shadow: var(--shadow-card);
  border: 1px solid #eee;
}
.review-card h4 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
  color: var(--color-primary);
}
.review-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-sub);
  margin: 0;
}

/* ============================================
   14. 하단 CTA
   ============================================ */
.bottom-cta {
  position: relative;
  height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.bottom-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/db75e9952e943.png') 50% 50% / cover no-repeat;
  background-attachment: fixed;
  -webkit-backface-visibility: hidden;
}
.bottom-cta .container {
  position: relative;
  z-index: 1;
}
.bottom-cta .section-title {
  font-size: 60px;
  color: #fff;
  margin-bottom: 46px;
}
.bottom-cta .section-title strong {
  color: #fff;
}
.cta-btn-wrap {
  position: relative;
  display: inline-block;
}
.cta-badge {
  position: absolute;
  top: -18px;
  right: -10px;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  background: #fff;
  padding: 8px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  white-space: nowrap;
  z-index: 1;
  animation: badgeBounce 2s ease-in-out infinite;
}
@keyframes badgeBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.btn-primary {
  display: inline-block;
  background: #e73338;
  color: #fff;
  padding: 26px 56px;
  border-radius: 60px;
  border: none;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  transition: background .2s, transform .15s;
  box-shadow: 0 6px 32px rgba(231, 51, 56, 0.35);
}
.btn-primary:hover {
  background: #c52b30;
  transform: translateY(-2px);
}

/* ============================================
   15. CONTACT FORM
   ============================================ */
.contact {
  padding: 100px 0;
  background: #1b1b1b;
  text-align: center;
  color: #fff;
}
.contact .section-eyebrow {
  background: #fff;
  color: var(--color-primary);
}
.contact .section-title {
  color: #fff;
}
.contact .section-title strong {
  color: var(--color-primary);
}
.contact-sub {
  font-size: 18px;
  color: #aaa;
  margin: 16px 0 48px;
  font-weight: 500;
}
.contact-form {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: left;
  color: var(--color-text);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}
.form-row input[type="text"],
.form-row input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius-sm);
  background: #fafafa;
  transition: border-color .2s;
}
.form-row input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}
.form-row input::placeholder { color: #bbb; }
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 28px;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}
.form-check label {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-sub);
  font-weight: 400;
}
.form-check a {
  color: var(--color-primary);
  text-decoration: underline;
}
.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--color-primary);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.btn-submit:hover { background: var(--color-primary-dark); }
.btn-submit:disabled { background: #ccc; cursor: not-allowed; }
.form-note {
  font-size: 13px;
  color: var(--color-muted);
  text-align: center;
  margin: 16px 0 0;
}

/* ============================================
   상담신청 페이지
   ============================================ */
.contact-page {
  padding: 81px 0;
  background: #fff;
  min-height: 70vh;
}
.contact-heading {
  text-align: center;
  margin-bottom: 30px;
}
.contact-heading p {
  font-size: 36px;
  font-weight: 800;
  color: #1b1b1b;
  letter-spacing: -1px;
  line-height: 1.4;
  margin: 0;
}
.contact-red { color: #e73338; }

@media (max-width: 640px) {
  .contact-page { padding: 40px 0; }
  .contact-heading p { font-size: 26px; }
  .contact-heading { margin-bottom: 24px; }
}

/* hf 폼 (원본 Contact 페이지 동일) */
.hf-wrap { background: transparent; padding: 0; width: 100%; font-family: var(--font-body); letter-spacing: -0.5px; }
.hf-form { display: flex; flex-direction: column; gap: 14px; max-width: 600px; margin: 0 auto; }
.hf-field { display: flex; flex-direction: column; gap: 6px; }
.hf-label { font-size: 14px; font-weight: 600; color: #333; }
.hf-label span { color: #e73338; }
.hf-input, .hf-select {
  width: 100%; padding: 14px 16px; border: 1.5px solid #ddd; border-radius: 10px;
  font-size: 15px; font-family: var(--font-body); letter-spacing: -0.5px;
  color: #111; background: #fff; outline: none; transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.hf-input::placeholder { color: #bbb; }
.hf-input:focus, .hf-select:focus { border-color: #e73338; }
.hf-select-wrap { position: relative; }
.hf-select-wrap::after {
  content: ''; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid #888; pointer-events: none;
}
.hf-select { color: #111; cursor: pointer; }
.hf-select.hf-placeholder { color: #bbb; }
.hf-textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid #ddd; border-radius: 10px;
  font-size: 15px; font-family: var(--font-body); letter-spacing: -0.5px;
  color: #111; background: #fff; outline: none; transition: border-color .2s;
  resize: none; height: 120px; line-height: 1.6;
}
.hf-textarea::placeholder { color: #bbb; }
.hf-textarea:focus { border-color: #e73338; }
.hf-etc-wrap { overflow: hidden; max-height: 0; transition: max-height .3s ease, opacity .3s ease; opacity: 0; }
.hf-etc-wrap.hf-etc-show { max-height: 160px; opacity: 1; }
.hf-privacy { background: #f7f7f7; border-radius: 10px; padding: 16px; }
.hf-privacy-title { font-size: 13px; font-weight: 700; color: #333; margin: 0 0 8px; }
.hf-privacy-text { font-size: 12px; color: #888; line-height: 1.7; max-height: 80px; overflow-y: auto; margin-bottom: 12px; word-break: keep-all; }
.hf-privacy-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.hf-privacy-check input[type=checkbox] { width: 18px; height: 18px; accent-color: #e73338; cursor: pointer; flex-shrink: 0; }
.hf-privacy-check-label { font-size: 13px; font-weight: 600; color: #333; }
.hf-privacy-check-label span { color: #e73338; }
.hf-err { font-size: 12px; color: #e73338; display: none; margin-top: 2px; }
.hf-err.hf-show { display: block; }
.hf-submit {
  width: 100%; padding: 18px; background: #e73338; color: #fff;
  font-size: 17px; font-weight: 800; font-family: var(--font-body); letter-spacing: -0.5px;
  border: none; border-radius: 12px; cursor: pointer; transition: background .2s, transform .15s; margin-top: 4px;
}
.hf-submit:hover { background: #c9282d; transform: translateY(-1px); }
.hf-submit:active { transform: translateY(0); }

@media (max-width: 640px) {
  .hf-modal__title { font-size: 22px; }
  .hf-input, .hf-select { font-size: 14px; padding: 13px 14px; }
  .hf-submit { font-size: 16px; padding: 16px; }
  .hf-label { font-size: 13px; }
}

/* ============================================
   하단 고정 배너 (aime-sticky-banner)
   ============================================ */
.aime-sticky-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 9999;
  padding: 18px 20px;
  pointer-events: none;
}
.aime-sticky-inner {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 0 22px rgba(239, 45, 53, .55);
  pointer-events: auto;
  animation: aimeStickyUp .7s ease both;
}
.aime-sticky-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.aime-sticky-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 9px 21px;
  border-radius: 999px;
  background: #ffd9dc;
  color: #f52d35;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.aime-sticky-text {
  color: #111;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.aime-sticky-text strong {
  color: #f52d35;
  font-weight: 900;
}
.aime-sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px 26px;
  border-radius: 999px;
  background: #f52d35;
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none !important;
  white-space: nowrap;
  transition: .25s ease;
}
.aime-sticky-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(245, 45, 53, .35);
}
@keyframes aimeStickyUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .aime-sticky-banner { padding: 12px; }
  .aime-sticky-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px 16px;
    border-radius: 10px;
  }
  .aime-sticky-left { flex-direction: column; align-items: flex-start; gap: 10px; }
  .aime-sticky-badge { font-size: 15px; padding: 8px 16px; }
  .aime-sticky-text { font-size: 15px; line-height: 1.45; white-space: normal; }
  .aime-sticky-btn { width: 100%; font-size: 16px; padding: 13px 18px; }
}

/* ============================================
   약관/개인정보 모달
   ============================================ */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.policy-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.policy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}
.policy-modal__box {
  position: relative;
  width: min(640px, calc(100% - 32px));
  max-height: 80vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.policy-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}
.policy-modal__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #111;
}
.policy-modal__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f5f5;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #666;
  cursor: pointer;
}
.policy-modal__close:hover { background: #e0e0e0; }
.policy-modal__body {
  padding: 24px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.8;
  color: #444;
}
.policy-modal__body h4 {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 20px 0 8px;
}
.policy-modal__body h4:first-child { margin-top: 0; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #1b1b1b;
  color: #aaa;
  padding: 48px 0 150px;
  font-size: 13px;
  line-height: 1.8;
  border-top: 1px solid #333;
}
.site-footer .container { text-align: left; }
.footer-name { margin: 0 0 8px; color: #ddd; font-size: 14px; }
.footer-copy { margin: 16px 0 0; color: #777; }
.footer-links {
  display: flex;
  gap: 24px;
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid #444;
}
.footer-links a { color: #bbb; font-size: 13px; }
.footer-links a:hover { color: #fff; }

/* ============================================
   하이라이트: 형광펜
   ============================================ */
.hl-marker {
  background-image: linear-gradient(
    transparent 55%,
    rgba(231, 51, 56, 0.22) 55%,
    rgba(231, 51, 56, 0.22) 92%,
    transparent 92%
  );
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 0% 100%;
  transition: background-size 1s cubic-bezier(.4, 0, .2, 1);
  padding: 0 2px;
}
.hl-marker.is-visible {
  background-size: 100% 100%;
}

/* ============================================
   하이라이트: 두꺼운 물결 밑줄 (원본 hwvy-path, stroke-dashoffset 애니메이션)
   ============================================ */
.hl-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hl-underline svg {
  position: absolute;
  left: -2px;
  bottom: -14px;
  width: calc(100% + 4px);
  height: 18px;
  overflow: visible;
}
.hl-underline .hwvy-path {
  stroke: #e73338;
  stroke-width: 3.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.1s cubic-bezier(.4, 0, .2, 1);
}
.hl-underline.is-visible .hwvy-path {
  stroke-dashoffset: 0;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hl-marker { background-size: 100% 100%; transition: none; }
  .hl-underline::after { background-size: 100% 100%; transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .hero-fg, .btn-hero-cta { animation: none; }
}

/* ============================================
   반응형 (Tablet)
   ============================================ */
@media (max-width: 960px) {
  .prospect-grid { grid-template-columns: 1fr; gap: 12px; }
  .prospect-content-box { padding: 36px 16px; border-radius: 16px; }
  .prospect-heading-pill { font-size: 15px; padding: 10px 20px; gap: 6px; white-space: nowrap; }
  .prospect-card { aspect-ratio: auto; min-height: 150px; padding: 20px 20px 0; text-align: left; }
  .prospect-card .card-text { font-size: 18px; }
  .prospect-card-img-wrap { justify-content: flex-end; }
  .prospect-card img { width: 180px; height: 180px; }
  .aime-circle h3 { font-size: 15px; }
  .aime-circle p { font-size: 14px; }
  .aime-text { font-size: 20px; }
  .aime-icon { width: 190px; right: -25px; bottom: -30px; }
}

/* ============================================
   반응형 (Mobile)
   ============================================ */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; }

  .header-inner { padding: 0 20px; }
  .logo span { display: none; }
  .site-nav { gap: 16px; }
  .site-nav a:not(.btn-nav-cta) { display: none; }
  .btn-nav-cta { padding: 8px 16px; font-size: 13px !important; }

  .hero { padding: 40px 0 60px; }
  .hero-bg { height: auto; max-height: 160px; }
  .hero-fg { height: auto; max-height: 50vw; }
  .btn-hero-cta { padding: 10px 24px; font-size: 16px; }

  .section-title { font-size: 26px; }
  .prospect-heading { font-size: 22px; }
  .prospect-lead--pc { display: none; }
  .prospect-lead--m { display: block; }
  .prospect-lead__sub { font-size: 13px; margin-bottom: 6px; }
  .prospect-lead__main { font-size: 22px; padding-bottom: 20px; white-space: nowrap; }

  .about, .prospect, .points, .comparison,
  .midcta-text, .caution, .review,
  .bottom-cta, .contact { padding: 60px 0; }
  .comparison { min-height: auto; }

  .emphasis-band { height: 256px; padding: 5px 0; background-image: url('images/62d2b49076c88.png'); }
  .emphasis-band p { font-size: 22px; }
  .hl-underline .hwvy-path { stroke-width: 2.5; }

  .tab-btn { padding: 8px 18px; font-size: 13px; }
  .tabs { gap: 8px; margin-bottom: 20px; }
  .midcta-heading { font-size: 26px; }
  .caution-sub, .review-sub { font-size: 16px; white-space: nowrap; }
  .btn-primary { font-size: 18px; padding: 18px 36px; }

  .htx2-line1, .htx2-line2 { font-size: 22px; }
  .htx2-line2 { padding: 0 4px; white-space: nowrap; }
  .hsc-slide { flex: 0 0 82%; max-width: 82%; padding: 0 8px; }
  .hsc-title { font-size: 22px; letter-spacing: -1px; }
  .hsc-badge { font-size: 13px; padding: 7px 18px; }
  .hsc-desc { font-size: 14px; }

  .marquee { font-size: 16px; padding: 20px 0; }

  .review-card { width: 280px; padding: 24px 22px; }

  .bottom-cta { padding: 80px 0; }
  .bottom-cta::before { background-attachment: scroll; }
  .bottom-cta .section-title { font-size: 28px; }

  .contact-form { padding: 32px 24px; }

  .aime-wrap { padding: 20px 15px 80px; }
  .aime-top-box { flex-direction: column; border-radius: 35px; padding: 24px 16px; }
  .aime-circle { width: 230px; }
  .aime-line { height: 40px; }
  .aime-bottom-box { width: 100%; border-radius: 35px; padding: 35px 20px 110px; }
  .aime-text { font-size: 18px; line-height: 1.6; }
  .aime-text--pc { display: none; }
  .aime-text--m { display: block; }
  .aime-icon { width: 160px; right: 25%; bottom: -35px; transform: translateX(50%); }

  .timeline-visual img { height: auto; max-height: 80vw; }
  .curriculum-visual { padding: 40px 0; }
  .curriculum-visual img { height: auto; max-height: 60vw; }
  .cta-visual { padding: 5px 0 30px; background-image: url('images/5d396d35a270c.png'); }
  .cta-visual img { height: auto; max-height: 90vw; }

  .footer-links { flex-direction: column; gap: 8px; }
}
