/* ===========================
   키움기프트 메인 스타일시트
   =========================== */

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

:root {
  --primary: #FF6B35;
  --primary-dark: #E85A25;
  --secondary: #1A1A2E;
  --accent-blue: #2B7FFF;
  --accent-green: #22C55E;
  --accent-purple: #8B5CF6;
  --gold: #F59E0B;
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-400: #ADB5BD;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --text-dark: #1A1A2E;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

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

/* ===========================
   헤더
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 20px;
}

.site-header.scrolled {
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.logo-text {
  font-size: 22px;
  font-weight: 900;
  color: white;
  letter-spacing: -0.5px;
}

.header-call-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255,107,53,0.4);
}

.header-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.5);
}

.header-call-btn i {
  animation: ringPulse 1.5s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-15deg); }
  40% { transform: rotate(15deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(8deg); }
}

/* ===========================
   히어로 섹션
   =========================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0F0C29 0%, #1A1A2E 40%, #16213E 70%, #0F3460 100%);
  overflow: hidden;
  padding: 100px 20px 80px;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,107,53,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(43,127,255,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(245,158,11,0.1) 0%, transparent 50%);
}

/* 플로팅 배경 도형 */
.floating-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  bottom: 10%;
  left: -60px;
  animation-delay: 2s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--accent-green);
  top: 30%;
  right: 10%;
  animation-delay: 4s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  background: var(--gold);
  bottom: 30%;
  right: 20%;
  animation-delay: 6s;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

/* 파티클 그리드 효과 */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.badge-label {
  display: inline-block;
  background: rgba(255,107,53,0.2);
  border: 1px solid rgba(255,107,53,0.4);
  color: #FFB38A;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.highlight-text {
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 3vw, 20px);
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-subtitle strong {
  color: white;
}

/* 히어로 버튼 */
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 220px;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn i {
  font-size: 26px;
  flex-shrink: 0;
}

.cta-btn .btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cta-btn .btn-main {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.cta-btn .btn-sub {
  font-size: 12px;
  opacity: 0.85;
  font-weight: 400;
}

.cta-sms {
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: white;
  box-shadow: 0 8px 30px rgba(34,197,94,0.4);
}

.cta-sms:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(34,197,94,0.5);
  color: white;
}

.cta-call {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 8px 30px rgba(255,107,53,0.4);
}

.cta-call:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255,107,53,0.5);
  color: white;
}

.cta-btn.large {
  padding: 22px 36px;
  min-width: 260px;
  border-radius: 18px;
}

.cta-btn.large .btn-main {
  font-size: 20px;
}

.cta-btn.large i {
  font-size: 30px;
}

/* 펄스 애니메이션 */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 30px rgba(34,197,94,0.4); }
  50% { box-shadow: 0 8px 45px rgba(34,197,94,0.7), 0 0 0 8px rgba(34,197,94,0.1); }
}

.cta-sms {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.hero-notice {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* 스크롤 인디케이터 */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
  animation: scrollBounce 2s ease-in-out infinite;
  /* 배경 블러 박스로 글자 겹침 방지 */
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 40px;
  padding: 14px 18px 12px;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}

.scroll-text {
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ===========================
   공통 섹션 스타일
   =========================== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

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

.section-desc {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===========================
   서비스 카드 섹션
   =========================== */
.services-section {
  padding: 100px 0;
  background: var(--gray-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.service-card {
  background: white;
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.card-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: white;
  transition: var(--transition);
}

.service-card:hover .card-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.card-icon-wrap.orange { background: linear-gradient(135deg, #FF6B35, #F59E0B); }
.card-icon-wrap.blue { background: linear-gradient(135deg, #2B7FFF, #60A5FA); }
.card-icon-wrap.green { background: linear-gradient(135deg, #22C55E, #4ADE80); }
.card-icon-wrap.purple { background: linear-gradient(135deg, #8B5CF6, #A78BFA); }

.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

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

.card-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: white;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

/* ===========================
   프로세스 섹션
   =========================== */
.process-section {
  padding: 100px 0;
  background: white;
}

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

.process-step {
  text-align: center;
  background: var(--gray-100);
  border-radius: 24px;
  padding: 40px 32px;
  width: 220px;
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  background: var(--secondary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.process-step:hover h4,
.process-step:hover p {
  color: white;
}

.step-num {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.step-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 16px;
  margin-top: 8px;
  transition: var(--transition);
}

.process-step:hover .step-icon {
  color: var(--gold);
  transform: scale(1.1);
}

.process-step h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  transition: var(--transition);
}

.process-step p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  transition: var(--transition);
}

.process-arrow {
  font-size: 24px;
  color: var(--gray-400);
}

/* ===========================
   신뢰 지표 섹션
   =========================== */
.trust-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary), #0F3460);
  overflow: hidden;
}

.trust-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(255,107,53,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 50%, rgba(43,127,255,0.1) 0%, transparent 60%);
}

.trust-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trust-icon {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 8px;
}

.trust-num {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 900;
  color: white;
  line-height: 1;
}

.trust-unit {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin-top: -4px;
}

.trust-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ===========================
   왜 키움기프트인가 섹션
   =========================== */
.why-section {
  padding: 100px 0;
  background: var(--gray-100);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.why-item {
  background: white;
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.why-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--primary);
}

.why-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(245,158,11,0.1));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--primary);
  transition: var(--transition);
}

.why-item:hover .why-icon {
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: white;
  transform: rotate(-5deg) scale(1.1);
}

.why-item h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.why-item p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ===========================
   하단 CTA 섹션
   =========================== */
.cta-section {
  position: relative;
  padding: 100px 20px;
  background: linear-gradient(135deg, #1A1A2E, #0F3460, #1A1A2E);
  text-align: center;
  overflow: hidden;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255,107,53,0.15) 0%, transparent 70%);
}

/* 펄스 링 배경 */
.cta-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255,107,53,0.15);
  border-radius: 50%;
  animation: ctaPulseRing 3s ease-in-out infinite;
}

.cta-pulse-ring::before,
.cta-pulse-ring::after {
  content: '';
  position: absolute;
  inset: -50px;
  border: 1px solid rgba(255,107,53,0.08);
  border-radius: 50%;
}

.cta-pulse-ring::after {
  inset: -100px;
}

@keyframes ctaPulseRing {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-content p strong {
  color: var(--gold);
}

.cta-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  color: white;
  margin-bottom: 40px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  padding: 20px 40px;
  border-radius: 20px;
  display: inline-flex;
}

.cta-number i {
  color: var(--primary);
  font-size: clamp(24px, 4vw, 40px);
}

.fa-beat {
  animation: iconBeat 1s ease-in-out infinite;
}

@keyframes iconBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.cta-buttons-wrap {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   푸터
   =========================== */
.site-footer {
  background: #0D0D1A;
  padding: 50px 20px;
  text-align: center;
}

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

.footer-logo {
  font-size: 24px;
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
}

.footer-logo i {
  color: var(--gold);
  margin-right: 8px;
}

.footer-info {
  margin-bottom: 20px;
}

.footer-info p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

.footer-info a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.footer-notice p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
  line-height: 1.7;
}

/* ===========================
   플로팅 상담 버튼
   =========================== */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  /* 반투명 배경 박스로 가시성 향상 */
  background: rgba(10, 10, 25, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 14px 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
}

.floating-label {
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  animation: floatLabelPulse 2s ease-in-out infinite;
  box-shadow: 0 2px 10px rgba(255,107,53,0.4);
}

@keyframes floatLabelPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 2px 10px rgba(255,107,53,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 4px 18px rgba(255,107,53,0.65); }
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 22px;
  transition: all 0.3s ease;
  position: relative;
}

.float-btn span {
  font-size: 10px;
  font-weight: 800;
  margin-top: 3px;
  line-height: 1;
  letter-spacing: 0.3px;
}

.float-sms {
  background: linear-gradient(135deg, #22C55E, #15803D);
  box-shadow: 0 4px 20px rgba(34,197,94,0.5), 0 0 0 3px rgba(34,197,94,0.15);
  animation: floatBounce 2s ease-in-out infinite;
}

.float-call {
  background: linear-gradient(135deg, var(--primary), #C2410C);
  box-shadow: 0 4px 20px rgba(255,107,53,0.5), 0 0 0 3px rgba(255,107,53,0.15);
  animation: floatBounce 2s ease-in-out infinite 0.4s;
}

.float-btn:hover {
  transform: scale(1.15) !important;
  color: white;
}

/* 플로팅 버튼 링 효과 */
.float-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: floatRing 2.5s ease-out infinite;
}

.float-sms::before { color: #22C55E; animation-delay: 0s; }
.float-call::before { color: var(--primary); animation-delay: 0.4s; }

@keyframes floatRing {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

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

/* ===========================
   애니메이션 클래스
   =========================== */
.animate-fadein {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.2s;
}

.animate-slidein {
  opacity: 0;
  animation: slideInUp 0.9s ease forwards 0.4s;
}

.animate-fadein-delay {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.7s;
}

.animate-fadein-delay2 {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1.0s;
}

.animate-fadein-delay3 {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1.3s;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 스크롤 트리거 애니메이션 */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===========================
   반응형
   =========================== */
@media (max-width: 768px) {
  .hero-section {
    padding: 80px 20px 60px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .cta-btn.large {
    max-width: 340px;
  }

  .process-steps {
    flex-direction: column;
  }

  .process-arrow {
    transform: rotate(90deg);
  }

  .cta-number {
    font-size: 24px;
    padding: 16px 24px;
    flex-direction: column;
    gap: 8px;
  }

  .cta-buttons-wrap {
    flex-direction: column;
    align-items: center;
  }

  .header-call-btn span {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .floating-contact {
    bottom: 20px;
    right: 16px;
  }
}

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

  .why-grid {
    grid-template-columns: 1fr;
  }
}
