@charset "utf-8";
/**
 * 관리의 달인 - 서브페이지 (tonature mercury 기반 신규 디자인)
 * 구사이트 내용 + 참조사이트(mercury) 구성. sub.css 미사용.
 */

/* ── 서브 셸 ── */
#wrapper.tong-sub {
    padding-top: 0 !important;
    min-height: 100vh;
    background: #fff;
}

.tong-sub .gc-page-header {
    margin-top: 0;
    padding-top: 80px;
    box-sizing: border-box;
}

.tong-sub .gc-page-desc {
    max-width: 640px;
    margin: 16px auto 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.tong-sub .gc-page-header-cta {
    margin-top: 28px;
}

.tong-sub .gc-page-content {
    padding: 72px 0 96px;
}

.tong-sub #content.tong-content {
    padding: 0;
}

/* ── 공통 콘텐츠 섹션 ── */
.tong-sub #content > section,
.tong-sub #content section {
    margin-bottom: 48px;
}

.tong-sub #content article,
.tong-sub #content .mw1200 {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    float: none !important;
    width: auto !important;
}

.tong-sub #content .left,
.tong-sub #content .right {
    float: none !important;
}

.tong-sub #content h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.tong-sub #content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.tong-sub #content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
}

.tong-sub #content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.tong-sub #content center {
    text-align: center;
}

/* ── 게시판 ── */
.tong-sub #bo_gall,
.tong-sub #bo_list,
.tong-sub #bo_v,
.tong-sub #bo_w,
.tong-sub #faq_wrap {
    max-width: 100%;
    margin: 0;
}

.tong-sub #bo_list table,
.tong-sub .tbl_head01 table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8edf5;
    background: #fff;
    box-shadow: 0 4px 24px rgba(30, 58, 95, 0.06);
}

.tong-sub #bo_list thead th,
.tong-sub .tbl_head01 thead th {
    background: var(--primary-dark) !important;
    color: #fff !important;
    font-weight: 600;
    padding: 14px 12px !important;
    border: none !important;
}

.tong-sub #bo_list tbody td,
.tong-sub .tbl_head01 tbody td {
    padding: 14px 12px !important;
    border-bottom: 1px solid #eef2f7 !important;
    color: var(--gray);
}

.tong-sub #bo_list tbody tr:hover td {
    background: #f8fafc;
}

.tong-sub #bo_list .bo_tit a {
    color: var(--dark) !important;
    font-weight: 500;
}

.tong-sub #bo_list .bo_tit a:hover {
    color: var(--primary) !important;
}

.tong-sub #bo_list a.btn_b02,
.tong-sub #bo_gall a.btn_b02,
.tong-sub #bo_w .btn_submit,
.tong-sub #bo_v a.btn_b02,
.tong-sub .btn_submit {
    background: linear-gradient(135deg, #1e3a5f, #2563eb) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-weight: 600 !important;
    transition: var(--transition);
}

.tong-sub #bo_list a.btn_b02:hover,
.tong-sub #bo_w .btn_submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.tong-sub .pg_wrap {
    margin: 40px 0 20px;
}

.tong-sub .pg_page,
.tong-sub .pg_current {
    border-radius: 8px !important;
    border-color: #dbe4f0 !important;
}

.tong-sub .pg_current {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.tong-sub #bo_v_title .bo_v_tit {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px) !important;
    color: var(--primary-dark) !important;
    border-bottom: 2px solid var(--primary) !important;
    padding-bottom: 16px !important;
}

.tong-sub #bo_v_con {
    padding: 24px 0 !important;
    line-height: 1.85 !important;
}

.tong-sub #bo_gall .gall_li {
    border-radius: 14px !important;
    overflow: hidden;
    border: 1px solid #e8edf5 !important;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.06) !important;
    transition: var(--transition);
    background: #fff;
}

.tong-sub #bo_gall .gall_li:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.12) !important;
}

.tong-sub #faq_wrap .faq_li {
    border: 1px solid #e8edf5 !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.04);
}

.tong-sub #bo_sch {
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e8edf5;
    margin-bottom: 24px;
}

/* ── 데이터랩 폼 ── */
.tong-sub .dataform {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(30, 58, 95, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.tong-sub .dataform .tit_box h2 {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 26px);
    color: var(--primary-dark);
    border: none;
    padding: 0;
    margin: 32px 0 20px;
}

.tong-sub .dataform .tit_box h2:first-child {
    margin-top: 0;
}

.tong-sub .dataform .optWrap label {
    display: inline-block;
    padding: 12px 20px;
    margin: 6px 8px 6px 0;
    border: 2px solid #dbe4f0;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.tong-sub .dataform .optWrap input[type="radio"] {
    display: none;
}

.tong-sub .dataform .optWrap input[type="radio"]:checked + label,
.tong-sub .dataform .optWrap label.on {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

.tong-sub .dataform .addWrap input,
.tong-sub .dataform input[type="text"] {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    font-size: 16px;
    box-sizing: border-box;
}

.tong-sub .dataform .btnWrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.tong-sub .dataform .btnWrap .img_box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid #e8edf5;
    transition: var(--transition);
}

.tong-sub .dataform .btnWrap .img_box:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.tong-sub .dataform .btnWrap input[type="button"] {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
}

.tong-datalab-intro {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray);
    margin: 0 0 28px;
}

.tong-datalab-hint {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--gray);
}

.tong-sub .dataform #bjdong {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0 0 24px;
}

.tong-sub .dataform #bjdong.show {
    display: grid;
}

.tong-sub .dataform #bjdong select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
}

.tong-sub .dataform #bjdong select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.tong-datalab-addr.show {
    display: block !important;
}

/* ── 서비스 신청 폼 ── */
.tong-sub .menu2_2 .form_box,
.tong-sub .form_box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(30, 58, 95, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.tong-sub .form_box table {
    width: 100% !important;
}

.tong-sub .form_box th {
    color: var(--primary-dark);
    font-weight: 600;
    padding: 12px;
    text-align: left;
    width: 25%;
}

.tong-sub .form_box td {
    padding: 12px;
}

/* ── 건물관리 등 이미지형 페이지 ── */
.tong-sub .bld article,
.tong-sub .bld .byunya,
.tong-sub .bld .system,
.tong-sub .bld .proc,
.tong-sub .bld .svc {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 8px 40px rgba(30, 58, 95, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.06);
}

.tong-sub .bld .byunya {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.tong-sub .bld .icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

/* ── 폼 공통 ── */
.tong-sub .frm_input,
.tong-sub input[type="text"],
.tong-sub input[type="email"],
.tong-sub input[type="tel"],
.tong-sub select,
.tong-sub textarea {
    border-radius: 10px !important;
    border: 1px solid #dbe4f0 !important;
    padding: 10px 14px;
}

.tong-sub .frm_input:focus,
.tong-sub input:focus,
.tong-sub select:focus,
.tong-sub textarea:focus {
    border-color: var(--primary) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ── gree / 정적 페이지 ── */
.tong-sub .tong-gree {
    margin: 0;
}

/* ── 반응형 ── */
@media (max-width: 900px) {
    .tong-sub .gc-page-content {
        padding: 48px 0 72px;
    }

    .tong-sub .dataform {
        padding: 28px 20px;
    }

    .tong-sub .dataform .btnWrap {
        grid-template-columns: 1fr;
    }

    .tong-sub .bld .byunya {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .tong-sub .gc-page-header {
        height: 280px;
    }

    .tong-sub .dataform,
    .tong-sub .menu2_2 .form_box,
    .tong-sub .bld article {
        padding: 24px 16px;
        border-radius: 16px;
    }
}
