/**
 * Nose Revision Page Styles
 * 코재수술 페이지 스타일시트
 */

/* ===== 기본 레이아웃 ===== */
.cont-wrap {
    margin-bottom: 0;
    padding-bottom: 110px;
    background: #f5f5f5;
}

/* ===== 히어로 섹션 (Forehead 스타일 적용) ===== */
.forehead-hero-section {
    position: relative;
    overflow: hidden;
    min-height: 700px;
    background: linear-gradient(135deg, #b5bcc0 0%, #9ca5ab 100%);
}

.forehead-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.forehead-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.forehead-hero-background img.mobile-bg {
    display: none;
}

.forehead-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 50px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    min-height: 700px;
}

.forehead-hero-text {
    z-index: 2;
}

.forehead-hero-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 400;
    text-transform: uppercase;
}

.forehead-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    line-height: 1.3;
    letter-spacing: -1px;
}

.forehead-hero-desc {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 35px;
}

.forehead-hero-highlight {
    font-size: 26px;
    color: #a0a3ff;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 30px;
    word-break: keep-all;
}

.forehead-hero-note {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.forehead-hero-image {
    position: relative;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.forehead-hero-watermark {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 15px;
    white-space: nowrap;
    z-index: 0;
    text-transform: uppercase;
}

/* ===== Prologue 섹션 ===== */
.prologue-section {
    background: #fff;
    padding: 120px 0;
}

.prologue-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.prologue-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.badge-number {
    width: 30px;
    height: 2px;
    background: #e0e0e0;
    display: block;
}

.badge-text {
    font-size: 48px;
    font-weight: 300;
    color: #f0f0f0;
    letter-spacing: 2px;
}

.prologue-subtitle {
    font-size: 12px;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.prologue-title {
    font-size: 38px;
    font-weight: 700;
    color: #222;
    line-height: 1.5;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.prologue-desc {
    color: #555;
    line-height: 1.8;
}

.desc-highlight {
    font-size: 16px;
    color: #d4a574;
    margin-bottom: 30px;
    line-height: 1.7;
}

.desc-point {
    margin-bottom: 25px;
}

.desc-point strong {
    display: block;
    font-size: 15px;
    color: #222;
    margin-bottom: 8px;
    font-weight: 600;
}

.desc-point p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.prologue-image {
    position: relative;
}

.prologue-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    filter: grayscale(100%);
}

.doctor-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: #a0a3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-info {
    color: #fff;
}

.badge-label {
    font-size: 11px;
    color: #ccc;
    margin-bottom: 3px;
}

.badge-name {
    font-size: 15px;
    font-weight: 600;
}

/* ===== Case Grid 섹션 ===== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.case-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.case-image {
    position: relative;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.case-content {
    padding: 25px 20px;
    text-align: center;
}

.case-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.5;
    margin: 0;
}

/* ===== Point Message 섹션 ===== */
.point-message-wrapper {
    margin-top: 60px;
    padding: 60px 0;
}

.point-message {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.point-text {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    line-height: 2;
    margin: 0;
    word-break: keep-all;
}

/* ===== Headline Wrapper 스타일 ===== */
.title-section-area .headline-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.title-section-area .headline-wrapper .title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #222 !important;
    letter-spacing: -1px;
}

.title-section-area .headline-wrapper .headline {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* ===== Checkpoint Items 섹션 ===== */
.checkpoint-wrapper {
    margin-top: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.checkpoint-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.checkpoint-items:has(.checkpoint-column) {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 30px;
}

.checkpoint-item {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    text-align: center;
}

.checkpoint-item.checkpoint-column {
    grid-column: span 1;
    padding: 30px 25px;
}

.check-num {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.check-num span {
    font-size: 14px;
    color: #a0a3ff;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.check-num b {
    color: #a0a3ff;
    font-weight: 700;
    font-size: 32px;
    display: block;
    text-align: center;
}

.check-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* ===== 반응형: 히어로 & Prologue ===== */
@media (max-width: 992px) {
    .forehead-hero-container,
    .prologue-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 30px;
    }

    .forehead-hero-section {
        padding: 80px 0;
        min-height: auto;
    }

    .forehead-hero-title {
        font-size: 42px;
    }

    .forehead-hero-highlight {
        font-size: 22px;
    }

    .prologue-section {
        padding: 80px 0;
    }

    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 30px;
    }

    .checkpoint-wrapper {
        padding: 0;
    }

    .checkpoint-items {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .checkpoint-items:has(.checkpoint-column) {
        grid-template-columns: repeat(2, 1fr);
    }

    .point-message-wrapper {
        padding: 40px 0;
    }

    .point-message {
        padding: 0 30px;
    }

    .point-text {
        font-size: 18px;
        line-height: 1.9;
    }
}

@media (max-width: 768px) {
    .forehead-hero-section {
        min-height: 700px;
    }

    .forehead-hero-background img.pc-bg {
        display: none;
    }

    .forehead-hero-background img.mobile-bg {
        display: block;
    }

    .forehead-hero-container {
        padding: 50px 25px;
        gap: 0;
        grid-template-columns: 1fr;
        min-height: 700px;
    }

    .forehead-hero-image {
        display: none;
    }

    .forehead-hero-text {
        position: relative;
        z-index: 2;
        padding: 0;
    }

    .forehead-hero-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
        color: rgba(255, 255, 255, 0.9);
    }

    .forehead-hero-title {
        font-size: 48px;
        color: #222;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .forehead-hero-desc {
        font-size: 15px;
        color: #555;
        margin-bottom: 30px;
    }

    .forehead-hero-highlight {
        font-size: 22px;
        color: #ff9aa2;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .forehead-hero-note {
        font-size: 15px;
        color: #555;
        line-height: 1.7;
    }

    .forehead-hero-watermark {
        font-size: 36px;
        letter-spacing: 10px;
        bottom: 20px;
        color: rgba(255, 255, 255, 0.25);
    }

    .prologue-section {
        padding: 60px 0;
    }

    .prologue-container {
        padding: 0 20px;
        gap: 40px;
    }

    .badge-text {
        font-size: 36px;
    }

    .prologue-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .desc-highlight {
        font-size: 15px;
    }

    .doctor-badge {
        bottom: 20px;
        right: 20px;
        padding: 12px 15px;
    }

    .badge-icon {
        width: 35px;
        height: 35px;
    }

    .badge-name {
        font-size: 14px;
    }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .case-content {
        padding: 20px 15px;
    }

    .case-content h4 {
        font-size: 15px;
    }

    .title-section-area .headline-wrapper .title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .title-section-area .headline-wrapper .headline {
        font-size: 15px;
        line-height: 1.7;
    }

    .checkpoint-wrapper {
        padding: 0;
    }

    .checkpoint-items {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .checkpoint-items:has(.checkpoint-column) {
        grid-template-columns: 1fr;
    }

    .checkpoint-item {
        padding: 25px 20px;
    }

    .point-message-wrapper {
        padding: 30px 0;
    }

    .point-message {
        padding: 0 20px;
    }

    .point-text {
        font-size: 16px;
        line-height: 1.8;
    }

    .check-num span {
        font-size: 13px;
    }

    .check-num b {
        font-size: 28px;
    }

    .check-desc {
        font-size: 14px;
        line-height: 1.7;
    }
}
