/* ============================================
   STARTUP PAGES - 창업안내 신규 섹션
   ============================================ */

/* Hero Banner */
.startup .hero-banner {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.startup .hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
}
.startup .hero-banner .hero-title {
    position: relative;
    z-index: 1;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.startup .hero-banner .hero-breadcrumbs {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}
.startup .hero-banner .hero-breadcrumbs a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}
.startup .hero-banner .hero-breadcrumbs span.sep {
    font-size: 10px;
}

/* Sub Tabs Navigation */
.startup .sub-tabs-wrap {
    max-width: 860px;
    margin: -30px auto 0;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}
.startup .sub-tabs {
    display: flex;
    background: #f7f7f7;
    border-radius: 50px;
    padding: 6px;
    padding-left: 6px;
    list-style: none;
    margin: 0;
}
.startup .sub-tabs li {
    flex: 1;
}
.startup .sub-tabs li a {
    display: block;
    text-align: center;
    padding: 14px 8px;
    font-size: 16px;
    color: #999;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: 500;
    white-space: nowrap;
}
.startup .sub-tabs li.active a {
    color: var(--orangey-red, #ff592e);
    background: #fff;
    border: 2px solid var(--orangey-red, #ff592e);
    font-weight: 700;
}
.startup .sub-tabs li a:hover {
    color: var(--orangey-red, #ff592e);
}

/* Mobile Tab Scroll */
.startup .sub-tabs-scroll {
    display: none;
}

/* ---- Page Section Common ---- */
.startup .st-section {
    padding: 80px 0;
}
.startup .st-section-title {
    font-size: 36px;
    font-weight: 800;
    color: #222;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.startup .st-section-title .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--orangey-red, #ff592e);
    border-radius: 50%;
    vertical-align: top;
    margin-left: 2px;
}
.startup .st-section-desc {
    font-size: 16px;
    color: #666;
    margin-top: 16px;
    line-height: 1.6;
}

/* ============================================
   PAGE 1: 창업안내 (startup.php)
   ============================================ */

/* Advantage Grid - 2x3 */
.startup .advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
    margin-top: 48px;
}
.startup .advantage-card {
    overflow: hidden;
}
.startup .advantage-card .card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
}
.startup .advantage-card .card-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-top: 20px;
}
.startup .advantage-card .card-desc {
    font-size: 14px;
    color: #888;
    margin-top: 8px;
    line-height: 1.5;
}

/* Process Steps */
.startup .process-section {
    padding: 80px 0;
}
.startup .process-section .st-section-desc {
    margin-bottom: 48px;
}
.startup .process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.startup .process-step {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    position: relative;
}
.startup .process-step .step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.startup .process-step .step-icon svg {
    width: 40px;
    height: 40px;
    fill: #555;
}
.startup .process-step .step-num {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #222;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    text-align: center;
    margin-bottom: 10px;
}
.startup .process-step .step-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}
.startup .process-step .step-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

/* CTA Button */
.startup .cta-area {
    text-align: center;
    margin-top: 60px;
}
.startup .cta-btn {
    display: inline-block;
    padding: 18px 60px;
    background: var(--orangey-red, #ff592e);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
}
.startup .cta-btn:hover {
    opacity: 0.85;
}

/* ============================================
   PAGE 2: 창업비용 (startupCost.php)
   ============================================ */

/* Model Compare Cards */
.startup .model-compare {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.startup .model-card-img {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}
.startup .model-card-img:hover {
    transform: translateY(-4px);
}
.startup .model-card-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Model Detail - Expanded comparison */
.startup .model-detail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.startup .model-detail-card {
    border-radius: 16px;
    padding: 40px 36px;
    min-height: 380px;
}
.startup .model-detail-card.dalkomm-n {
    background: linear-gradient(135deg, #ff592e 0%, #ff8c50 100%);
    color: #fff;
}
.startup .model-detail-card.dalkomm {
    background: #3a3226;
    color: #fff;
}
.startup .model-detail-card .detail-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 28px;
    line-height: 1.4;
}
.startup .model-detail-card .detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.startup .model-detail-card .detail-list li {
    margin-bottom: 16px;
}
.startup .model-detail-card .detail-list li .dt-label {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.startup .model-detail-card .detail-list li .dt-label .ico {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.startup .model-detail-card .detail-list li .dt-value {
    font-size: 13px;
    opacity: 0.85;
    padding-left: 24px;
}

/* Cost Tables */
.startup .cost-section {
    padding: 80px 0;
}
.startup .cost-section .unit-info {
    text-align: right;
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}
.startup .cost-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.startup .cost-table thead th {
    background: #f5f5f5;
    padding: 14px 16px;
    font-weight: 600;
    color: #222;
    border-bottom: 2px solid #222;
    text-align: center;
}
.startup .cost-table tbody th,
.startup .cost-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    color: #444;
    vertical-align: top;
}
.startup .cost-table tbody th {
    font-weight: 600;
    text-align: left;
    background: #fafafa;
}
.startup .cost-table tbody td {
    text-align: center;
}
.startup .cost-table tbody td:last-child {
    text-align: left;
}
.startup .cost-table tbody tr.sum th,
.startup .cost-table tbody tr.sum td {
    font-weight: 700;
    color: var(--orangey-red, #ff592e);
    border-top: 2px solid #222;
    border-bottom: 2px solid #222;
}
.startup .cost-table .col-group {
    font-weight: 600;
    background: #fafafa;
    vertical-align: middle;
}
.startup .cost-annotation {
    margin-top: 16px;
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    list-style: none;
    padding-left: 0;
}
.startup .cost-annotation li {
    padding-left: 12px;
    position: relative;
}
.startup .cost-annotation li::before {
    content: '*';
    position: absolute;
    left: 0;
}
.startup .cost-annotation .highlight {
    color: var(--orangey-red, #ff592e);
}

/* ============================================
   PAGE 3: 인테리어 (startupInterior.php)
   ============================================ */

/* Brand Toggle */
.startup .brand-toggle {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
}
.startup .brand-toggle .toggle-btn {
    padding: 14px 48px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.startup .brand-toggle .toggle-btn.active {
    background: var(--orangey-red, #ff592e);
    color: #fff;
}
.startup .brand-toggle .toggle-btn:not(.active) {
    background: #eee;
    color: #999;
}
.startup .brand-toggle .toggle-btn:hover:not(.active) {
    background: #ddd;
}

/* Interior Grid */
.startup .interior-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}
.startup .interior-grid .interior-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.startup .interior-grid .interior-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.startup .interior-grid .interior-item:hover img {
    transform: scale(1.05);
}
.startup .interior-content {
    display: none;
}
.startup .interior-content.active {
    display: block;
}

/* ============================================
   PAGE 4: FAQ (startupFaq.php)
   ============================================ */

.startup .faq-section {
    padding: 80px 0;
}
.startup .faq-list {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
}
.startup .faq-item {
    margin-bottom: 12px;
}
.startup .faq-question {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 24px 28px;
    background: #f8f6f4;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
    text-align: left;
    gap: 12px;
}
.startup .faq-question:hover {
    background: #f0ece8;
}
.startup .faq-question .q-num {
    font-size: 18px;
    font-weight: 800;
    color: #8B2500;
    flex-shrink: 0;
}
.startup .faq-question .q-text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}
.startup .faq-question .q-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.startup .faq-question .q-arrow svg {
    width: 100%;
    height: 100%;
}
.startup .faq-item.open .faq-question .q-arrow {
    transform: rotate(180deg);
}
.startup .faq-answer {
    display: none;
    padding: 20px 28px 20px 68px;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    background: #faf8f6;
    border-radius: 0 0 12px 12px;
    margin-top: -6px;
}

/* ============================================
   PAGE 5: 창업문의 (startupInquiry.php)
   ============================================ */

.startup .inquiry-section {
    padding: 80px 0;
}
.startup .inquiry-form .form-group {
    margin-bottom: 32px;
}
.startup .inquiry-form .form-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}
.startup .inquiry-form .form-row {
    display: flex;
    gap: 24px;
}
.startup .inquiry-form .form-row .form-group {
    flex: 1;
}
.startup .inquiry-form .form-input,
.startup .inquiry-form .form-select {
    width: 100%;
    height: 50px;
    padding: 0 0 12px;
    font-size: 16px;
    color: #222;
    border: none;
    border-bottom: 1px solid rgba(34,34,34,0.2);
    background: transparent;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}
.startup .inquiry-form .form-input:focus,
.startup .inquiry-form .form-select:focus {
    border-bottom-color: #222;
}
.startup .inquiry-form .form-input::placeholder {
    color: rgba(34,34,34,0.4);
}
.startup .inquiry-form .form-textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px 0;
    font-size: 16px;
    color: #222;
    border: none;
    border-bottom: 1px solid rgba(34,34,34,0.2);
    background: transparent;
    outline: none;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}
.startup .inquiry-form .form-textarea:focus {
    border-bottom-color: #222;
}
.startup .inquiry-form .form-textarea::placeholder {
    color: rgba(34,34,34,0.4);
}
.startup .inquiry-form .form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
}
.startup .inquiry-form .select-row {
    display: flex;
    gap: 16px;
}
.startup .inquiry-form .select-row .form-select {
    flex: 1;
}

/* Radio Buttons */
.startup .inquiry-form .radio-group {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 4px;
}
.startup .inquiry-form .radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 16px;
    color: #222;
}
.startup .inquiry-form .radio-label input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}
.startup .inquiry-form .radio-label input[type="radio"]:checked {
    border-color: var(--orangey-red, #ff592e);
}
.startup .inquiry-form .radio-label input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 10px;
    height: 10px;
    background: var(--orangey-red, #ff592e);
    border-radius: 50%;
}

/* Privacy Agreement */
.startup .inquiry-form .agree-area {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}
.startup .inquiry-form .agree-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}
.startup .inquiry-form .agree-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}
.startup .inquiry-form .agree-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #222;
}
.startup .inquiry-form .agree-check input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}
.startup .inquiry-form .agree-check input[type="checkbox"]:checked {
    background: var(--orangey-red, #ff592e);
    border-color: var(--orangey-red, #ff592e);
}
.startup .inquiry-form .agree-check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px; left: 6px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ============================================
   RESPONSIVE - Mobile (max-width: 750px)
   ============================================ */
@media all and (max-width: 750px) {

    /* Hero Banner */
    .startup .hero-banner {
        height: 260px;
    }
    .startup .hero-banner .hero-title {
        font-size: 32px;
    }
    .startup .hero-banner .hero-breadcrumbs {
        font-size: 12px;
        margin-top: 12px;
    }

    /* Sub Tabs - Horizontal Scroll */
    .startup .sub-tabs-wrap {
        margin-top: 24px;
        padding: 0 16px;
        position: relative;
    }
    .startup .sub-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px;
        gap: 0;
    }
    .startup .sub-tabs::-webkit-scrollbar {
        display: none;
    }
    .startup .sub-tabs li a {
        font-size: 14px;
        padding: 12px 16px;
        min-width: max-content;
    }
    .startup .sub-tabs-scroll {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 50%;
        z-index: 3;
        cursor: pointer;
        font-size: 14px;
        color: #999;
    }

    /* Section */
    .startup .st-section {
        padding: 48px 0;
    }
    .startup .st-section-title {
        font-size: 24px;
    }
    .startup .st-section-desc {
        font-size: 14px;
        margin-top: 12px;
    }

    /* Advantage Grid - 1 column */
    .startup .advantage-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 32px;
    }
    .startup .advantage-card .card-img {
        height: auto;
        max-height: 240px;
    }
    .startup .advantage-card .card-title {
        font-size: 18px;
        margin-top: 16px;
    }

    /* Process Grid - Mobile Timeline */
    .startup .process-grid {
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
        padding-left: 48px;
    }
    .startup .process-grid::before {
        content: '';
        position: absolute;
        left: 15px;
        top: 28px;
        bottom: 28px;
        width: 2px;
        background: #ddd;
    }
    .startup .process-step {
        background: transparent;
        border-radius: 0;
        padding: 16px 0 16px 0;
        text-align: left;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0 12px;
    }
    .startup .process-step .step-icon {
        position: absolute;
        left: -48px;
        width: 32px;
        height: 32px;
        background: #fff;
        border-radius: 50%;
        border: 2px solid #ddd;
        margin: 0;
        z-index: 1;
    }
    .startup .process-step .step-icon svg {
        width: 18px;
        height: 18px;
    }
    .startup .process-step .step-num {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 11px;
    }
    .startup .process-step .step-title {
        font-size: 15px;
        line-height: 24px;
    }
    .startup .process-step .step-desc {
        width: 100%;
        font-size: 12px;
        margin-top: 4px;
    }

    /* CTA */
    .startup .cta-area {
        margin-top: 40px;
    }
    .startup .cta-btn {
        padding: 16px 48px;
        font-size: 16px;
        display: block;
        margin: 0 auto;
        max-width: 320px;
        text-align: center;
    }

    /* Model Compare */
    .startup .model-compare {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }

    /* Model Detail */
    .startup .model-detail {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .startup .model-detail-card {
        padding: 28px 24px;
    }
    .startup .model-detail-card .detail-title {
        font-size: 20px;
    }

    /* Cost Table */
    .startup .cost-section {
        padding: 48px 0;
    }
    .startup .cost-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .startup .cost-table {
        min-width: 600px;
        font-size: 13px;
    }

    /* Brand Toggle */
    .startup .brand-toggle {
        margin-top: 32px;
    }
    .startup .brand-toggle .toggle-btn {
        padding: 12px 36px;
        font-size: 15px;
    }

    /* Interior Grid - 2 columns */
    .startup .interior-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 24px;
    }

    /* FAQ */
    .startup .faq-section {
        padding: 48px 0;
    }
    .startup .faq-question {
        padding: 18px 20px;
    }
    .startup .faq-question .q-num {
        font-size: 16px;
    }
    .startup .faq-question .q-text {
        font-size: 14px;
    }
    .startup .faq-answer {
        padding: 16px 20px 16px 52px;
        font-size: 14px;
    }

    /* Inquiry Form */
    .startup .inquiry-section {
        padding: 48px 0;
    }
    .startup .inquiry-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    .startup .inquiry-form .form-input,
    .startup .inquiry-form .form-select,
    .startup .inquiry-form .form-textarea {
        font-size: 14px;
    }
}

/* ============================================
   RESPONSIVE - Tablet (751px ~ 960px)
   ============================================ */
@media all and (min-width: 751px) and (max-width: 960px) {
    .startup .hero-banner {
        height: 320px;
    }
    .startup .hero-banner .hero-title {
        font-size: 42px;
    }
    .startup .advantage-grid {
        gap: 24px 20px;
    }
    .startup .advantage-card .card-img {
        height: 180px;
    }
    .startup .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .startup .interior-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
