@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard-dynamic-subset.css');

.page-sub {
    background: #fff;
}

.contents-sub,
.sub-main,
.sub-main > section,
.sub-hero {
    width: 100%;
}

.page-sub,
.page-sub * {
    font-family: Pretendard, "Noto Sans KR", sans-serif;
}

.sub-main {
    display: grid;
    gap: 0;
}

.subpage-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #20314b, #8c806d);
}

.subpage-hero > img {
    display: block;
    width: 100%;
    height: auto;
}

.subpage-hero-title {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.subpage-hero-title img {
    max-width: min(100%, 880px);
}

.subpage-hero-fallback {
    min-height: 420px;
    display: grid;
    align-items: center;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.32)),
        radial-gradient(circle at top, rgba(255, 255, 255, 0.14), transparent 36%);
}

.subpage-hero-copy {
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.video-container,
.feature-content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 26px;
}

.video-placeholder,
.feature-image-shell,
.product-info,
.process-step,
.faq-item,
.clinic-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.video-placeholder,
.feature-image-shell {
    display: grid;
    place-items: center;
    min-height: 520px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(28, 45, 74, 0.72), rgba(96, 114, 134, 0.38)),
        radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(135deg, #c8b29a, #8f7a66);
    color: #fff;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.feature-content {
    align-items: center;
    gap: 40px;
}

.feature-text,
.product-details,
.process-content {
    padding: 12px 0;
}

.feature-description {
    margin: 20px 0 0;
    color: #555;
    line-height: 1.95;
    font-size: 1.04rem;
}

.feature-title {
    margin: 0 0 10px;
    font-size: 3em;
    font-weight: 500;
    line-height: 1.3;
    color: #222;
}

.feature-subtitle {
    margin: 0;
    font-size: 1.4em;
    font-weight: 300;
    color: #444;
}

.product-info-container,
.process-container,
.clinic-grid {
    display: grid;
    gap: 30px;
}

.product-info-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 40px;
}

.product-info {
    display: block;
    padding: 24px;
    text-align: center;
}

.icon-circle {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #d6b488);
    color: #fff;
    font-weight: 800;
    font-size: 26px;
    margin: 0 auto;
}

.product-details h5,
.process-content h4 {
    margin: 0;
    font-size: 1.3em;
    color: #333;
}

.product-details p,
.process-content p,
.faq-answer,
.clinic-card p {
    margin: 10px 0 0;
    color: #666;
    line-height: 1.7;
}

.process-container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
    padding: 24px;
}

.process-number {
    font-size: 12px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.2em;
}

.faq-container {
    display: grid;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
    border-radius: 12px;
}

.faq-question {
    display: block;
    width: 100%;
    border: 0;
    background: none;
    padding: 22px 24px;
    text-align: left;
    font-size: 1.05em;
    font-weight: 600;
    color: #222;
    cursor: pointer;
}

.faq-answer {
    display: none;
    padding: 0 24px 24px;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.clinic-card {
    padding: 28px;
    background: linear-gradient(180deg, #fff, #fbf7f2);
}

.detail-kv {
    position: relative;
}

.detail-kv::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.38)),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 42%);
}

.detail-kv-copy {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
}

.detail-kv-label {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0.18em;
    font-weight: 700;
}

.detail-kv-copy strong {
    display: block;
    font-size: clamp(42px, 7vw, 78px);
    font-weight: 700;
    letter-spacing: -0.05em;
}

.detail-kv-copy p {
    margin-top: 16px;
    font-size: 1.1em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.section-title-large {
    margin: 0 0 30px;
    font-size: clamp(34px, 4.4vw, 52px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #222;
    text-align: center;
}

.section-light {
    background: #f7f5f2;
}

.section-beige {
    background: #f3ece4;
}

.section-head {
    margin-bottom: 10px;
    text-align: center;
}

.legacy-match-head {
    margin-bottom: 34px;
}

.legacy-match-head p {
    margin: 0;
    color: #7a6d61;
    font-size: 0.95rem;
}

.section-head h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #222;
}

.section-head span {
    color: #8d7a66;
}

.feature-section,
.tech-section {
    padding: 5em 0;
}

.first-feature-section {
    padding-top: 4.5em;
}

@media (max-width: 1100px) {
    .video-container,
    .feature-content {
        grid-template-columns: 1fr;
    }

    .product-info-container,
    .process-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .video-placeholder,
    .feature-image-shell {
        min-height: 320px;
    }

    .subpage-hero-fallback {
        min-height: 280px;
    }

    .subpage-hero-copy {
        padding: 56px 0;
    }

    .feature-title {
        font-size: 2.2em;
    }

    .product-info-container,
    .process-container,
    .clinic-grid {
        grid-template-columns: 1fr;
    }
}
