@charset "utf-8";
@import url("premium-content.css");

/* ========================================================
   SOHO 공통 및 개별 페이지 CSS (인터넷 / 인터넷전화 등)
   ======================================================== */

/* 박스 크기 안정화 */
.soho-internet-page,
.soho-internet-page *,
.soho-internet-page *::before,
.soho-internet-page *::after,
.soho-phone-page,
.soho-phone-page *,
.soho-phone-page *::before,
.soho-phone-page *::after {
    box-sizing: border-box;
}

.soho-internet-page,
.soho-phone-page {
    width: 100%;
    background: #fff;
}

.soho-internet-container,
.soho-phone-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 70px 30px 100px;
    box-sizing: border-box;
}

.soho-internet-page img,
.soho-phone-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 상단 헤딩 (배너 없는 경우 대비 공통 타이틀) */
.soho-phone-heading {
    margin-bottom: 50px;
    text-align: center;
}

.soho-phone-heading > span {
    display: inline-block;
    margin-bottom: 10px;
    color: #d9272e;
    font-size: 15px;
    font-weight: 700;
}

.soho-phone-heading h1 {
    margin: 0;
    color: #222;
    font-size: 42px;
    line-height: 1.3;
    letter-spacing: -0.04em;
}

.soho-phone-heading p {
    max-width: 760px;
    margin: 16px auto 0;
    color: #666;
    font-size: 17px;
    line-height: 1.8;
    word-break: keep-all;
}

/* 섹션 공통 구조 */
.soho-section,
.soho-phone-section {
    margin-top: 70px;
}

.soho-section:first-child,
.soho-phone-section:first-child {
    margin-top: 0;
}

.soho-section__heading,
.soho-phone-section__heading {
    margin-bottom: 26px;
}

.soho-section__heading > span,
.soho-phone-section__heading > span {
    display: inline-block;
    margin-bottom: 8px;
    color: #d9272e;
    font-size: 14px;
    font-weight: 700;
}

.soho-section__heading h2,
.soho-phone-section__heading h2 {
    margin: 0;
    color: #222;
    font-size: 30px;
    line-height: 1.4;
    letter-spacing: -0.03em;
}

.soho-section__heading p,
.soho-phone-section__heading p {
    margin: 10px 0 0;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

/* 추천 상품 그리드 & 카드 (3열) */
.soho-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.soho-product-card {
    min-width: 0;
    padding: 34px 28px;
    border: 1px solid #e2e5e9;
    border-radius: 14px;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.soho-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.soho-product-card--featured {
    border: 2px solid #d9272e;
    background: #fffcfc;
}

.soho-product-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    background: #fdf2f2;
    color: #d9272e;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
    width: fit-content;
}

.soho-product-card h3 {
    margin: 0 0 14px;
    color: #222;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.soho-product-card h3 strong {
    color: #d9272e;
}

.soho-product-desc {
    color: #555;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 24px;
    word-break: keep-all;
}

.soho-product-price {
    margin: 18px 0 22px;
    padding: 14px 16px;
    background: #f8f9fb;
    border-radius: 8px;
    text-align: center;
}

.soho-product-price strong {
    display: block;
    color: #d9272e;
    font-size: 24px;
    font-weight: 800;
}

.soho-product-price span {
    display: block;
    color: #777;
    font-size: 13px;
    margin-top: 4px;
}

.soho-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--premium-navy, #17233c);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(23, 35, 60, 0.15);
}

.soho-product-btn:hover {
    background: var(--premium-primary, #d81920);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(216, 25, 32, 0.25);
}

/* 주요 기능 그리드 (인터넷 4열, 인터넷전화 3열) */
.soho-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.soho-phone-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.soho-feature-card,
.soho-phone-feature-card {
    min-width: 0;
    padding: 30px 26px;
    border: 1px solid var(--premium-line, #e5e9f0);
    border-radius: 16px;
    background: #fff;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 15px rgba(26, 37, 56, 0.04);
}

.soho-feature-card:hover,
.soho-phone-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--premium-shadow, 0 12px 35px rgba(26, 37, 56, 0.08));
    border-color: var(--premium-line-dark, #d5dae3);
}

.soho-feature-card__icon,
.soho-phone-feature-card .feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.soho-feature-card__icon img,
.soho-phone-feature-card .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.soho-feature-card h3,
.soho-phone-feature-card h3 {
    margin: 0;
    color: var(--premium-text, #202735);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
}

.soho-feature-card p,
.soho-phone-feature-card p {
    margin: 12px 0 0;
    color: var(--premium-text-sub, #5d6675);
    font-size: 15px;
    line-height: 1.7;
    word-break: keep-all;
}

/* 17. 가입 및 개통 절차 개선 (.premium-process 스타일 적용) */
.soho-process,
.soho-phone-process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.soho-process li,
.soho-phone-process li {
    min-width: 0;
    padding: 30px 26px;
    border: 1px solid var(--premium-line, #e5e9f0);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(26, 37, 56, 0.04);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.soho-process li:hover,
.soho-phone-process li:hover {
    transform: translateY(-4px);
    box-shadow: var(--premium-shadow, 0 12px 35px rgba(26, 37, 56, 0.08));
}

.soho-process__number,
.soho-phone-process li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--premium-primary-light, #fff2f3);
    color: var(--premium-primary, #d81920);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 18px;
    border: 1px solid rgba(216, 25, 32, 0.2);
}

.soho-process strong,
.soho-phone-process strong {
    display: block;
    color: var(--premium-text, #202735);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 8px;
}

.soho-process p,
.soho-phone-process p {
    margin: 0;
    color: var(--premium-text-sub, #5d6675);
    font-size: 15px;
    line-height: 1.7;
}

/* 13. 상품 비교표 및 요금표 개선 (.premium-table-wrap, .premium-table 규격 적용) */
.soho-table-scroll,
.soho-phone-table-scroll {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 24px;
    border: 1px solid var(--premium-line, #e5e9f0);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--premium-shadow, 0 12px 35px rgba(26, 37, 56, 0.08));
    -webkit-overflow-scrolling: touch;
}

.soho-table,
.soho-phone-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    background: #fff;
}

.soho-table caption,
.soho-phone-table caption {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.soho-table th,
.soho-table td,
.soho-phone-table th,
.soho-phone-table td {
    padding: 18px 16px;
    border-right: 1px solid var(--premium-line, #e5e9f0);
    border-bottom: 1px solid var(--premium-line, #e5e9f0);
    box-sizing: border-box;
    color: var(--premium-text, #202735);
    font-size: 15px;
    line-height: 1.65;
    text-align: center;
    vertical-align: middle;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.soho-table th:first-child,
.soho-table td:first-child,
.soho-phone-table th:first-child,
.soho-phone-table td:first-child {
    border-left: none;
}

.soho-table th:last-child,
.soho-table td:last-child,
.soho-phone-table th:last-child,
.soho-phone-table td:last-child {
    border-right: none;
}

.soho-table thead th,
.soho-phone-table thead th {
    background: var(--premium-navy, #17233c);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.soho-table tbody th,
.soho-phone-table tbody th {
    background: var(--premium-bg-soft, #f7f9fc);
    color: var(--premium-text, #202735);
    font-weight: 700;
}

.soho-table tbody tr:nth-child(even) td,
.soho-table tbody tr:nth-child(even) th,
.soho-phone-table tbody tr:nth-child(even) td,
.soho-phone-table tbody tr:nth-child(even) th {
    background-color: #fafbfc;
}

.soho-table tbody tr:hover th,
.soho-table tbody tr:hover td,
.soho-phone-table tbody tr:hover th,
.soho-phone-table tbody tr:hover td {
    background: var(--premium-sky, #eef5ff);
}

.soho-table .text-left,
.soho-phone-table .text-left {
    text-align: left;
}

.soho-table .soho-price,
.soho-phone-table .phone-price {
    color: var(--premium-primary, #d81920);
    font-weight: 800;
    font-size: 16px;
    white-space: nowrap;
}

/* 안내문 디자인 */
.soho-notice,
.soho-phone-notice {
    margin-top: 22px;
    padding: 22px 24px;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    background: #f8f9fb;
    box-sizing: border-box;
}

.soho-notice strong,
.soho-phone-notice strong {
    display: block;
    margin-bottom: 10px;
    color: #222;
    font-size: 16px;
}

.soho-notice ul,
.soho-phone-notice ul {
    margin: 0;
    padding-left: 20px;
}

.soho-notice li,
.soho-phone-notice li {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.65;
}

/* 태블릿 반응형 */
@media screen and (max-width: 1024px) {
    .soho-internet-container,
    .soho-phone-container {
        padding: 55px 24px 80px;
    }

    .soho-phone-heading h1 {
        font-size: 36px;
    }

    .soho-section,
    .soho-phone-section {
        margin-top: 55px;
    }

    .soho-section__heading h2,
    .soho-phone-section__heading h2 {
        font-size: 27px;
    }

    .soho-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .soho-feature-grid,
    .soho-phone-feature-grid,
    .soho-process,
    .soho-phone-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .soho-table th,
    .soho-table td,
    .soho-phone-table th,
    .soho-phone-table td {
        padding: 14px 12px;
    }
}

/* 모바일 반응형 */
@media screen and (max-width: 768px) {
    .soho-internet-container,
    .soho-phone-container {
        padding: 38px 16px 65px;
    }

    .soho-phone-heading {
        margin-bottom: 38px;
    }

    .soho-phone-heading h1 {
        font-size: 29px;
    }

    .soho-phone-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .soho-section,
    .soho-phone-section {
        margin-top: 45px;
    }

    .soho-section__heading,
    .soho-phone-section__heading {
        margin-bottom: 18px;
    }

    .soho-section__heading h2,
    .soho-phone-section__heading h2 {
        font-size: 23px;
        line-height: 1.4;
    }

    .soho-section__heading p,
    .soho-phone-section__heading p {
        font-size: 14px;
    }

    .soho-product-grid,
    .soho-feature-grid,
    .soho-phone-feature-grid,
    .soho-process,
    .soho-phone-process {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .soho-feature-card,
    .soho-phone-feature-card,
    .soho-product-card,
    .soho-process li,
    .soho-phone-process li {
        padding: 22px 18px;
    }

    .soho-table-scroll,
    .soho-phone-table-scroll {
        margin-top: 16px;
    }

    .soho-table,
    .soho-phone-table {
        min-width: 680px;
    }

    .soho-table th,
    .soho-table td,
    .soho-phone-table th,
    .soho-phone-table td {
        padding: 12px 10px;
        font-size: 13px;
        line-height: 1.55;
    }

    .soho-notice,
    .soho-phone-notice {
        padding: 18px 16px;
    }

    .soho-notice li,
    .soho-phone-notice li {
        font-size: 13px;
    }
}

/* ========================================================
   CCTV 및 TV 공통 & 전용 스타일 (1440px 레이아웃 / 테이블 / 반응형)
   ======================================================== */
.cctv-page,
.tv-page,
.cctv-page *,
.cctv-page *::before,
.cctv-page *::after,
.tv-page *,
.tv-page *::before,
.tv-page *::after {
    box-sizing: border-box;
}

.cctv-page,
.tv-page {
    width: 100%;
    background: #fff;
}

.cctv-container,
.tv-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 70px 30px 100px;
    box-sizing: border-box;
}

.cctv-page img,
.tv-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 상단 타이틀 섹션 */
.media-header {
    margin-bottom: 50px;
    text-align: center;
}

.media-header > span {
    display: inline-block;
    margin-bottom: 10px;
    color: #d9272e;
    font-size: 15px;
    font-weight: 700;
}

.media-header h1 {
    margin: 0;
    color: #222;
    font-size: 42px;
    line-height: 1.3;
    letter-spacing: -0.04em;
}

.media-header p {
    max-width: 760px;
    margin: 16px auto 0;
    color: #666;
    font-size: 17px;
    line-height: 1.8;
    word-break: keep-all;
}

/* 섹션 공통 구조 */
.media-section {
    margin-top: 70px;
}

.media-section:first-child {
    margin-top: 0;
}

.media-section__heading {
    margin-bottom: 26px;
}

.media-section__heading > span {
    display: inline-block;
    margin-bottom: 8px;
    color: #d9272e;
    font-size: 14px;
    font-weight: 700;
}

.media-section__heading h2 {
    margin: 0;
    color: #222;
    font-size: 30px;
    line-height: 1.4;
    letter-spacing: -0.03em;
}

.media-section__heading p {
    margin: 10px 0 0;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

/* CCTV 패키지 디바이스 그리드 (5열) */
.cctv-device-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.cctv-device-card {
    border: 1px solid #e2e5e9;
    border-radius: 14px;
    padding: 24px 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cctv-device-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.cctv-device-card__img {
    width: 140px;
    height: 140px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cctv-device-card__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cctv-device-card h3 {
    margin: 0 0 10px;
    color: #222;
    font-size: 20px;
    font-weight: 700;
}

.cctv-device-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    word-break: keep-all;
}

/* TV 특징 및 추천 업종 그리드 */
.tv-recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.tv-recommend-card {
    border: 1px solid #e2e5e9;
    border-radius: 14px;
    padding: 30px 26px;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tv-recommend-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.tv-recommend-card h3 {
    margin: 0 0 12px;
    color: #222;
    font-size: 21px;
    font-weight: 700;
}

.tv-recommend-card p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    word-break: keep-all;
}

/* 업종 태그 리스트 */
.tv-sector-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tv-sector-tag {
    padding: 8px 16px;
    border-radius: 20px;
    background: #fdf2f2;
    color: #d9272e;
    font-size: 14px;
    font-weight: 700;
}

/* 13. 상품 비교표 및 요금표 개선 (.premium-table-wrap, .premium-table 규격 적용) */
.media-table-wrap {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 24px;
    border: 1px solid var(--premium-line, #e5e9f0);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--premium-shadow, 0 12px 35px rgba(26, 37, 56, 0.08));
    -webkit-overflow-scrolling: touch;
}

.media-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    background: #fff;
}

.media-table caption {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.media-table th,
.media-table td {
    padding: 18px 16px;
    border-right: 1px solid var(--premium-line, #e5e9f0);
    border-bottom: 1px solid var(--premium-line, #e5e9f0);
    color: var(--premium-text, #202735);
    font-size: 15px;
    line-height: 1.65;
    text-align: center;
    vertical-align: middle;
    word-break: keep-all;
}

.media-table th:first-child,
.media-table td:first-child {
    border-left: none;
}

.media-table th:last-child,
.media-table td:last-child {
    border-right: none;
}

.media-table thead th {
    background: var(--premium-navy, #17233c);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.media-table tbody th {
    background: var(--premium-bg-soft, #f7f9fc);
    color: var(--premium-text, #202735);
    font-weight: 700;
}

.media-table tbody tr:nth-child(even) td,
.media-table tbody tr:nth-child(even) th {
    background-color: #fafbfc;
}

.media-table tbody tr:hover th,
.media-table tbody tr:hover td {
    background: var(--premium-sky, #eef5ff);
}

.media-table .text-left {
    text-align: left;
}

.media-table .price-strong {
    color: var(--premium-primary, #d81920);
    font-weight: 800;
    font-size: 16px;
    white-space: nowrap;
}

/* 공통 안내문 박스 */
.media-notice {
    margin-top: 22px;
    padding: 22px 24px;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    background: #f8f9fb;
}

.media-notice strong {
    display: block;
    margin-bottom: 10px;
    color: #222;
    font-size: 16px;
}

.media-notice ul {
    margin: 0;
    padding-left: 20px;
}

.media-notice li {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.65;
}

/* 태블릿 반응형 (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .cctv-container,
    .tv-container {
        padding: 55px 24px 80px;
    }

    .media-header h1 {
        font-size: 36px;
    }

    .cctv-device-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tv-recommend-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 모바일 반응형 (max-width: 768px) */
@media screen and (max-width: 768px) {
    .cctv-container,
    .tv-container {
        padding: 38px 16px 65px;
    }

    .media-header {
        margin-bottom: 38px;
    }

    .media-header h1 {
        font-size: 29px;
    }

    .media-section {
        margin-top: 45px;
    }

    .cctv-device-grid,
    .tv-recommend-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .media-table {
        min-width: 680px;
    }

    .media-table th,
    .media-table td {
        padding: 12px 10px;
        font-size: 13px;
    }
}
