/* ===== Service Page Styles ===== */

.svc-hero {
    padding: 64px 0 56px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.svc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
    z-index: 1;
}
.svc-hero .container { position: relative; z-index: 2; }
.svc-hero-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(106,176,207,0.2);
    border: 1px solid rgba(106,176,207,0.4);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6ab0cf;
    margin-bottom: 14px;
}
.svc-hero h1 {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
}
.svc-hero h1 span { color: #6ab0cf; }
.svc-hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    margin: 0 auto 28px;
    line-height: 1.75;
}
.svc-hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Breadcrumb */
.breadcrumb {
    padding: 14px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
    color: #888;
}
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

/* Sub menu tabs — separate bar below hero */
.svc-tab-bar {
    background: #fff;
    border-bottom: 2px solid #eee;
    position: sticky;
    top: 72px;
    z-index: 90;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.svc-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}
.svc-tab {
    padding: 16px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: color 0.18s;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
}
.svc-tab:hover { color: var(--primary); }
.svc-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Service card section */
.svc-cards { padding: 60px 0; }
.svc-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    overflow: hidden;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.svc-card:nth-child(even) { direction: rtl; }
.svc-card:nth-child(even) > * { direction: ltr; }
.svc-card-img {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-light), #d0e2ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary);
}
.svc-card-body {
    padding: 48px 44px;
}
.svc-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.svc-card-body h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}
.svc-card-body p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
}
.svc-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.svc-card-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-700);
}
.svc-card-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #6ab0cf;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Strengths */
.svc-strengths {
    padding: 80px 0;
    background: #f8fafc;
}
.svc-strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.svc-strength-item {
    background: #fff;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}
.svc-strength-item:hover { transform: translateY(-4px); }
.svc-strength-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: var(--primary);
}
.svc-strength-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.svc-strength-item p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* CTA Banner */
.svc-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1b2b76, #2d4ab0);
    text-align: center;
    color: #fff;
}
.svc-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.svc-cta h2 span { color: #6ab0cf; }
.svc-cta p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    font-size: 1.05rem;
}
.svc-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .svc-hero h1 { font-size: 2rem; }
    .svc-card { grid-template-columns: 1fr; }
    .svc-card:nth-child(even) { direction: ltr; }
    .svc-card-img { aspect-ratio: 16/7; }
    .svc-card-body { padding: 32px 24px; }
    .svc-strengths-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .svc-hero h1 { font-size: 1.6rem; }
    .svc-strengths-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .svc-strength-item { padding: 20px 14px; }
}

/* ===== Intro Grid ===== */
.svc-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.svc-intro-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    aspect-ratio: 4/3;
}
.svc-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Intro text block */
.svc-intro-header {
    margin-bottom: 24px;
}
.svc-intro-header .section-label {
    display: block;
    margin-bottom: 12px;
}
.svc-intro-header h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--gray-900);
    margin-bottom: 16px;
}
.svc-intro-header p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* Outline-light button alias */
.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.45);
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--dark);
    border-color: #fff;
    transform: translateY(-2px);
}
.svc-intro-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.svc-intro-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.83rem;
    font-weight: 600;
}

/* ===== Service Type Cards ===== */
.svc-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.svc-type-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border-top: 4px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}
.svc-type-card:hover { transform: translateY(-4px); border-top-color: var(--primary); }
.svc-type-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}
.svc-type-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 10px;
}
.svc-type-card > p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 18px;
}
.svc-type-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 24px;
    flex: 1;
}
.svc-type-card ul li {
    font-size: 0.84rem;
    color: #555;
    padding-left: 14px;
    position: relative;
}
.svc-type-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: #6ab0cf;
    border-radius: 50%;
}
.svc-type-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 0.87rem;
    font-weight: 600;
    margin-top: auto;
    text-align: center;
    justify-content: center;
    transition: background 0.2s;
}
.svc-type-cta:hover { background: var(--primary-dark); color: #fff; }

/* ===== Process ===== */
.svc-process {
    padding: 80px 0;
    background: #eef2f9;
    border-top: 1px solid #e0e8f5;
    border-bottom: 1px solid #e0e8f5;
}
.svc-process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 48px;
    flex-wrap: wrap;
}
.svc-step {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    text-align: center;
    padding: 0 10px;
}
.svc-step-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: #6ab0cf;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.svc-step-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0 auto 12px;
}
.svc-step h4 { font-size: 0.9rem; font-weight: 700; color: #1a1a2e; margin-bottom: 6px; }
.svc-step p { font-size: 0.8rem; color: #777; line-height: 1.6; }
.svc-step-arrow {
    color: #ccc;
    font-size: 1.2rem;
    padding-top: 28px;
    flex-shrink: 0;
}

/* ===== Space Grid ===== */
.svc-space-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
    margin-top: 48px;
}
.svc-space-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.svc-space-item i {
    display: block;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.svc-space-item span { font-size: 0.78rem; font-weight: 600; color: #444; }

/* ===== FAQ ===== */
.svc-faq {
    padding: 80px 0;
    background: #fff;
}
.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
}
.faq-q {
    width: 100%;
    text-align: left;
    padding: 18px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.15s, background 0.15s;
    font-family: inherit;
}
.faq-q:hover { color: var(--primary); background: var(--primary-light); }
.faq-q.open { color: var(--primary); background: var(--primary-light); }
.faq-q.open i { transform: rotate(45deg); }
.faq-q i { transition: transform 0.2s; flex-shrink: 0; }
.faq-a {
    display: none;
    padding: 16px 24px 20px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
    border-top: 1px solid #eee;
    background: #fafafa;
}
.faq-a.open { display: block; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .svc-space-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .svc-intro-grid { grid-template-columns: 1fr; gap: 32px; }
    .svc-type-grid { grid-template-columns: 1fr; }
    .svc-process-steps { flex-direction: column; align-items: center; gap: 16px; }
    .svc-step-arrow { transform: rotate(90deg); padding-top: 0; }
    .svc-step { max-width: 100%; }
    .svc-space-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 540px) {
    .svc-space-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-intro-badges span { font-size: 0.75rem; padding: 6px 10px; }
    .svc-hero h1 { font-size: 1.5rem; }
    .svc-hero p { font-size: 0.9rem; }
    .svc-hero-btns { flex-direction: column; align-items: center; }
    .svc-hero-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
    .svc-tab { padding: 12px 16px; font-size: 0.82rem; }
    .svc-card-body { padding: 24px 18px; }
    .svc-type-card { padding: 24px 18px; }
    .svc-strength-item { padding: 20px 14px; }
    .svc-cta h2 { font-size: 1.4rem; }
    .svc-cta-btns { flex-direction: column; align-items: center; }
    .svc-cta-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
    .faq-q { padding: 14px 16px; font-size: 0.88rem; }
    .faq-a { padding: 12px 16px 16px; }
}

/* ===== 320px 최소 화면 ===== */
@media (max-width: 360px) {
    .svc-hero { padding: 48px 0 40px; }
    .svc-hero h1 { font-size: 1.3rem; }
    .svc-hero-badge { font-size: 0.68rem; letter-spacing: 1px; }
    .svc-hero-breadcrumb { font-size: 0.72rem; }
    .svc-tab { padding: 10px 12px; font-size: 0.78rem; }
    .svc-intro-header h2 { font-size: 1.35rem; }
    .svc-intro-header p { font-size: 0.88rem; }
    .svc-intro-badges span { font-size: 0.72rem; padding: 5px 8px; gap: 4px; }
    .svc-type-card { padding: 20px 14px; }
    .svc-type-card h3 { font-size: 1rem; }
    .svc-type-icon { width: 46px; height: 46px; font-size: 1.1rem; margin-bottom: 12px; }
    .svc-process-steps { gap: 10px; }
    .svc-step-icon { width: 50px; height: 50px; font-size: 1rem; }
    .svc-step h4 { font-size: 0.82rem; }
    .svc-step p { font-size: 0.74rem; }
    .svc-step-num { font-size: 0.68rem; }
    .svc-strengths-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .svc-strength-icon { width: 48px; height: 48px; font-size: 1.1rem; }
    .svc-strength-item h4 { font-size: 0.88rem; }
    .svc-strength-item p { font-size: 0.78rem; }
    .svc-space-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .svc-space-item { padding: 14px 8px; }
    .svc-space-item i { font-size: 1.3rem; }
    .svc-space-item span { font-size: 0.72rem; }
    .svc-space-desc { font-size: 0.65rem; }
    .faq-q { padding: 12px 14px; font-size: 0.84rem; gap: 10px; }
    .faq-a { padding: 10px 14px 14px; font-size: 0.84rem; }
    .svc-cta { padding: 56px 0; }
    .svc-cta h2 { font-size: 1.2rem; }
    .svc-cta p { font-size: 0.9rem; }
}

/* ===== Fixed header offset for service pages ===== */
.svc-hero {
    margin-top: 72px;
}

/* ===== Space item desc ===== */
.svc-space-desc {
    font-size: 0.72rem;
    color: #888;
    line-height: 1.4;
    margin-top: 4px;
    display: block;
}

/* ===== Process Animation ===== */
.svc-step {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.svc-step.visible {
    opacity: 1;
    transform: translateY(0);
}
.svc-step-arrow {
    opacity: 0;
    transition: opacity 0.4s ease;
}
.svc-step-arrow.visible {
    opacity: 1;
}
.svc-step-icon {
    transition: transform 0.3s ease, background 0.3s ease;
}
.svc-step:hover .svc-step-icon {
    transform: scale(1.15);
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Hero image overlay */
.svc-hero {
    position: relative;
}
.svc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,16,50,0.88) 0%, rgba(27,43,118,0.75) 60%, rgba(20,30,90,0.7) 100%);
    z-index: 1;
}
.svc-hero .container { position: relative; z-index: 2; }

.svc-hero[data-overlay="black"]::before {
    background: rgba(0,0,0,0.72);
}

.svc-hero-breadcrumb {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}
.svc-hero-breadcrumb a { color: rgba(255,255,255,0.5); }
.svc-hero-breadcrumb a:hover { color: #fff; }
