/* Contact Page Styles - New Design with Two-Column Layout */

@font-face {
    font-family: 'SEBANG Gothic';
    src: url('../fonts/SEBANG_Gothic_Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SEBANG Gothic';
    src: url('../fonts/SEBANG_Gothic_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SEBANG_Gothic_Bold';
    src: url('../fonts/SEBANG_Gothic_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.main-content {
    background: #191919;
    min-height: 100vh;
    padding-top: 0;
}



.contact-cta-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.contact-cta-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--price-section-background, #F8F9FA);
    font-family: 'SUIT', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
}

.contact-cta-open {
    align-self: flex-start;
    padding: 12px 28px;
    border-radius: 999px;
    border: 2px solid #ffef43;
    background: transparent;
    color: #ffef43;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-cta-open:hover {
    background: #ffef43;
    color: #1a1a1a;
}

/* Left Side - LET'S TALK */
.lets-talk-wrapper {
    transition: transform 0.3s ease;
    text-align: left;
    vertical-align: top;
    width: 40vw;
    position: relative;
    z-index: 0;
}

.contact-intro-text {
    font-family: 'SUIT', sans-serif;
    font-size: clamp(20px, 2.5vw, 35px);
    line-height: 1.4;
    color: var(--price-section-background, #F8F9FA);
    margin: 0 0 10px 0;
}

.contact-intro-text .text-bold {
    font-weight: 700;
}

.contact-intro-text .text-normal {
    font-weight: 400;
}

/* LET'S TALK Content */
.lets-talk-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    pointer-events: none;
}

/* LET'S 라인 */
.lets-talk-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    width: 100%;
    pointer-events: none;
}

.lets-text {
    font-family: 'SUIT', sans-serif;
    font-weight: 900;
    font-size: clamp(80px, 12vw, 347px);
    color: var(--price-section-background, #F8F9FA);
    line-height: 0.85;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    display: flex;
    pointer-events: none;
}

.lets-text-svg {
    width: 40vw;
    height: auto;
    display: block;
    pointer-events: none;
}

.talk-text {
    font-family: 'SUIT', sans-serif;
    font-weight: 900;
    font-size: clamp(80px, 12vw, 347px);
    color: var(--price-section-background, #F8F9FA);
    line-height: 0.85;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    display: flex;
}

.letter {
    display: inline-block;
    line-height: 1;
}


/* GO Button */
.go-badge-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 40px;
}




/* Right Side - Contact Form */
.contact-form-container {
    flex: 1;
    background: #f8f9fa;
    border: 2px solid #1a1a1a;
    max-height: 85vh;
    border-radius: 0;
    padding: 35px;
    box-sizing: border-box;
    border-radius: 18px;
    box-shadow: 4px 7px 0px #191919;
    text-align: left;
    position: relative;
    z-index: 1;
    overflow-y: auto;
}

.sentence-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.form-sentence {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5px;
    align-items: center;
}

/* 연락처 form-sentence는 줄바꿈 허용 */
.form-sentence-contact {
    flex-wrap: wrap;
}

.contact-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    align-items: center;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.sentence-text {
    font-family: 'SUIT', sans-serif;
    font-weight: 800;
    font-size: clamp(14px, 2vw, 20px);
    color: #2c2c2c;
    line-height: 1.25;
    letter-spacing: -0.75px;
}

.input-container {
    display: inline-flex;
    position: relative;
}

.input-container input {
    font-family: 'SUIT', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #1a1a1a;
    background: #ffffff;
    border: 2px solid #2c2c2c;
    padding: 10px;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
}

.input-container input:focus {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.input-container input::placeholder {
    color: #c4c4c4;
    font-weight: 500;
    font-size: 15px;
}

/* 담당자명 입력 필드 최대 넓이 제한 */
.input-container input[name="contactPerson"] {
    max-width: 180px;
}

/* 이메일 입력 필드 */
.input-container input[name="email"] {
}

/* Reference Sites */
.reference-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.reference-sites-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.reference-site-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reference-site-input input {
    font-family: 'SUIT', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #1a1a1a;
    background: #ffffff;
    border: 2px solid #2c2c2c;
    padding: 10px 20px;
    border-radius: 10px;
    outline: none;
    flex: 1;
}

.add-reference-btn,
.remove-reference-btn {
    width: 35px;
    height: 35px;
    border: 2px solid #1a1a1a;
    background: #FFEF43;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.remove-reference-btn {
    background: #fff;
}

.add-reference-btn:hover,
.remove-reference-btn:hover {
    transform: scale(1.1);
}

/* Detail Section */
.form-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-text {
    font-family: 'SUIT', sans-serif;
    font-weight: 800;
    font-size: clamp(14px, 2vw, 20px);
    color: #2c2c2c;
    letter-spacing: -0.75px;
}

.textarea-container textarea {
    width: 100%;
    min-height: 200px;
    font-family: 'SUIT', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #1a1a1a;
    background: #f8f9fa;
    border: 2px solid #2c2c2c;
    padding: 20px;
    border-radius: 10px;
    outline: none;
    resize: vertical;
    box-sizing: border-box;
}

.textarea-container textarea:focus {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.textarea-container textarea::placeholder {
    color: #cccccc;
    font-size: clamp(14px, 2vw, 20px);
    letter-spacing: -0.6px;
}

/* Submit Section */
.form-submit-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    width: 100%;
}

.privacy-agreement {
    display: flex;
    align-items: center;
}

.privacy-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.privacy-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #FFEF43;
}

.privacy-text {
    font-family: 'SUIT', sans-serif;
    font-weight: 400;
    font-size: clamp(12px, 1.3vw, 16px);
    color: #1a1a1a;
}

.privacy-view-btn {
    background: none;
    border: none;
    color: #1a1a1a;
    text-decoration: underline;
    cursor: pointer;
    font-family: 'SUIT', sans-serif;
    font-size: clamp(12px, 1.3vw, 16px);
    padding: 0;
    margin-left: 5px;
}

.submit-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 35px;
    width: auto;
    min-width: 150px;
    height: 50px;
    background: rgba(255, 239, 67, 0.87);
    border: 2px solid #191919;
    text-align: center;
    border-radius: 10px;
    flex: none;
    flex-shrink: 0;
    font-family: 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #2c2c2c;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.48px;
    justify-content: center;
}

.submit-btn:hover:not(:disabled) {
    box-shadow: 4px 7px 0px #191919;
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    max-width: 300px;
}

/* 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .contact-cta-container {
        flex-direction: column;
        gap: 50px;
    }

    .lets-talk-wrapper,
    .contact-form-container,
    .contact-cta-placeholder {
        width: 100%;
    }

    .contact-intro-text {
        font-size: clamp(20px, 2.5vw, 40px);
        margin-bottom: 30px;
    }

    .lets-text,
    .talk-text {
        font-size: clamp(70px, 10vw, 280px);
    }

    .star-icon {
        font-size: clamp(50px, 7vw, 200px);
    }


    .contact-form-container {
        padding: 30px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {

    .contact-cta-section {
        flex-direction: column;
    }
    .lets-text img{
        width: 100vw;
    }

    .contact-cta-container {
        margin: 0;
        flex-direction: column;
        gap: 40px;
    }

    .lets-talk-wrapper {
        width: 100%;
    }

    .contact-intro-text {
        font-size: clamp(18px, 4vw, 32px);
        margin-bottom: 0px;
    }

    .lets-talk-content {
        align-items: flex-start;
    }

    .lets-talk-line {
        flex-wrap: wrap;
    width: 100%;
    }

    .lets-text,
    .talk-text {
        font-size: clamp(60px, 15vw, 200px);
    }

    .star-icon {
        font-size: clamp(40px, 10vw, 150px);
    }

    .go-badge-container {
        margin-top: 30px;
    }


    .contact-form-container {
        padding: 25px;
    }

    .sentence-text,
    .input-container input,
    .detail-text {
        font-size: 16px;
    }

    .textarea-container textarea {
        font-size: 15px;
        min-height: 120px;
    }

    .textarea-container textarea::placeholder {
        font-size: 16px;
    }

    .form-submit-section {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
    }
}

/* 반응형 - 초소형 모바일 */
@media (max-width: 480px) {

    .contact-intro-text {
        font-size: clamp(16px, 5vw, 28px);
    }

    .lets-text,
    .talk-text {
        font-size: clamp(50px, 18vw, 150px);
    }

    .star-icon {
        font-size: clamp(35px, 12vw, 120px);
    }


    .contact-form-container {
        padding: 20px;
    }

    .contact-modal__panel .contact-form-container {
        padding: 15px;
        gap: 5px;
    }

    .sentence-text,
    .input-container input,
    .detail-text {
        font-size: 14px;
    }

    .sentence-text {
        white-space: nowrap;
    }

    .input-container input {
        padding: 6px 12px;
    }

    .input-container input[name="email"] {
    }

    .reference-site-input input {
    }

    .reference-wrapper {
        justify-content: center;
    }

    .detail-text {
        font-size: 15px;
    }

    .textarea-container textarea {
        font-size: 14px;
        min-height: 100px;
        padding: 12px;
    }

    .textarea-container textarea::placeholder {
        font-size: 14px;
    }

    .add-reference-btn,
    .remove-reference-btn {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .submit-btn {
        padding: 10px 25px;
        font-size: 16px;
    }

    .privacy-text,
    .privacy-view-btn {
        font-size: 12px;
    }
}

/* 360px 이하 초소형 모바일 */
@media (max-width: 360px) {
    .contact-modal__panel .contact-form-container {
        padding: 15px;
        gap: 5px;
    }

    .sentence-text {
        white-space: nowrap;
    }

    .input-container input[name="email"] {
    }

    .reference-site-input input {
    }

    .reference-wrapper {
        justify-content: center;
    }

    .detail-text {
        font-size: 15px;
    }
}

/* 애니메이션 효과 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* 호버 시 별 회전 효과 */


/* Privacy Modal Styles */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.privacy-modal.show {
    opacity: 1;
}

.privacy-modal-content {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: #191919 2px solid;
    box-shadow: 4px 7px 0px #191919;
}

.privacy-modal.show .privacy-modal-content {
    transform: translateY(0);
}

.privacy-modal-header {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privacy-modal-header h2 {
    font-family: 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #1a1a1a;
    margin: 0;
}

.privacy-modal-close {
    background: none;
    border: none;
    font-size: 36px;
    color: #1a1a1a;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-modal-body {
    padding: 10px 30px 30px 30px;
    overflow-y: auto;
    color: #1a1a1a;
}

.privacy-intro {
    font-family: 'SUIT', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.privacy-section {
    margin-bottom: 30px;
}

.privacy-section h3 {
    font-family: 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #1a1a1a;
}

.privacy-section p {
    font-family: 'SUIT', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #1a1a1a;
}

.privacy-section ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.privacy-section li {
    font-family: 'SUIT', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #1a1a1a;
    padding-left: 20px;
    position: relative;
}

.privacy-section li:before {
    content: "•";
    position: absolute;
    left: 0;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border: 2px solid #1a1a1a;
    margin-top: 15px;
}

.contact-info h4 {
    font-family: 'SUIT', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    font-family: 'SUIT', sans-serif;
    font-size: 15px;
}

.contact-label {
    font-weight: 700;
    color: #1a1a1a;
}

.contact-value {
    font-weight: 400;
    color: #1a1a1a;
}

/* ===== Contact CTA Section Styles (from contact-cta.css) ===== */

/* Contact CTA Section - New Two-Column Layout */
.contact-cta-section {
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 20px 80px 20px;
    position: relative;
    z-index: 10;
    gap:50px;
    margin: 0;
    box-sizing: border-box;
}

/* 모달 내부의 contact-cta-section - 패딩 제거 */
.contact-modal__panel .contact-cta-section {
    padding: 0 ;
    gap: 0 ;
    display: block ;
}

/* 모달 내부의 contact-cta-container */
.contact-modal__panel .contact-cta-container {
    max-width: 100% ;
    margin: 0 ;
    gap: 0 ;
    display: block ;
}

/* 모달 내부의 contact-form-container */
.contact-modal__panel .contact-form-container {
    flex: none ;
    width: 100% ;
    background: #f8f9fa ;
    padding: 35px ;
    box-shadow: 4px 7px 0px #191919 ;
    overflow-y: auto ;
    overflow-x: hidden ;
}

/* 모달 내부의 sentence-form - 줄바꿈 허용 */
.contact-modal__panel .sentence-form {
    flex-wrap: wrap;
}

/* 모달 내부의 form-sentence - 줄바꿈 허용하여 모달 밖으로 나가지 않게 */
.contact-modal__panel .form-sentence {
    flex-wrap: wrap;
}

/* 모달 내부의 contact-group - 좁아지면 마지막 요소부터 아래로 줄바꿈 */
.contact-modal__panel .contact-group {
    flex-wrap: wrap ;
    width: 100%;
}

/* 모달 내부의 form-sentence-contact - 세로 배치로 변경 */
.contact-modal__panel .form-sentence-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* 모달 내부의 contact-group 요소들 - 역순으로 배치 (마지막이 먼저 보이도록) */
.contact-modal__panel .form-sentence-contact .contact-group {
    order: 1;
    width: 100%;
}

.contact-modal__panel .form-sentence-contact .contact-group:last-child {
    order: 0;
}




.detail-text {
    font-family: 'SUIT', sans-serif;
    font-weight: 800;
    font-size: clamp(14px, 2vw, 20px);
    color: #2c2c2c;
    letter-spacing: -0.75px;
}

.textarea-container {
    width: 100%;
}


/* 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .contact-cta-section {
        flex-direction: column;
    }

    .contact-cta-container {
        flex-direction: column;
        gap: 50px;
    }

    .lets-talk-wrapper,
    .contact-form-container {
        width: 100%;
    }

    .contact-intro-text {
        font-size: clamp(20px, 2.5vw, 40px);
        margin-bottom: 30px;
    }

    .lets-text,
    .talk-text {
        font-size: clamp(70px, 10vw, 280px);
    }

    .star-icon {
        font-size: clamp(50px, 7vw, 200px);
    }


    .contact-form-container {
        padding: 30px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {

    .contact-cta-section {
        flex-direction: column;
    }

    .contact-cta-container {
        flex-direction: column;
        gap: 40px;
    }

    .lets-talk-wrapper {
        width: 100%;
    }

    .contact-cta-placeholder {
        width: 100%;
    }

    .contact-intro-text {
        font-size: clamp(18px, 4vw, 32px);
        margin-bottom: 20px;
    }

    .lets-talk-content {
        align-items: flex-start;
    }

    .lets-talk-line {
        flex-wrap: wrap;
    width: 100%;
    }

    .lets-text,
    .talk-text {
        font-size: clamp(60px, 15vw, 200px);
    }

    .star-icon {
        font-size: clamp(40px, 10vw, 150px);
    }

    .go-badge-container {
        margin-top: 30px;
    }


    .contact-form-container {
        padding: 25px;
    }

    .sentence-text,
    .input-container input,
    .detail-text {
        font-size: 16px;
    }

    .textarea-container textarea {
        font-size: 15px;
        min-height: 120px;
    }

    .textarea-container textarea::placeholder {
        font-size: 16px;
    }

    .form-submit-section {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
    }
}

/* 반응형 - 초소형 모바일 */
@media (max-width: 480px) {

    .contact-intro-text {
        font-size: clamp(16px, 5vw, 28px);
    }

    .lets-text,
    .talk-text {
        font-size: clamp(50px, 18vw, 150px);
    }

    .star-icon {
        font-size: clamp(35px, 12vw, 120px);
    }


    .contact-form-container {
        padding: 20px;
    }

    .contact-modal__panel .contact-form-container {
        padding: 15px;
        gap: 5px;
    }

    .sentence-text,
    .input-container input,
    .detail-text {
        font-size: 14px;
    }

    .sentence-text {
        white-space: nowrap;
    }

    .input-container input {
        padding: 6px 12px;
    }

    .input-container input[name="email"] {
    }

    .reference-site-input input {
    }

    .reference-wrapper {
        justify-content: center;
    }

    .detail-text {
        font-size: 15px;
    }

    .textarea-container textarea {
        font-size: 14px;
        min-height: 100px;
        padding: 12px;
    }

    .textarea-container textarea::placeholder {
        font-size: 14px;
    }

    .add-reference-btn,
    .remove-reference-btn {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .submit-btn {
        padding: 10px 25px;
        font-size: 16px;
    }

    .privacy-text,
    .privacy-view-btn {
        font-size: 12px;
    }
}

/* 360px 이하 초소형 모바일 */
@media (max-width: 360px) {
    .contact-modal__panel .contact-form-container {
        padding: 15px;
        gap: 5px;
    }

    .sentence-text {
        white-space: nowrap;
    }

    .input-container input[name="email"] {
    }

    .reference-site-input input {
    }

    .reference-wrapper {
        justify-content: center;
    }

    .detail-text {
        font-size: 15px;
    }
}

/* 애니메이션 효과 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* 호버 시 별 회전 효과 */


/* Privacy Checkbox */
.privacy-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.privacy-checkbox input[type='checkbox'] {
    width: 20px;
    height: 20px;
    border: 2px solid #2c2c2c;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.privacy-checkbox label {
    font-family: 'SUIT', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #2c2c2c;
    letter-spacing: -0.42px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.privacy-checkbox .privacy-link {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: -0.42px;
}
.contact-title {
    color: var(--price-section-background, #F8F9FA);
}

.contact-title h2,
.contact-title .fade-in-text {
    color: inherit;
}
