/* ============================
   [초기화 및 변수 — 콘페이 스카이·네이비]
============================ */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
    --sky-50: #f0f8fd;
    --sky-100: #d9ecf8;
    --sky-200: #b8ddf0;
    --sky-400: #5ba8d4;
    --sky-500: #3d8fc4;
    --navy-900: #0b1f3a;
    --navy-800: #132b4f;
    --navy-700: #1e4068;
    --bg-color: #eef6fc;
    --text-main: #0b1f3a;
    --text-sub: #3d5a73;
    --primary: #132b4f;
    --accent: #2f7bb8;
    --accent-soft: #5ba8d4;
    --kakao: #fee500;
    --white: #ffffff;
    --border: #c5dff0;
    --radius: 16px;
    --shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
    --shadow-soft: 0 4px 16px rgba(91, 168, 212, 0.15);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: linear-gradient(180deg, var(--sky-100) 0%, var(--bg-color) 120px, #f5fafd 100%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    word-break: keep-all;
}

a { text-decoration: none; color: inherit; }
ul, li { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, p { margin: 0; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================
   1. 헤더 (Mobile First)
============================ */
header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(11, 31, 58, 0.04);
}

.nav-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
    color: var(--navy-900);
}

.nav-links { display: none; }

@media (min-width: 768px) {
    header { padding: 15px 0; }
    .nav-links { display: block; }
    .nav-links a {
        color: var(--text-sub);
        font-weight: 600;
        margin-left: 30px;
        font-size: 15px;
        transition: color 0.2s ease;
    }
    .nav-links a:hover { color: var(--accent); }
}

/* ============================
   2. HERO 섹션
   ============================ */
.hero {
    font-family: "Pretendard", sans-serif;
    background: linear-gradient(165deg, #c8e4f6 0%, #e3f2fa 35%, #f4faff 70%, #ffffff 100%);
    color: var(--navy-900);
    padding: 40px 20px 56px;
    text-align: center;
    position: relative;
    word-break: keep-all;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 255, 255, 0.85) 0%, transparent 65%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* --- 타이포그래피 --- */
.hero h1 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--navy-900);
}

.hero-sub {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-sub);
    margin-bottom: 28px;
    font-weight: 500;
}

.hero .point-blue {
    color: var(--accent);
    font-weight: 700;
}
.hero .point-orange {
    color: var(--navy-700);
    font-weight: 800;
}

/* --- 버튼 그룹 --- */
.hero-btns {
    display: flex;
    flex-direction: column; 
    gap: 12px;
    width: 100%;
    max-width: 400px; 
    margin: 0 auto 30px; 
}

.hero-btns a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-call {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(11, 31, 58, 0.22);
}
.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(11, 31, 58, 0.28);
}

.btn-kakao {
    background: var(--kakao);
    color: #2a1a0a;
    box-shadow: 0 8px 20px rgba(254, 229, 0, 0.35);
    border: 1px solid rgba(11, 31, 58, 0.06);
}
.btn-kakao:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}
/* 카카오톡 버튼 안에 있는 이미지 크기 조절 */
.btn-kakao img {
    width: 24px;       /* 아이콘 너비 (글자 크기와 비슷하게) */
    height: 24px;      /* 아이콘 높이 */
    margin-right: 8px; /* 글자와 아이콘 사이 간격 */
    object-fit: contain; /* 찌그러짐 방지 */
    vertical-align: middle;
}
/* 안내 문구 */
.hero-notice {
    font-size: 14px;
    margin-top: 20px;
    color: var(--text-sub);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border);
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft), 0 0 0 4px rgba(255, 255, 255, 0.6);
    display: block;
}



/* 모바일 버튼 영역 (기존 버튼 스타일 그대로 가져옴) */
.mo-btns-wrap {
    display: flex;
    flex-direction: column; /* 세로 정렬 */
    gap: 10px;
    padding: 10px 20px 0;
}
/* ============================
   🖥️ PC 버전 (768px 이상)
============================ */
@media (min-width: 768px) {
    .hero {
        padding: 90px 0 100px;
    }
    .hero-image {
        max-width: 1100px; /* 기존 800px -> 1100px로 변경 */
        width: 100%;       /* 꽉 차게 설정 */
        margin: 0 auto 80px;
    }
    /* [추가됨] PC에서는 이미지 아래 간격을 80px로 더 넓게 */
    .hero-image {
        margin-bottom: 80px;
    }
    .hero h1 { 
        font-size: 46px; /* PC 제목 크기 확대 */
        margin-bottom: 24px; 
    }
    
    .hero-sub { 
        font-size: 20px; 
    }
    
    .hero-btns { 
        flex-direction: row; 
        justify-content: center; 
        gap: 16px; 
        max-width: none; 
    }
    
    .hero-btns a { 
        width: 240px; 
        font-size: 20px;
    }
}
/* =================================================
   [모바일 버튼 디자인 깨짐 수정]
   새로 만든 모바일 섹션 버튼에도 모양/크기 적용하기
   ================================================= */

/* 1. 버튼 모양 및 크기 강제 적용 */
.mo-btns-wrap a {
    display: flex;              /* 내용물 가로 정렬 */
    justify-content: center;    /* 가운데 정렬 */
    align-items: center;        /* 수직 가운데 정렬 */
    width: 100%;                /* 가로 꽉 차게 */
    height: 58px;               /* 버튼 높이 */
    border-radius: 12px;        /* 둥근 모서리 */
    font-size: 18px;            /* 글자 크기 */
    font-weight: 700;           /* 글자 굵게 */
    text-decoration: none;      /* 밑줄 제거 */
    margin-bottom: 0;           /* 불필요한 여백 제거 */
    
    /* 양진체 높이 보정 (선택사항) */
    padding-top: 3px; 
}

/* 2. 카카오톡 아이콘 크기 잡아주기 */
.mo-btns-wrap .btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    object-fit: contain;
    vertical-align: middle;
}


/* ============================
   3. 공통 섹션
============================ */
.section {
    width: 90%;
    margin: 24px auto;
    padding: 28px 22px;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
}

.section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 800;
    position: relative;
    padding-left: 10px;
}

.section h2::before {
    content: '';
    position: absolute;
    left: 0; top: 4px; bottom: 4px; width: 4px;
    background: linear-gradient(180deg, var(--accent-soft), var(--accent));
    border-radius: 4px;
}

.section h3 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: var(--primary);
    font-weight: 700;
}

.section p {
    margin-bottom: 12px;
    color: var(--text-sub);
    font-size: 15px;
}

.content-image {
    width: 100%;
    margin: 20px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .section {
        width: 100%;
        max-width: 1100px;
        margin: 48px auto;
        padding: 40px 48px;
    }
    .section h2 { font-size: 26px; margin-bottom: 25px; }
    .section h3 { font-size: 22px; }
}

/* ============================
   4. 카드 그리드
============================ */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    border-color: var(--sky-200);
    box-shadow: var(--shadow-soft);
}

.card h3 {
    color: var(--primary);
    font-size: 17px;
    margin-bottom: 6px;
    font-weight: 700;
}

.card p { font-size: 14px; color: var(--text-sub); }

@media (min-width: 768px) {
    .card-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
    .card { padding: 30px; }
    .card h3 { font-size: 20px; }
}

/* ============================
   5. Step (절차)
============================ */
.step-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.step {
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1px solid #eee;
}

.step span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px; height: 36px;
    background: var(--sky-50);
    color: var(--accent);
    border: 1px solid var(--sky-200);
    border-radius: 50%;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 8px;
}

.step h3 { font-size: 14px; margin-bottom: 2px; color: var(--text-main); }
.step p { font-size: 12px; color: var(--text-sub); }

@media (min-width: 768px) {
    .step-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .step { padding: 24px; }
    .step span { width: 48px; height: 48px; font-size: 18px; }
    .step h3 { font-size: 16px; }
}

/* ============================
   6. FAQ
============================ */
.faq-item {
    background: var(--white);
    padding: 20px;
    margin-bottom: 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    border-left: 5px solid var(--accent-soft);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.faq-item strong,
.faq-item b,
.faq-item h3 {
    display: block;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.faq-item p,
.faq-item div {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.6;
    margin: 0;
}

/* ============================
   7. 후기
============================ */
.review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px;
    border: 1px solid #eee;
    text-align: center;
    box-shadow: var(--shadow);
}

.review-card img {
    width: 50px; height: 50px;
    border-radius: 50%;
    margin-bottom: 8px;
    object-fit: cover;
}

.review-card strong {
    display: block;
    margin-top: 5px;
    font-weight: 700;
    font-size: 14px;
}

@media (min-width: 768px) {
    .review-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* ============================
   8. 참고자료 링크
============================ */
.link-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 10px;
}

.link-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: 0.2s ease;
    text-align: left;
}

.link-card:active { transform: scale(0.98); background: #fafafa; }
.link-card:hover { border-color: var(--accent); }

.link-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.link-card h3::after {
    content: '↗';
    font-size: 14px;
    margin-left: auto;
    color: var(--accent);
}

.link-card p {
    font-size: 13px;
    color: var(--text-sub);
    margin: 0;
}

@media (min-width: 768px) {
    .link-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .link-card { padding: 24px; }
}

/* ============================
   9. CTA 섹션
============================ */
.cta-section {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--accent) 100%);
    padding: 40px 20px;
    margin: 40px auto;
    border-radius: var(--radius);
    text-align: center;
    color: var(--white);
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--white);
}

.cta-section h2::before { display: none; }

.cta-section p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-buttons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: 0.2s;
}

.cta-notice {
    font-size: 12px;
    margin-top: 15px;
    opacity: 0.7;
}

@media (min-width: 768px) {
    .cta-section { padding: 60px 40px; }
    .cta-buttons { flex-direction: row; justify-content: center; gap: 14px; }
    .cta-buttons a { width: auto; }
}

/* ============================
   10. 내부 링크 스타일
============================ */
.internal-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.internal-link:hover {
    color: var(--accent-soft);
}

.sub-link {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-sub);
}

/* ============================
   11. 푸터
============================ */
footer {
    background: linear-gradient(180deg, var(--navy-900) 0%, #061423 100%);
    color: rgba(255,255,255,0.7);
    padding: 30px 0 60px;
    text-align: center;
    font-size: 12px;
    margin-top: 40px;
}

.footer-wrap {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    margin-bottom: 25px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    margin: 0 8px;
    text-decoration: underline;
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-desc {
    margin-bottom: 25px;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
}

.footer-desc p {
    margin-bottom: 10px;
}

.footer-contact {
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-contact p {
    margin-bottom: 5px;
}

.copy {
    margin-top: 20px;
    opacity: 0.6;
}

@media (min-width: 768px) {
    footer { padding: 40px 0 80px; }
    .footer-links a { margin: 0 12px; }
}

/* 랜딩페이지 콘텐츠 영역 */
.landing-content {
    width: 100%;
    padding: 20px 0 50px 0; /* 위아래 여백 */
    background-color: #fff; /* 배경색 (이미지랑 맞게 조정 가능) */
}

/* 이미지 감싸는 박스 */
.landing-item {
    width: 100%;
    margin-bottom: 0; /* 이미지 사이 틈 없애기 (이어지는 느낌) */
    /* 만약 이미지 사이에 간격을 주고 싶으면 margin-bottom: 20px; 로 수정 */
}

/* 이미지 자체 스타일 (핵심) */
.landing-item img {
    display: block;       /* 이미지 하단 미세한 공백 제거 */
    width: 100%;          /* 부모 넓이에 꽉 차게 */
    height: auto;         /* 비율 유지 */
    max-width: 800px;     /* PC에서 너무 거대해지는 것 방지 (원하는 대로 조절) */
    margin: 0 auto;       /* PC에서 중앙 정렬 */
    border-radius: 8px;   /* 모서리 살짝 둥글게 (선택사항) */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* 살짝 그림자 줘서 입체감 (선택사항) */
}

/* 하단 풀사이즈 버튼 (모바일 최적화) */
.landing-bottom-btn {
    text-align: center;
    margin-top: 30px;
    padding: 0 15px; /* 좌우 여백 */
}

.btn-call.full-width {
    display: block;
    width: 100%;
    max-width: 800px; /* 이미지랑 폭 맞춤 */
    margin: 0 auto;
    text-align: center;
    padding: 15px 0;
    font-size: 1.2rem;
    background-color: #2ecc71; /* 전화 버튼 색상 */
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}