/* ===========================================================================
   치주관리 (/perio) 전용 스타일
   공통(헤더/퀵메뉴/푸터/.mark/.mark--label/토큰)은 main.css 에 있다.
   =========================================================================== */

/* 시안: 섹션 2250px, 헤드 top 153 / 하단 여백 263 */
.perio {
    padding: 153px 0 263px;
    background: #f3f3f3 url('/static/images/perio/bg.webp') no-repeat center top / cover;
}

.perio__head {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.perio__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-brown);
}

.perio__note {
    font-size: 18px;
    letter-spacing: -0.4px;
    color: var(--c-title);
}

.perio__lead {
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: -0.9px;
    color: var(--c-body);
}

/* 소제목 / 본문 (카드와 3행이 공유) ------------------------------------------- */
.perio-sub {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.6px;
    color: var(--c-brown-mid);
}

.perio-sub span {
    font-weight: 400;
}

.perio-body {
    margin-top: 16px;
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: -0.9px;
    color: var(--c-body);
}

.perio-body p + p {
    margin-top: 32px;
}

.perio-body b {
    font-weight: 700;
    letter-spacing: -0.6px;
    color: var(--c-text);
}

/* 첫 카드의 마지막 줄만 형광펜 + 짙은 갈색 */
.perio-intro .perio-body b {
    color: #4c392b;
}

/* 가로 전체 카드 -------------------------------------------------------------- */
.perio-intro {
    position: relative;
    margin-top: 54px;
}

.perio-intro__bg {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1170 / 360;
    object-fit: cover;
}

.perio-intro__copy {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
}

/* 사진 + 설명 3행 ------------------------------------------------------------- */
.perio-rows {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* 570 + 70 = 640 (시안의 우측 텍스트 시작점) */
.perio-row {
    display: flex;
    align-items: center;
    gap: 70px;
}

.perio-row > img {
    flex: 0 0 570px;
    width: 570px;
    height: auto;
    aspect-ratio: 570 / 360;
    object-fit: cover;
}

.perio-row__copy {
    min-width: 0;
}

/* ⊕ 목록 */
.perio-points {
    margin-top: 16px;
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: -0.9px;
    color: var(--c-brown-mid);
}

.perio-points li {
    padding-left: 28px;
    position: relative;
}

.perio-points li::before {
    content: '\2295';
    position: absolute;
    left: 0;
}

/* 반응형 — 모바일 시안이 없어 PC 시안을 축소 해석한 값이다 --------------------- */
@media (max-width: 1230px) {
    .perio {
        padding: 90px 0 100px;
    }

    .perio__title {
        font-size: 40px;
    }

    .perio-intro__copy {
        left: 40px;
        right: 40px;
    }

    .perio-sub {
        font-size: 24px;
    }

    .perio-body,
    .perio-points {
        font-size: 18px;
    }

    .perio-row {
        gap: 40px;
    }

    .perio-row > img {
        flex: 0 1 460px;
        width: 460px;
    }
}

@media (max-width: 900px) {
    /* 카드 위 글자가 사진을 다 덮으므로 사진을 배경으로 내리고 글을 흐름에 둔다 */
    .perio-intro {
        border-radius: 25px;
        overflow: hidden;
        background-color: #fff;
    }

    .perio-intro__copy {
        position: static;
        transform: none;
        padding: 30px 24px;
    }

    .perio-row {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .perio-row > img {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .perio {
        padding: 60px 0 70px;
    }

    .perio__head {
        gap: 14px;
    }

    .perio__title {
        font-size: 28px;
    }

    .perio__note {
        font-size: 14px;
    }

    .perio__lead {
        font-size: 16px;
        letter-spacing: -0.5px;
    }

    .perio-intro {
        margin-top: 30px;
    }

    .perio-sub {
        font-size: 20px;
        letter-spacing: -0.5px;
    }

    .perio-body,
    .perio-points {
        margin-top: 12px;
        font-size: 15px;
        letter-spacing: -0.5px;
    }

    .perio-body p + p {
        margin-top: 20px;
    }

    .perio-body b {
        letter-spacing: -0.5px;
    }

    .perio-points li {
        padding-left: 22px;
    }

    .perio-rows {
        margin-top: 35px;
        gap: 35px;
    }
}
