/* ===============================
   Contact - Premium Clean Style
================================= */

.contact-wrap{
    max-width: 1280px;
    margin: 80px auto;
    padding: 0 10px;
}

.page-title{
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
    text-align: center;
}

/* ===============================
   Form Layout
================================= */

.contact-form{
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 44px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.contact-form:hover{
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.field input:hover,
.field textarea:hover,
.field select:hover{
    border-color: #bbb;
}

/* ===============================
   Button
================================= */

.button-wrap{
    margin-top: 10px;
}

.btn-primary{
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    transition: all .25s ease;
}

.btn-primary:hover{
    background: #333;
    transform: translateY(-1px);
}

/* ===============================
   Alert
================================= */

.alert{
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.alert.success{
    background: #f4f8f6;
    border: 1px solid #d6e6de;
    color: #2d6a4f;
}

.alert.error{
    background: #fff5f5;
    border: 1px solid #f0d0d0;
    color: #c53030;
}
.marketing-check label,
.privacy-check label{
    display:flex;
    align-items:flex-start;
    gap:10px;
    line-height:1.6;
}

.marketing-check input,
.privacy-check input{
    margin-top:3px;
    flex-shrink:0;
}
/* ===============================
   Mobile
================================= */

@media (max-width: 768px){

    .contact-wrap{
        margin: 40px auto;
    }

    .contact-form{
        padding: 0px;
		background:transparent;
		border:none;
    }

    .page-title{
        font-size: 22px;
        margin-bottom: 24px;
    }
	.field label{
		display: block;
		font-size: 14px;
		font-weight: bold;
		color: #666;
		margin: 0 0 8px 10px;
		letter-spacing: .3px;
	}
	.site-check{
		padding:8px !important;
	}
}
/* ===============================
   Success Modal
================================= */

.modal-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.modal-overlay.active{
    opacity: 1;
    pointer-events: all;
}

.modal-box{
    background: #fff;
    padding: 40px 30px;
    border-radius: 14px;
    text-align: center;
    width: 90%;
    max-width: 360px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    animation: modalPop .25s ease;
}

.modal-icon{
    font-size: 28px;
    color: #111;
    margin-bottom: 14px;
}

.modal-box h3{
    font-size: 18px;
    margin-bottom: 10px;
}

.modal-box p{
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

@keyframes modalPop{
    from{
        transform: translateY(10px);
        opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}
/* ===============================
   Select
================================= */

.field select{
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fafafa;
    transition: all .2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;

    /* 커스텀 화살표 */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='14' height='10' viewBox='0 0 14 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23666' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
}

.field select:focus{
    background-color: #fff;
    border-color: #111;
    outline: none;
}
.field select option:checked{
    font-weight: 600;
}
/* ===============================
   Contact Intro Premium Cards
================================= */

.contact-intro{
    margin-bottom: 50px;
}

/* 상단 안내 박스 */

.contact-intro-box{
    background: #f8f9fb;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

.contact-lead{
    font-size: 27px;
    color: #444;
}
.contact-note-box p{
	font-size:18px;
}
/* 절차 카드 */

.contact-steps{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.step-card{
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all .25s ease;
}

.step-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.step-card h4{
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.step-card p{
    font-size: 13px;
    color: #777;
}

.step-number{
    width: 38px;
    height: 38px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 하단 안내 박스 */

.contact-note-box{
    background: #fafafa;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

/* 모바일 */

@media (max-width: 768px){

    .contact-steps{
        grid-template-columns: 1fr;
    }

    .contact-intro-box,
    .contact-note-box{
        padding: 18px;
    }

}

.privacy-box{
    background:#fafafa;
    border:1px solid #eee;
    border-radius:12px;
    padding:20px;
    margin-bottom:20px;
    font-size:13px;
    color:#666;
    line-height:1.6;
}

.privacy-text strong{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    color:#111;
}

.privacy-check{
    margin-top:10px;
    font-size:13px;
}

.privacy-check input{
    margin-right:6px;
}
/* ===============================
   Contact Hero (상단 타이틀 영역)
================================= */

.contact-hero{
	width: 100%;
    height: 450px;
    position: relative;
    background-image: url(/assets/images/contact-hero.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}
.contact-hero__inner{
	color:#fff;
}
.contact-hero__inner h1{
    font-size:48px;
    font-weight:700;
    margin-bottom:10px;
	position:relative;
	z-index:2;
	text-align:center;
}

.contact-hero__inner p{
    font-size:14px;
	text-align:center;
	position:relative;
	z-index:2;
}
.marketing-box{
    margin-bottom:15px;
    padding:15px;
    border:1px solid #e5e5e5;
    background:#fafafa;
    border-radius:6px;
}

.marketing-text{
    font-size:14px;
    color:#444;
    margin-bottom:10px;
}

.marketing-check{
    font-size:14px;
}
/* ===============================
   Mobile
================================= */

@media (max-width: 768px){
	.contact-hero{
		height:220px;
	}
	.contact-hero{
		background-position:right;
	}
	.contact-hero__inner h1{
		font-size:28px;
	}
	.contact-lead{
		font-size:18px;
		word-break:keep-all;
		line-height:1.8;
	}
	.contact-note-box p{
		font-size:14px;
		word-break:keep-all;
	}
	.step-card h4{
		font-size:24px;
	}
	.marketing-text{
		font-size:14px;
	}
	.marketing-text p,
	.marketing-check{
        font-size:13px;
        word-break: keep-all;
		color:#666;
    }
	.marketing-check input,
	.privacy-check input{
		font-size:12px;
	}
}
