/* 기본 스타일 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", system-ui, sans-serif;
    color: #4f3c22;
    background: #ffe47a;
}

body {
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 64px 0;
}

.section-alt {
    padding: 64px 0;
    background: #ffef9d;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 0 0 8px;
}

.section-subtitle {
    text-align: center;
    margin: 0 0 32px;
    font-size: 0.95rem;
    opacity: 0.85;
}

/* 헤더 */
.site-header {
    background: radial-gradient(circle at top left, #fff1a8 0, #ffd55a 55%, #ffc93c 100%);
    padding: 24px 0 32px;
    position: relative;
    overflow: hidden;
}

    .site-header::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(#ffd55a 1px, transparent 1px);
        background-size: 12px 12px;
        opacity: 0.3;
        pointer-events: none;
    }

    .site-header .inner {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1c9440;
    color: #fffbd5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-tagline {
    font-size: 0.8rem;
    opacity: 0.8;
}

.header-copy p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: right;
}

/* 네비게이션 (주황색 메뉴) */
.main-nav {
    background: #ff8b1f;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

    .main-nav .inner {
        display: flex;
    }

    .main-nav ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .main-nav li {
        flex: 1;
    }

    .main-nav a {
        display: block;
        padding: 12px 6px;
        text-align: center;
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        color: #fff7dd;
        border-right: 1px solid rgba(255, 255, 255, 0.3);
        transition: background 0.2s, transform 0.1s;
    }

    .main-nav li:last-child a {
        border-right: none;
    }

    .main-nav a:hover {
        background: rgba(255, 255, 255, 0.18);
        transform: translateY(-1px);
    }

    .main-nav a.active {
        background: rgba(255, 255, 255, 0.3);
        color: #8b3e12;
    }

/* 히어로 */
.hero {
    padding: 48px 0 56px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 32px;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

/* 병 일러스트 느낌 */
.hero-bottle {
    width: 200px;
    height: 260px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottle-cap {
    width: 110px;
    height: 28px;
    background: #1c9440;
    border-radius: 50px 50px 28px 28px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}

.bottle-body {
    margin-top: -6px;
    width: 180px;
    height: 220px;
    border-radius: 120px 120px 40px 40px;
    background: #fff6bf;
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 4px solid #ffe27a;
}

.bottle-logo {
    font-weight: 800;
    font-size: 1.3rem;
    color: #26a244;
}

.bottle-label {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ffdf6e;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.hero-text h1 {
    margin: 0 0 16px;
    font-size: 2rem;
}

.hero-text p {
    margin: 0 0 20px;
    font-size: 0.95rem;
}

.btn-primary {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 40px;
    background: #ff8b1f;
    color: #fffdf3;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 0 rgba(204, 101, 0, 0.75);
    transform: translateY(0);
    transition: transform 0.1s, box-shadow 0.1s, background 0.2s;
}

    .btn-primary:hover {
        transform: translateY(2px);
        box-shadow: 0 2px 0 rgba(204, 101, 0, 0.6);
        background: #ff982f;
    }

    .btn-primary.wide {
        min-width: 220px;
        text-align: center;
    }

.center {
    text-align: center;
    margin-top: 24px;
}

/* 카드 레이아웃 */
.cards-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.card {
    background: #fffdf4;
    border-radius: 24px;
    padding: 24px 22px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

    .card::before {
        content: "";
        position: absolute;
        right: -40px;
        top: -40px;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        border: 12px dotted rgba(255, 214, 110, 0.7);
        opacity: 0.7;
    }

    .card h3 {
        margin: 0 0 8px;
        font-size: 1.2rem;
    }

.card-tag {
    margin: 0 0 16px;
    font-size: 0.9rem;
    color: #bf6500;
}

.card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

    .card-list li {
        position: relative;
        padding-left: 18px;
        margin-bottom: 8px;
    }

        .card-list li::before {
            content: "•";
            position: absolute;
            left: 4px;
            top: 0;
            color: #ff8b1f;
        }

/* 요금 카드 */
.pricing-card {
    padding-top: 28px;
}

    .pricing-card::before {
        border-color: rgba(255, 181, 88, 0.9);
    }

.price {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 10px;
}

    .price span {
        font-size: 0.9rem;
        font-weight: 500;
        margin-right: 4px;
    }

/* 수업 흐름 */
.flow-steps {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

    .flow-steps li {
        background: #fffdf4;
        border-radius: 20px;
        padding: 16px 18px;
        box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
        position: relative;
    }

    .flow-steps h3 {
        margin: 0 0 6px;
        font-size: 0.98rem;
    }

    .flow-steps p {
        margin: 0;
        font-size: 0.88rem;
    }

.inline-link {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}

.require {
    color: #d12323;
    font-weight: 700;
}

.flow-note {
    margin: 8px 0 24px;
    font-size: 0.86rem;
    opacity: 0.8;
}

.info-box {
    background: #fffdf4;
    border-radius: 20px;
    padding: 16px 18px;
    margin-top: 12px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.06);
    font-size: 0.9rem;
}

    .info-box h3 {
        margin: 0 0 6px;
        font-size: 0.96rem;
    }

/* 커리큘럼 */
.curriculum-wrapper {
    overflow-x: auto;
}

.curriculum-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 480px;
}

    .curriculum-table th,
    .curriculum-table td {
        border: 1px solid rgba(227, 193, 99, 0.9);
        padding: 10px 12px;
    }

    .curriculum-table th {
        background: #ffdc7f;
        text-align: left;
    }

    .curriculum-table tbody tr:nth-child(even) {
        background: #fffaf0;
    }

/* 푸터 */
.site-footer {
    padding: 24px 0 32px;
    background: #ffd763;
    border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
}

.footer-logo {
    font-weight: 700;
}

/* 반응형 */
@media (max-width: 768px) {
    .site-header .inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-copy p {
        text-align: left;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: -1;
    }

    .cards-2col {
        grid-template-columns: 1fr;
    }

    .main-nav ul {
        flex-wrap: wrap;
    }

    .main-nav li {
        flex: 1 1 50%;
    }
}

@media (max-width: 480px) {
    .main-nav li {
        flex: 1 1 100%;
    }

    .hero-bottle {
        width: 160px;
        height: 220px;
    }

    .bottle-body {
        width: 150px;
        height: 190px;
    }
}
.badge-closed {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-card.closed {
    opacity: 0.9;
}

    .pricing-card.closed .price {
        text-decoration: line-through;
        text-decoration-thickness: 2px;
    }

.card-note {
    font-size: 0.8rem;
    margin: 4px 0 0;
    opacity: 0.9;
}


.promo-popup {
    position: fixed;
    right: 24px;
    bottom: 24px;
    max-width: 320px;
    background: #fffdf4;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    padding: 16px 18px 14px;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 100;
}

    .promo-popup.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

.promo-popup-title {
    font-weight: 700;
    margin: 0 0 4px;
    color: #d35400;
}

.promo-popup-text {
    margin: 0 0 4px;
}

.promo-popup-highlight {
    font-weight: 700;
}

.promo-popup-close {
    position: absolute;
    top: 6px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 1rem;
    cursor: pointer;
    color: #b08a4a;
}
.promo-popup-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #ffd85a; /* 노란색 버튼 */
    color: #5b3a10;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 0 rgba(190, 136, 34, 0.7);
    transform: translateY(0);
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}

    .promo-popup-btn:hover {
        background: #ffe27f;
        transform: translateY(2px);
        box-shadow: 0 2px 0 rgba(190, 136, 34, 0.6);
    }

/* 선생님 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", system-ui, sans-serif;
    color: #1f2933;
    background: #f3faf7;
}

.teacher-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 상단 타이틀 영역 */
.teacher-hero {
    padding: 48px 16px 24px;
    background: #e6f7f1;
}

.teacher-hero-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.teacher-title {
    margin: 0 0 8px;
    font-size: 2.2rem;
    font-weight: 800;
    color: #16a34a;
}

.teacher-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
}

/* 슬라이더 섹션 */
.teacher-slider-section {
    flex: 1;
    padding: 32px 16px 56px;
}

.teacher-slider-wrapper {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

/* 카드 외곽 (큰 하얀 카드) */
.teacher-card-outer {
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
    padding: 32px 40px;
    overflow: hidden;
}

/* 카드 트랙 (슬라이드 영역) */
.teacher-card-track {
    display: flex;
    transition: transform 0.4s ease;
}

/* 개별 카드 */
.teacher-card {
    min-width: 100%;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    gap: 32px;
}

.teacher-avatar {
    display: flex;
    justify-content: center;
}

.avatar-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #111827, #4b5563);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.5);
}

/* 오른쪽 텍스트 */
.teacher-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.teacher-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: #d1fae5;
    color: #059669;
    font-size: 0.8rem;
    font-weight: 600;
}

.teacher-main-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
}

.teacher-desc {
    margin: 4px 0;
    font-size: 0.95rem;
    color: #4b5563;
}

.teacher-meta {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* 화살표 버튼 */
.teacher-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: #e6f7f1;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    font-size: 1.2rem;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s;
}

    .teacher-nav-btn:hover {
        transform: translateY(2px);
        box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
        background: #ccf0e3;
    }

/* dots */
.teacher-dots {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.teacher-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

    .teacher-dot.active {
        width: 18px;
        background: #16a34a;
    }

/* 하단 버튼 */
.teacher-bottom-cta {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.teacher-comment-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 999px;
    background: #16a34a;
    color: #f9fafb;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 16px 35px rgba(22, 163, 74, 0.45);
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

    .teacher-comment-btn:hover {
        transform: translateY(2px);
        box-shadow: 0 10px 24px rgba(22, 163, 74, 0.38);
        background: #18b153;
    }

/* 반응형 */
@media (max-width: 768px) {
    .teacher-slider-wrapper {
        grid-template-columns: 1fr;
    }

    .teacher-nav-btn {
        display: none;
    }

    .teacher-card-outer {
        padding: 24px 18px;
    }

    .teacher-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .teacher-info {
        align-items: center;
    }

    .teacher-badge {
        align-self: center;
    }
}

/* ===================== 선생님 소개 상단 타이틀 ===================== */

.teacher-hero {
    padding: 56px 16px 28px;
    background: linear-gradient(180deg, #fff9e8 0%, #fff3d4 60%, #fffaf0 100%);
}

.teacher-hero-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.teacher-title {
    margin: 0 0 8px;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ff8b1f; /* 메인 오렌지 */
}

.teacher-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: #8b6a3a;
}

/* ===================== 선생님 소개 상단 타이틀 ===================== */

.teacher-hero {
    padding: 56px 16px 28px;
    background: linear-gradient(180deg, #fff9e8 0%, #fff3d4 60%, #fffaf0 100%);
}

.teacher-hero-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.teacher-title {
    margin: 0 0 8px;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ff8b1f; /* 메인 오렌지 */
}

.teacher-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: #8b6a3a;
}

/* ===================== 선생님 소개 메인 카드 ===================== */

.teacher-section {
    padding: 40px 0 72px;
    background: linear-gradient(180deg, #fffaf0 0%, #fffdf7 50%, #fff7e3 100%);
}

.teacher-header {
    text-align: center;
    margin-bottom: 32px;
}

.teacher-title-ko {
    margin: 0 0 8px;
    font-size: 2.1rem;
    font-weight: 800;
    color: #ff8b1f;
}

.teacher-subtitle-ko {
    margin: 0;
    font-size: 0.95rem;
    color: #8b6a3a;
}

/* 레이아웃 */

.teacher-slider-wrapper {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

/* 큰 흰색 카드 */

.teacher-card-outer {
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 18px 60px rgba(138, 94, 36, 0.18);
    padding: 32px 40px;
    overflow: hidden;
}

.teacher-card-track {
    display: flex;
    transition: transform 0.4s ease;
}

/* 개별 카드 */

.teacher-card {
    min-width: 100%;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    gap: 32px;
}

.teacher-avatar {
    display: flex;
    justify-content: center;
}

/* 동글 캐릭터 (필요하면 img 로 교체) */

.teacher-avatar-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 15px 30px rgba(92, 64, 29, 0.45);
}


.avatar-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffffff 0%, #f0e4d1 35%, #c7b39a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b2b15;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 15px 30px rgba(92, 64, 29, 0.45);
}

/* 오른쪽 텍스트 */

.teacher-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.teacher-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ffe7b3;
    color: #8b4b00;
    font-size: 0.8rem;
    font-weight: 600;
}

.teacher-main-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #3b2b15;
}

.teacher-desc {
    margin: 4px 0;
    font-size: 0.95rem;
    color: #5c4630;
}

.teacher-meta {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: #a68a63;
}

/* 화살표 버튼 (연한 크림색 + 오렌지 아이콘) */

.teacher-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: #fff7e1;
    color: #ff8b1f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(138, 94, 36, 0.12);
    font-size: 1.2rem;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s;
}

    .teacher-nav-btn:hover {
        transform: translateY(2px);
        box-shadow: 0 6px 20px rgba(138, 94, 36, 0.16);
        background: #ffe9bd;
    }

/* dot 인디케이터 */

.teacher-dots {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.teacher-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: #e2d6c0;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

    .teacher-dot.active {
        width: 18px;
        background: #ff8b1f;
    }

/* 하단 CTA 버튼 */

.teacher-bottom-cta {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.teacher-comment-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8b1f, #ffb84d);
    color: #fffdf4;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 16px 35px rgba(189, 110, 25, 0.45);
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

    .teacher-comment-btn:hover {
        transform: translateY(2px);
        box-shadow: 0 10px 24px rgba(189, 110, 25, 0.4);
    }

/* 반응형 */

@media (max-width: 768px) {
    .teacher-slider-wrapper {
        grid-template-columns: 1fr;
    }

    .teacher-nav-btn {
        display: none;
    }

    .teacher-card-outer {
        padding: 24px 18px;
    }

    .teacher-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .teacher-info {
        align-items: center;
    }

    .teacher-badge {
        align-self: center;
    }
}

/* 메뉴 모양 재배치: 히어로 아래, 가운데 둥근 사각형 */
.main-nav {
    background: transparent;
    box-shadow: none;
    position: static;      /* sticky 해제 */
    margin: 16px 0 24px;
}

.main-nav .inner {
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 8px;
    background: #ff8b1f;
    border-radius: 28px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
    width: auto;
    overflow: hidden;
}

.main-nav li {
    flex: 0 0 auto;
}

.main-nav a {
    padding: 10px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.main-nav li:last-child a {
    border-right: none;
}

/* スクール紹介 가운데 정렬 */
#about .section-title,
#about p {
  text-align: center;
}


/* === 皆の声 / レビュー 영역 공통 === */
.reviews-section {
  background: #f5f7fb;
  padding: 40px 0;
}

.reviews-section .inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
  font-size: 14px;
}

/* 상단 점수 요약 */
.reviews-summary {
  display: flex;
  gap: 32px;
  align-items: flex-end;
  margin-bottom: 12px;
}

.reviews-label {
  font-size: 12px;
  color: #777;
  margin-bottom: 4px;
}

.reviews-score-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.reviews-score-number {
  font-size: 40px;
  font-weight: 700;
  color: #222;
}

.reviews-score-stars {
  font-size: 18px;
  color: #ffb400;
}

.reviews-satisfaction-percent {
  font-size: 28px;
  font-weight: 700;
  color: #222;
}

/* 긍정리뷰 Pick / 부정리뷰 Pick 탭 */
.reviews-tabs {
  display: flex;
  gap: 10px;
  margin: 12px 0 18px;
}

.reviews-tab {
  border: none;
  padding: 6px 16px;
  border-radius: 999px;
  background: #f0f1f6;
  color: #444;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.reviews-tab.active {
  background: #ffe6f0;
  color: #d62b63;
}

/* 리뷰 카드 */
.review-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  padding: 22px 20px 18px;
  position: relative;
}

.review-bubble {
  position: relative;
  background: linear-gradient(135deg, #f8f6ff, #f1fbff);
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.review-quote-icon {
  position: absolute;
  top: -10px;
  left: 12px;
  font-size: 32px;
  color: rgba(0, 0, 0, 0.08);
}

.review-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.review-bubble p {
  margin: 0 0 10px;
  line-height: 1.7;
}

/* 말풍선 꼬리 느낌 */
.review-card::after {
  content: "";
  position: absolute;
  left: 40px;
  bottom: -16px;
  border-width: 16px 12px 0 12px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

/* 카드 하단 프로필 + 좋아요 */
.review-footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffe0eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #c0225a;
}

.review-user-name {
  font-size: 13px;
  font-weight: 600;
}

.review-user-meta {
  font-size: 11px;
  color: #777;
}

.review-like-btn {
  border: 1px solid #ffd5e5;
  background: #fff7fb;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #d62b63;
  cursor: pointer;
}

/* 접기 / 펼치기용 스타일 */
.review-text {
  max-height: 280px;          /* 여기 숫자로 보이는 길이 조절 */
  overflow: hidden;
  position: relative;
}

/* 아래쪽 그라데이션로 자연스럽게 잘리는 효과 */
.review-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  background: linear-gradient(to bottom,
              rgba(248,246,255,0),
              rgba(248,246,255,1));
}

/* 펼쳐졌을 때는 제한 없애기 */
.review-text.is-expanded {
  max-height: none;
}

.review-text.is-expanded::after {
  content: none;
}

/* 버튼 모양 */
.review-toggle {
  margin-top: 10px;
  background: #fff0f6;
  border-radius: 999px;
  border: 1px solid #ffc6de;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #d62b63;
  cursor: pointer;
}