@charset "utf-8";

/* --- 기본 초기화 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Pretendard', sans-serif; color: #191f28; line-height: 1.5; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }

.t_inner { max-width: 1140px; margin: 0 auto; padding: 0 20px; position: relative; }
.t_section { padding: 120px 0; }

/* --- 메인 히어로 섹션 --- */
.t_hero { position: relative; width: 100%; height: 750px; margin-top: 90px; background: #191f28; overflow: hidden; }
.main_slider, .swiper-wrapper, .swiper-slide { width: 100%; height: 100%; }
.swiper-slide { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero_overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 2; }

/* 텍스트 노출 고정 */
.hero_content { position: absolute; top: 50%; left: 0; width: 100%; transform: translateY(-50%); z-index: 10; color: #fff; }
.hero_content h2 { font-size: 56px; line-height: 1.2; margin-bottom: 20px; font-weight: 800; letter-spacing: -1.5px; }
.hero_content p { font-size: 22px; color: rgba(255,255,255,0.8); }

/* --- 서비스 그리드 --- */
.t_grid { display: flex; gap: 30px; justify-content: center; }
.t_box { flex: 1; padding: 60px 45px; background: #f9fafb; border-radius: 24px; transition: 0.4s; border: 1px solid #f2f4f6; }
.t_box:hover { transform: translateY(-10px); background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.t_box h3 { color: #d00000; font-size: 26px; margin-bottom: 20px; font-weight: 700; }

/* --- 애니메이션 효과 --- */
.reveal, .hero_reveal { opacity: 0; transform: translateY(30px); transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active, .hero_reveal.active { opacity: 1; transform: translateY(0); }
.delay1 { transition-delay: 0.2s; }
.delay2 { transition-delay: 0.4s; }

@media (max-width: 1024px) {
    .t_section { padding: 88px 0; }
    .t_hero { height: 620px; margin-top: 80px; }
    .hero_content h2 { font-size: 42px; letter-spacing: -1px; }
    .hero_content p { font-size: 18px; }
}

@media (max-width: 768px) {
    .t_inner { padding: 0 16px; }
    .t_section { padding: 72px 0; }
    .t_hero { height: 520px; }
    .hero_content h2 { font-size: 32px; line-height: 1.28; }
    .hero_content p { font-size: 16px; line-height: 1.6; }
    .t_grid { flex-direction: column; gap: 18px; }
    .t_box { padding: 34px 24px; border-radius: 18px; }
    .t_box h3 { font-size: 22px; margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .hero_reveal {
        transition: none;
        transform: none;
        opacity: 1;
    }
}