:root {
    --primary-color: #6a605e;
    --dark-text: #2f2f2f;
    --accent-beige: #c4a589;
    --highlight-orange: #e89933;
    --light-bg: #f8f7f5;
    --border-light: #e5e0d9;
    --white: #ffffff;
}


/* 메인 컨테이너 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
}

/* 목록 스타일 제거 및 그리드 레이아웃 */
.treatment-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

/* 카드 아이템 */
.treatment-item {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.treatment-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* 이미지 영역 */
.item-image {
    width: 100%;
    /* aspect-ratio: 1; */
    background: linear-gradient(135deg, #ddd 0%, #ccc 100%);
    overflow: hidden;
    position: relative;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.treatment-item:hover .item-image img {
    transform: scale(1.05);
}

/* 제목 바 */
.item-title-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 16px;
    text-align: center;
    /* min-height: 50px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-title {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--white);
}

/* 본문 영역 */
.item-content {
    padding: 18px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.5;
    min-height: 43px;
}

.item-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

/* 강조색 바 */
.item-accent {
    height: 3px;
    background: var(--accent-beige);
    margin-top: auto;
}

/* 태블릿 반응형 */
@media (max-width: 1024px) {
    .container {
        padding: 50px 25px;
    }

    .treatment-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .item-image {
        aspect-ratio: 1;
    }

    .item-title {
        font-size: 0.95rem;
    }

    .item-subtitle {
        font-size: 0.85rem;
    }

    .item-description {
        font-size: 0.8rem;
    }

    .item-content {
        padding: 15px 14px;
    }

    .item-title-bar {
        padding: 12px 14px;
        min-height: 45px;
    }
}

/* 소형 태블릿 */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    .treatment-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .item-title {
        font-size: 0.9rem;
    }

    .item-subtitle {
        font-size: 0.8rem;
    }

    .item-description {
        font-size: 0.75rem;
    }

    .item-content {
        padding: 12px 12px;
    }

    .item-title-bar {
        padding: 10px 12px;
        min-height: 40px;
    }
}

/* 모바일 */
@media (max-width: 600px) {
    .container {
        padding: 30px 16px;
    }

    .treatment-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .item-image {
        aspect-ratio: 1.1;
    }

    .item-title {
        font-size: 0.85rem;
    }

    .item-subtitle {
        font-size: 0.75rem;
    }

    .item-description {
        font-size: 0.7rem;
    }

    .item-content {
        padding: 10px 12px;
    }

    .item-title-bar {
        padding: 8px 12px;
        min-height: 38px;
    }
    .item-subtitle {
        min-height: unset;
    }
}

/* 소형 모바일 */
@media (max-width: 400px) {
    .container {
        width: 90%;
        padding: 25px 12px;
    }

    .treatment-list {
        gap: 15px;
    }

    .item-image {
        aspect-ratio: 1.5;
    }

    .item-title {
        font-size: 0.8rem;
    }

    .item-subtitle {
        font-size: 0.7rem;
    }

    .item-description {
        font-size: 0.65rem;
    }

    .item-content {
        padding: 8px 10px;
        gap: 6px;
    }

    .item-title-bar {
        padding: 6px 10px;
        min-height: 35px;
    }
}



/* #column Container */
#column {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
}

.col-img {
    width: 100%;
    max-width: 1200px;
    margin: 5rem auto;

    >img {
        width: 100%;
    }
}

/* Header */
.column-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a524f 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.column-title::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(196, 165, 137, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.header-label {
    display: inline-block;
    background-color: var(--highlight-orange);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.column-title h1,
.column-title .h1x {
    font-size: clamp(1.8rem, 5vw, 2rem);
    color: var(--white);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 15px;
    word-break: keep-all;
}

.header-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 10px;
}

.clinic-name {
    font-size: 0.95rem;
    opacity: 0.85;
    font-style: italic;
}

/* 인트로 섹션 */
.intro-section {
    background: var(--white);
    padding: 40px 35px;
    border-radius: 8px;
    border-left: 5px solid var(--highlight-orange);
    margin-bottom: 10rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.intro-section p {
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 18px;
}

.intro-section p:last-child {
    margin-bottom: 0;
}

/* 섹션 */
.column_section {
    margin-bottom: 10rem;
}

.column_section h2 {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 3px solid var(--accent-beige);
    word-break: keep-all;
}

.intro-section h3,
.column_section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin: 50px auto 15px;
    word-break: keep-all;
}

.column_section h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 30px 0;
    word-break: keep-all;
}

.column_section p {
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 18px;
    text-align: justify;
    word-break: keep-all;
}

.column_section strong {
    font-weight: 800;
}

.column_section i {
    margin-right: 10px;
}

/* 강조 상자 */
.highlight-box {
    background: linear-gradient(135deg, rgba(232, 153, 51, 0.08) 0%, rgba(196, 165, 137, 0.06) 100%);
    padding: 30px;
    border-left: 4px solid var(--highlight-orange);
    margin: 35px 0;
    border-radius: 6px;
}

.highlight-box p {
    margin-bottom: 12px;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* 이미지-텍스트 병렬 레이아웃 */
.image-text-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 35px 0;
}

.image-text-wrapper .image-section {
    flex: 0 0 30%;
}

.image-text-wrapper .image-section img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.image-text-wrapper .text-section {
    flex: 1;
}

.image-text-wrapper .text-section p {
    margin-bottom: 16px;
}

.image-text-wrapper .text-section p:last-child {
    margin-bottom: 0;
}

/* 이미지 설명 */
.image-caption {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    margin-top: 12px;
    padding: 15px;
    background-color: var(--white);
    border-radius: 6px;
    border-left: 3px solid var(--accent-beige);
}

/* 포인트 리스트 */
.points-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 25px 0;
}

.points-list li {
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
    font-size: 1rem;
    line-height: 1.8;
}

.points-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--highlight-orange);
    font-size: 1.3rem;
}

/* 블럭 콘텐츠 */
.content-block {
    background: var(--white);
    padding: 30px 35px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.content-block p {
    margin-bottom: 16px;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* 하단 프로필 섹션 */
.footer-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 35px;
    border-radius: 8px;
    text-align: center;
    margin-top: 60px;
}

.footer-section h2 {
    color: var(--white);
    border-bottom-color: var(--accent-beige);
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 16px;
}

.cta-button {
    display: inline-block;
    background-color: var(--highlight-orange);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
}

.cta-button:hover {
    background-color: #d97e1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 153, 51, 0.3);
}

/* 저작권 및 정책 */
.disclaimer {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.85rem;
    color: #999;
    margin: 40px auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    line-height: 1.7;
    text-align: center;

    >p {
        text-align: center;
    }
}

.disclaimer strong {
    color: var(--dark-text);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    #column {
        padding: 40px 20px;
    }

    .column-title {
        padding: 45px 20px;
    }

    .column-title h1,
.column-title .h1x {
        font-size: 1.6rem;
    }

    .column_section h2 {
        font-size: 1.3rem;
    }

    .intro-section h3,
    .column_section h3 {
        font-size: 1.2rem;
    }

    .intro-section,
    .content-block,
    .footer-section {
        padding: 25px 20px;
    }

    .column_section p {
        font-size: 0.95rem;
        text-align: left;
    }

    .points-list li {
        padding-left: 28px;
        font-size: 0.95rem;
    }

    .highlight-box {
        padding: 20px;
    }

    /* 모바일에서 이미지-텍스트 위아래 배치 */
    .image-text-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .image-text-wrapper .image-section {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    #column {
        padding: 30px 16px;
    }

    .col-img {
        margin: 2rem auto;
    }

    .intro-section,
    .column_section {
        margin-bottom: 5rem;
    }

    .column-title {
        padding: 35px 16px;
    }

    .column-title h1,
.column-title .h1x {
        font-size: 1.4rem;
    }

    .column_section h2 {
        font-size: 1.15rem;
        line-height: 1.5;
        padding-bottom: 10px;
    }

    .column_section h3 {
        font-size: 1.05rem;
        line-height: 1.2;
    }   
    .column_section strong {
        font-size: inherit;
        line-height: inherit;
    }
    .intro-section,
    .content-block,
    .footer-section {
        padding: 20px 16px;
    }

    .column_section p {
        font-size: 0.9rem;
        line-height: 1.75;
    }

    .header-label {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

/* =========================
   예약 / 상담 버튼
========================= */
.col-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 3rem auto;
}

.col-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    height: 58px;
    padding: 0 20px;
    border-radius: 8px;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 21px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.col-btn a i {
    font-size: 18px;
}

/* 네이버 예약 */
.col-btn .btn-naver {
    color: #fff;
    background: #03C75A;
}

.col-btn .btn-naver:hover {
    background: #02b351;
}

/* 전화 상담 */
.col-btn .btn-tel {
    color: #fff;
    background: #c4a589;
}

.col-btn .btn-tel:hover {
    background: #b69171;
}

/* 카카오톡 상담 */
.col-btn .btn-kakao {
    color: #191919;
    background: #FEE500;
}

.col-btn .btn-kakao:hover {
    background: #f5dc00;
}


/* =========================
   모바일
========================= */
@media (max-width: 768px) {

    .col-btn {
        gap: 7px;
    }

    .col-btn a {
        height: 52px;
        padding: 0 10px;
        gap: 5px;
        border-radius: 6px;
        font-size: 14px;
    }

    .col-btn a i {
        font-size: 15px;
    }

}