.fw100{font-weight:100;}
.fw200{font-weight:200;}
.fw300{font-weight:300;}
.fw400{font-weight:400;}
.fw500{font-weight:500;}
.fw600{font-weight:600;}
.fw700{font-weight:700;}
.fw800{font-weight:800;}
.fw900{font-weight:900;}

html, body{
    margin:0;
    padding:0;
    font-family:'Pretendard','Noto Sans KR','Malgun Gothic','Apple SD Gothic Neo',sans-serif;
    font-weight:400;
    font-size:16px;
    line-height:1.7;
    letter-spacing:-0.02em;
    word-break:keep-all;
    color:#222;
    overflow-x:hidden;
}

a{
    color:inherit;
}

img{
    max-width:100%;
    height:auto;
}

h1,h2,h3,h4,h5,h6{
    font-family:'Noto Serif KR',serif;
    font-weight:700;
    letter-spacing:-0.03em;
    margin-top:0;
}

body.menu_open{
    overflow:hidden;
    height:100dvh;
}

/* header */
.site_header{
    position:sticky;
    top:0;
    left:0;
    z-index:1000;
    width:100%;
    background:rgba(255,255,255,0.96);
    border-bottom:1px solid rgba(15,35,65,0.08);
    backdrop-filter:blur(8px);
}

.site_header.is_main{
    background:rgba(255,255,255,0.92);
}

.site_header_inner{
    max-width:1400px;
    margin:0 auto;
    padding:0 20px;
    min-height:86px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    box-sizing:border-box;
}

.site_logo{
    margin:0;
    font-size:28px;
    line-height:1;
}

.site_logo a{
    text-decoration:none;
    color:#0f2341;
}

.site_nav ul{
    display:flex;
    align-items:center;
    gap:34px;
    margin:0;
    padding:0;
    list-style:none;
}

.site_nav a{
    display:block;
    padding:8px 0;
    color:#17273f;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
}

.site_nav a:hover{
    color:#b08b57;
}

.nav_toggle{
    display:none;
    width:46px;
    height:46px;
    padding:0;
    border:1px solid #d8dde5;
    border-radius:6px;
    background:#fff;
    cursor:pointer;
}

.nav_toggle span{
    display:block;
    width:20px;
    height:2px;
    margin:4px auto;
    background:#0f2341;
}

/* footer */
.site_footer{
    background:#0f1726;
    color:rgba(255,255,255,0.8);
}

.site_footer_inner{
    max-width:1400px;
    margin:0 auto;
    padding:60px 20px;
    box-sizing:border-box;
}

.site_footer_top{
    display:flex;
    justify-content:space-between;
    gap:40px;
    padding-bottom:30px;
    margin-bottom:30px;
    border-bottom:1px solid rgba(255,255,255,0.1);
}

.footer_name{
    display:block;
    margin-bottom:14px;
    font-size:28px;
    color:#fff;
}

.footer_text,
.site_footer_bottom p{
    margin:0 0 8px;
    font-size:15px;
    line-height:1.8;
}

.footer_links{
    display:flex;
    flex-wrap:wrap;
    gap:14px 22px;
    align-content:flex-start;
}

.footer_links a{
    color:#fff;
    text-decoration:none;
    font-size:15px;
}

.copy{
    margin-top:14px;
    color:rgba(255,255,255,0.55);
}

/* main common */
.main_wrap{
    width:100%;
    overflow:hidden;
    color:#222;
    background:#fff;
}

.main_inner{
    width:100%;
    max-width:1400px;
    margin:0 auto;
    padding:0 20px;
    box-sizing:border-box;
}

.main_section{
    padding:100px 0;
}

.main_title{
    margin-bottom:18px;
    font-size:42px;
    line-height:1.35;
    font-weight:700;
    color:#111;
    letter-spacing:-0.03em;
}

.main_desc{
    font-size:18px;
    line-height:1.8;
    color:#666;
}

.section_label{
    display:inline-block;
    margin-bottom:14px;
    font-size:14px;
    font-weight:700;
    color:#b08b57;
    letter-spacing:0.08em;
    text-transform:uppercase;
}

.section_head{
    margin-bottom:50px;
}

.btn_group{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:30px;
}

.btn_group_center{
    justify-content:center;
    margin-top:40px;
}

.btn_main{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:180px;
    padding:16px 28px;
    border-radius:4px;
    text-align:center;
    font-size:16px;
    font-weight:600;
    text-decoration:none;
    box-sizing:border-box;
    transition:all .2s ease;
}

.btn_main.primary{
    background:#0f2341;
    color:#fff;
    border:1px solid #0f2341;
}

.btn_main.primary:hover{
    background:#142c52;
    border-color:#142c52;
}

.btn_main.outline{
    background:#fff;
    color:#0f2341;
    border:1px solid #0f2341;
}

.btn_main.outline:hover{
    background:#f6f8fb;
}

/* visual */
.hero_section{
    position:relative;
    width:100%;
    min-height:780px;
    display:flex;
    align-items:center;
    background:var(--hero-bg) no-repeat center center / cover;
}

.hero_overlay{
    position:absolute;
    inset:0;
    background:rgba(8,18,35,0.55);
}

.hero_inner{
    position:relative;
    z-index:2;
    width:100%;
    max-width:1400px;
    margin:0 auto;
    padding:140px 20px;
    box-sizing:border-box;
}

.hero_text{
    max-width:760px;
    color:#fff;
}

.hero_sub{
    display:inline-block;
    margin-bottom:18px;
    font-size:15px;
    font-weight:600;
    color:#d7b98a;
    letter-spacing:0.08em;
}

.hero_title{
    margin:0 0 24px;
    font-size:56px;
    line-height:1.3;
    font-weight:700;
    letter-spacing:-0.04em;
    color:#fff;
}

.hero_desc{
    font-size:19px;
    line-height:1.9;
    color:rgba(255,255,255,0.88);
}

/* service */
.service_grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:30px;
}

.service_card{
    background:#fff;
    border:1px solid #e8e8e8;
    padding:40px 34px;
    box-sizing:border-box;
    transition:all .2s ease;
}

.service_card:hover{
    border-color:#d4c1a3;
    box-shadow:0 16px 40px rgba(0,0,0,0.06);
}

.service_icon{
    width:64px;
    height:64px;
    margin-bottom:22px;
    background:#f5f1ea;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    color:#0f2341;
    font-weight:700;
}

.service_tit{
    margin-bottom:14px;
    font-size:28px;
    font-weight:700;
    color:#111;
}

.service_txt{
    min-height:88px;
    font-size:16px;
    line-height:1.8;
    color:#666;
}

.service_link{
    display:inline-block;
    margin-top:22px;
    font-size:15px;
    font-weight:600;
    color:#0f2341;
    text-decoration:none;
}

/* intro */
.intro_wrap{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:60px;
    align-items:center;
}

.intro_img{
    width:100%;
    min-height:520px;
    background:var(--intro-bg) no-repeat center center / cover;
    border-radius:8px;
}

.intro_box .main_title{
    font-size:40px;
}

/* strength */
.strength_section{
    background:#f8f8f8;
}

.strength_grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:24px;
}

.strength_card{
    background:#fff;
    padding:36px 28px;
    border:1px solid #ececec;
    min-height:250px;
    box-sizing:border-box;
}

.strength_num{
    display:block;
    margin-bottom:18px;
    font-size:15px;
    font-weight:700;
    color:#b08b57;
}

.strength_tit{
    margin-bottom:14px;
    font-size:23px;
    font-weight:700;
    line-height:1.5;
    color:#111;
}

.strength_txt{
    font-size:15px;
    line-height:1.8;
    color:#666;
}

/* posts */
.post_grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:24px;
}

.post_card{
    border-top:2px solid #0f2341;
    background:#fff;
    padding:30px 24px;
    border-right:1px solid #eee;
    border-bottom:1px solid #eee;
    border-left:1px solid #eee;
    box-sizing:border-box;
    min-height:220px;
}

.post_cate{
    display:inline-block;
    margin-bottom:14px;
    font-size:13px;
    font-weight:700;
    color:#b08b57;
}

.post_tit{
    margin-bottom:14px;
    font-size:22px;
    line-height:1.5;
    font-weight:700;
    color:#111;
}

.post_txt{
    font-size:15px;
    line-height:1.8;
    color:#666;
}

/* faq */
.faq_list{
    border-top:1px solid #ddd;
}

.faq_item{
    border-bottom:1px solid #ddd;
    padding:28px 10px;
}

.faq_q{
    margin-bottom:10px;
    font-size:20px;
    font-weight:700;
    color:#111;
}

.faq_a{
    font-size:16px;
    line-height:1.9;
    color:#666;
}

/* cta */
.cta_section{
    position:relative;
    background:var(--cta-bg) no-repeat center center / cover;
}

.cta_section:before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(9,20,39,0.72);
}

.cta_inner{
    position:relative;
    z-index:2;
    text-align:center;
    color:#fff;
}

.cta_title{
    margin-bottom:20px;
    font-size:44px;
    line-height:1.4;
    font-weight:700;
    color:#fff;
}

.cta_desc{
    max-width:820px;
    margin:0 auto;
    font-size:18px;
    line-height:1.9;
    color:rgba(255,255,255,0.86);
}

/* =========================
   네이버 카페 연동 섹션
========================= */
.cafe_section{
    background:#F1F8E9;
}

.cafe_wrap{
    display:grid;
    grid-template-columns:1.2fr 0.8fr;
    gap:40px;
    align-items:center;
}

.cafe_point{
    margin:28px 0 0;
    padding:0;
    list-style:none;
}

.cafe_point li{
    position:relative;
    margin-bottom:12px;
    padding-left:18px;
    font-size:16px;
    line-height:1.8;
    color:#444;
}

.cafe_point li:before{
    content:"";
    position:absolute;
    left:0;
    top:12px;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#b08b57;
}

.cafe_box{
    display:flex;
    justify-content:center;
}

.cafe_card{
    width:100%;
    max-width:420px;
    padding:42px 34px;
    background:#fff;
    border:1px solid #e6ddd0;
    box-shadow:0 18px 40px rgba(0,0,0,0.06);
    box-sizing:border-box;
}

.cafe_card_tit{
    display:block;
    margin-bottom:18px;
    font-size:28px;
    line-height:1.4;
    font-weight:700;
    color:#111;
}

.cafe_card_desc{
    margin-bottom:22px;
    font-size:16px;
    line-height:1.9;
    color:#666;
}

.cafe_link{
    display:inline-block;
    font-size:15px;
    font-weight:700;
    color:#0f2341;
    text-decoration:none;
}

.cafe_link:hover{
    text-decoration:underline;
}

/* 푸터 카페 링크 */
.footer_cafe_link{
    display:inline-block;
    margin-top:10px;
    font-size:15px;
    font-weight:600;
    color:#d7b98a;
    text-decoration:none;
}

.footer_cafe_link:hover{
    color:#fff;
}

/* =========================
   우측 플로팅 버튼
========================= */
.floating_wrap{
    position:fixed;
    right:24px;
    bottom:40px;
    z-index:9999;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.floating_btn{
    width:64px;
    height:64px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    font-weight:700;
    color:#fff;
    text-decoration:none;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
    transition:all .2s ease;
}

/* 상담 */
.floating_btn.consult{
    background:#0f2341;
}

.floating_btn.consult:hover{
    background:#142c52;
}

/* 카페 */
.floating_btn.cafe{
    background:#03c75a; /* 네이버 컬러 */
}

.floating_btn.cafe:hover{
    background:#02b350;
}

/* TOP */
.floating_btn.top_btn{
    background:#666;
    border:none;
    cursor:pointer;
}

.floating_btn.top_btn:hover{
    background:#444;
}
/* 메인 성공사례 노출 3개 */
.success_post_grid{
    align-items:stretch;
}

.success_post_card{
    padding:0;
    overflow:hidden;
    border-top:none;
    box-shadow: 0px 0px 10px #ccc;
    border: 1px solid #ccc;  
    border-radius: 10px;  
}

.success_thumb_link{
    display:block;
    text-decoration:none;
}

.success_thumb{
    position:relative;
    width:100%;
    aspect-ratio:4 / 3;
    overflow:hidden;
    background:#f3efe7;
}

.success_thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.success_thumb_placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:700;
    color:#7c6a49;
}

.success_card_body{
    padding:26px 24px 30px;
}

.success_card_body .post_tit a{
    color:#111;
    text-decoration:none;
}

.success_card_body .post_tit a:hover{
    color:#0f2341;
}

.success_more_link{
    display:inline-block;
    margin-top:14px;
    font-size:15px;
    font-weight:700;
    color:#0f2341;
    text-decoration:none;
}

.success_more_link:hover{
    text-decoration:underline;
}

/* 메인 법률칼럼 노출 3개 */
.column_post_grid{
    align-items:stretch;
}

.column_post_card{
    padding:0;
    overflow:hidden;
    border-top:none;
    box-shadow: 0px 0px 10px #ccc;
    border: 1px solid #ccc;    
    border-radius: 10px;
}

.column_thumb_link{
    display:block;
    text-decoration:none;
}

.column_thumb{
    position:relative;
    width:100%;
    aspect-ratio:4 / 3;
    overflow:hidden;
    background:#f3efe7;
}

.column_thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.column_thumb_placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:700;
    color:#7c6a49;
}

.column_card_body{
    padding:26px 24px 30px;
}

.column_card_body .post_tit a{
    color:#111;
    text-decoration:none;
}

.column_card_body .post_tit a:hover{
    color:#0f2341;
}

.column_more_link{
    display:inline-block;
    margin-top:14px;
    font-size:15px;
    font-weight:700;
    color:#0f2341;
    text-decoration:none;
}

.column_more_link:hover{
    text-decoration:underline;
}

.fa {margin-right:10px !important;}
.sc_foot {margin-bottom:50px;}

/* 반응형 */
/* responsive */
@media (max-width:1200px){
    .service_grid,
    .strength_grid,
    .post_grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .intro_wrap{
        grid-template-columns:1fr;
    }

    .intro_img{
        min-height:420px;
    }

    .hero_title{
        font-size:48px;
    }
}

@media (max-width:992px){
    .site_header_inner{
        min-height:78px;
    }

    .nav_toggle{
        display:inline-block;
        position:relative;
        z-index:1101;
    }

    .site_nav{
        position:fixed;
        top:79px;
        right:-100%;
        width:min(320px, 86vw);
        height:calc(100vh - 79px);
        background:#fff;
        border-left:1px solid #e5e8ee;
        box-shadow:-10px 0 30px rgba(0,0,0,0.08);
        transition:right .25s ease;
        overflow-y:auto;
    }

    .site_header.menu_open .site_nav{
        right:0;
    }

    .site_nav ul{
        display:block;
        padding:20px;
    }

    .site_nav li + li{
        border-top:1px solid #edf0f4;
    }

    .site_nav a{
        padding:16px 4px;
    }

    .site_footer_top{
        flex-direction:column;
    }
    .cafe_wrap{
        grid-template-columns:1fr;
    }

    .cafe_box{
        justify-content:flex-start;
    }

    .cafe_card{
        max-width:100%;
    }
}

@media (max-width:768px){
    .main_section{
        padding:70px 0;
    }

    .hero_section{
        min-height:620px;
    }

    .hero_inner{
        padding:100px 20px;
    }

    .hero_title{
        font-size:36px;
    }

    .hero_desc,
    .main_desc,
    .cta_desc{
        font-size:16px;
    }

    .main_title,
    .intro_box .main_title{
        font-size:30px;
    }

    .service_grid,
    .strength_grid,
    .post_grid{
        grid-template-columns:1fr;
    }

    .service_card,
    .strength_card,
    .post_card{
        padding:28px 22px;
    }

    .service_tit,
    .strength_tit,
    .post_tit,
    .faq_q{
        font-size:20px;
    }

    .cta_title{
        font-size:32px;
    }

    .btn_main{
        width:100%;
        min-width:unset;
    }

    .btn_group{
        gap:10px;
    }

    .intro_img{
        min-height:300px;
    }

    .site_logo{
        font-size:24px;
    }

    .footer_name{
        font-size:24px;
    }
    .cafe_card{
        padding:30px 24px;
    }

    .cafe_card_tit{
        font-size:24px;
    }

    .cafe_point li{
        font-size:15px;
    }
    .floating_wrap{
        right:12px;
        bottom:20px;
    }

    .floating_btn{
        width:52px;
        height:52px;
        font-size:12px;
    }

}

@media (max-width:480px){
    .site_header_inner,
    .main_inner,
    .site_footer_inner{
        padding-left:16px;
        padding-right:16px;
    }
    .site_nav{
        position:absolute !important;
    }
    .hero_title{
        font-size:30px;
    }

    .main_title,
    .intro_box .main_title,
    .cta_title{
        font-size:26px;
    }
    .hero_section{
        background: var(--hero-bg) no-repeat left center / cover;
    }
}
