@charset "UTF-8";

/* =============================== */
/* Page Base                       */
/* =============================== */
.contact-page {
    padding: 220px 0 140px;
    background: #fff;
    min-height: 100vh;
}

/* =============================== */
/* Section Header                  */
/* =============================== */
.ct-header {
    margin-bottom: 80px;
}

.ct-title {
    font-size: 92px;
    font-weight: 600;
    color: #1f1f1f;
    line-height: 1;
    margin-bottom: 32px;
}

.ct-desc {
    font-size: 20px;
    font-weight: 400;
    color: rgba(35, 35, 35, 0.6);
    line-height: 1.7;
}

/* =============================== */
/* Form Layout                     */
/* =============================== */
.ct-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(35, 35, 35, 0.5);
}

.ct-row {
    display: flex;
    border-bottom: 1px solid rgba(35, 35, 35, 0.5);
}

.ct-row.full .ct-group {
    width: 100%;
}

.ct-row.half .ct-group {
    flex: 1;
}

.ct-row.half .ct-group:first-child {
    border-right: 1px solid rgba(35, 35, 35, 0.5);
}

/* =============================== */
/* Form Group                      */
/* =============================== */
.ct-group {
    display: flex;
    align-items: stretch;
}

.ct-group > label {
    width: 160px;
    flex-shrink: 0;
    padding: 28px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #232323;
    border-right: 1px solid rgba(35, 35, 35, 0.5);
    display: flex;
    align-items: center;
    background: rgba(35, 35, 35, 0.03);
}

.ct-group > label .required {
    color: #c9a96e;
    margin-left: 3px;
}

.ct-group .ct-input,
.ct-group .ct-select,
.ct-group .ct-textarea {
    flex: 1;
}

/* =============================== */
/* Input Fields                    */
/* =============================== */
.ct-input,
.ct-select,
.ct-textarea {
    width: 100%;
    padding: 28px 24px;
    background: #fff;
    border: none;
    font-family: 'Pretendard', sans-serif;
    font-size: 15px;
    color: #232323;
    outline: none;
    transition: background 0.2s;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
    color: rgba(35, 35, 35, 0.35);
}

.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
    background: rgba(35, 35, 35, 0.03);
}

/* Select */
.ct-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23232323' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 24px center;
    background-size: 12px 8px;
    padding-right: 52px;
}

.ct-select option {
    background: #fff;
    color: #232323;
}

/* Textarea */
.ct-textarea {
    resize: vertical;
    min-height: 200px;
    line-height: 1.7;
}

/* =============================== */
/* Privacy Group                   */
/* =============================== */
.ct-group.privacy-group {
    flex-direction: column;
    align-items: stretch;
}

.ct-group.privacy-group > label {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(35, 35, 35, 0.5);
    padding: 20px 24px;
}

.ct-privacy {
    padding: 28px 24px;
}

.ct-privacy-content {
    padding: 20px 24px;
    background: rgba(35, 35, 35, 0.03);
    border: 1px solid rgba(35, 35, 35, 0.5);
    border-radius: 4px;
    margin-bottom: 20px;
    max-height: 180px;
    overflow-y: auto;
}

.ct-privacy-content p {
    font-size: 14px;
    color: rgba(35, 35, 35, 0.7);
    line-height: 1.7;
    margin-bottom: 12px;
}

.ct-privacy-content p:last-child {
    margin-bottom: 0;
}

.ct-privacy-content ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.ct-privacy-content ul li {
    font-size: 13px;
    color: rgba(35, 35, 35, 0.6);
    line-height: 1.8;
    list-style: disc;
}

/* Privacy Scrollbar */
.ct-privacy-content::-webkit-scrollbar {
    width: 4px;
}

.ct-privacy-content::-webkit-scrollbar-track {
    background: rgba(35, 35, 35, 0.05);
}

.ct-privacy-content::-webkit-scrollbar-thumb {
    background: rgba(35, 35, 35, 0.2);
    border-radius: 2px;
}

/* =============================== */
/* Checkbox                        */
/* =============================== */
.ct-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ct-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(35, 35, 35, 0.5);
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}

.ct-checkbox input[type="checkbox"]:checked {
    background: #232323;
    border-color: #232323;
}

.ct-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 11px;
    height: 11px;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='8' viewBox='0 0 11 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L4 7L10 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.ct-checkbox label {
    font-size: 14px;
    color: #232323;
    cursor: pointer;
}

/* =============================== */
/* Submit Button                   */
/* =============================== */
.ct-submit-row {
    border-bottom: none;
    padding: 48px 0 0;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 56px;
    background: #232323;
    border: 1px solid #232323;
    border-radius: 4px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s;
    letter-spacing: 0.02em;
}

.btn-submit:hover {
    background: #fff;
    color: #232323;
}

.btn-submit:active {
    transform: scale(0.98);
}

/* =============================== */
/* Responsive                      */
/* =============================== */
@media (max-width: 1200px) {
    .contact-page {
        padding-top: 160px;
    }

    .ct-title {
        font-size: 64px;
    }
}

@media (max-width: 1024px) {
    .contact-page {
        padding: 130px 0 100px;
    }

    .ct-title {
        font-size: 54px;
        margin-bottom: 24px;
    }

    .ct-desc {
        font-size: 17px;
    }

    .ct-header {
        margin-bottom: 60px;
    }

    .ct-row.half {
        flex-direction: column;
    }

    .ct-row.half .ct-group:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(35, 35, 35, 0.5);
    }

    .ct-group > label {
        width: 130px;
        font-size: 14px;
        padding: 22px 18px;
    }

    .ct-input,
    .ct-select,
    .ct-textarea {
        padding: 22px 18px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .contact-page {
        padding: 100px 0 80px;
    }

    .ct-title {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .ct-header {
        margin-bottom: 40px;
    }

    .ct-desc {
        font-size: 15px;
    }

    .ct-group {
        flex-direction: column;
    }

    .ct-group > label {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(35, 35, 35, 0.5);
        padding: 14px 18px;
        font-size: 13px;
    }

    .ct-row.half .ct-group:first-child {
        border-right: none;
    }

    .ct-input,
    .ct-select,
    .ct-textarea {
        padding: 18px;
        font-size: 14px;
    }

    .ct-select {
        background-position: right 18px center;
        padding-right: 44px;
    }

    .ct-textarea {
        min-height: 160px;
    }

    .ct-privacy {
        padding: 20px 18px;
    }

    .ct-privacy-content {
        padding: 16px 18px;
    }

    .ct-submit-row {
        padding: 36px 0 0;
    }

    .btn-submit {
        width: 100%;
        height: 52px;
        font-size: 15px;
    }
}
