/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --color-bg: #ffffff;
    --color-surface: #f7f7f5;
    --color-surface2: #efefec;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-text: #111111;
    --color-text-muted: rgba(17, 17, 17, 0.45);
    --color-accent: #111111;
    --color-accent-dim: rgba(17, 17, 17, 0.07);
    --color-accent2: #555555;
    --nav-height: 64px;
    --section-pad: clamp(60px, 10vh, 120px);
    --font-display: 'Freesentation', sans-serif;
    --font-body: 'Freesentation', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    font-size: 16px;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.65;
}

/* ===== FREESENTATION FONT =====
 * 최적화: 9개 weight → 3개로 병합 (트래픽 절감)
 * - Regular(400)이 400-500 커버
 * - Bold(700)이 600-700 커버
 * - ExtraBold(800)이 800-900 커버
 * - 사용하지 않는 Thin/ExtraLight/Light(100-300)는 제거
 */
@font-face {
    font-family: 'Freesentation';
    src: url('assets/fonts/Freesentation-4Regular.ttf') format('truetype');
    font-weight: 400 500;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('assets/fonts/Freesentation-7Bold.ttf') format('truetype');
    font-weight: 600 700;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('assets/fonts/Freesentation-8ExtraBold.ttf') format('truetype');
    font-weight: 800 900;
    font-display: swap;
}

/* ===== NAV ===== */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    transition: background 0.3s, border-color 0.3s;
}

#main-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
}

.nav-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 max(calc((100% - 1200px) / 2), clamp(16px, 4vw, 40px));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 2px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

#main-nav.scrolled .nav-logo {
    color: var(--color-text);
}

.nav-logo-img {
    height: 28px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 20px;
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.3px;
}

#main-nav.scrolled .nav-links a {
    color: var(--color-text-muted);
}

.nav-links a:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
    color: var(--color-text);
    background: var(--color-accent-dim);
}

.nav-cta {
    font-size: 13px;
    font-weight: 600 !important;
    color: var(--color-bg) !important;
    background: var(--color-accent) !important;
    padding: 8px 20px !important;
    border-radius: 24px !important;
}

.nav-cta:hover {
    opacity: 0.85;
    background: var(--color-accent) !important;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

#main-nav.scrolled .nav-hamburger span {
    background: var(--color-text);
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE NAV DRAWER ===== */
.nav-drawer {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 20px clamp(16px, 4vw, 48px) 32px;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    gap: 4px;
}

.nav-drawer.open {
    display: flex;
}

.nav-drawer a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    transition: color 0.2s;
}

.nav-drawer a:last-child {
    border-bottom: none;
}

.nav-drawer a:hover {
    color: var(--color-text);
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px);
}

/* ===== SECTIONS ===== */
.section {
    min-height: 100vh;
    min-height: unset;
    padding: var(--section-pad) 0 var(--section-pad);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.section:not(.section--dark) {
    border-bottom: 1px solid var(--color-border);
}

.section--dark {
    background: var(--color-bg);
}

.section--surface {
    background: var(--color-surface);
}

.section--surface2 {
    background: var(--color-surface2);
}

.section--accent {
    background: var(--color-surface);
}

/* HERO - page 1 */
#section-1 {
    background: var(--color-bg);
    min-height: 100vh;
    align-items: flex-start;
    justify-content: center;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--color-text);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(52px, 10vw, 130px);
    line-height: 0.9;
    letter-spacing: 2px;
    color: var(--color-text);
    margin-bottom: 28px;
}

.hero-title span {
    color: var(--color-text);
}

.hero-sub {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--color-text-muted);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-text);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 32px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 13px 28px;
    border-radius: 32px;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
    border-color: rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.04);
}

/* ===== SECTION HEADINGS ===== */
.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 80px);
    line-height: 0.95;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title span {
    color: var(--color-text);
}

.section-desc {
    font-size: clamp(14px, 1.8vw, 17px);
    color: var(--color-text-muted);
    max-width: 560px;
    line-height: 1.75;
}

/* ===== GRID LAYOUTS ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 48px;
}

/* ===== CARD ===== */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color 0.2s, background 0.2s;
}

.card:hover {
    border-color: rgba(0, 0, 0, 0.18);
    background: rgba(0, 0, 0, 0.02);
}

.card-icon {
    width: 44px;
    height: 44px;
    background: var(--color-accent-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
}

.card-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
}

.card-body {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===== DIVIDER LINE ===== */
.divider {
    width: 48px;
    height: 2px;
    background: var(--color-text);
    margin: 20px 0 32px;
}

.divider2 {
    width: 120px;
    height: 2px;
    background: var(--color-text);
    margin: 0px 0 32px;
}

/* ===== PLACEHOLDER VISUAL ===== */
.placeholder-visual {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--color-surface2);
    border: 1px dashed rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 13px;
    gap: 10px;
    margin-top: 40px;
}

.placeholder-visual-icon {
    width: 40px;
    height: 40px;
    border: 1px dashed rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-text);
}

/* ===== SPLIT LAYOUT ===== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
    margin-top: 0;
}

.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse>* {
    direction: ltr;
}

/* ===== STAT BLOCK ===== */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 48px;
}

.stat-item {
    background: var(--color-surface);
    padding: 32px 28px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 60px);
    color: var(--color-text);
    letter-spacing: 1px;
    display: block;
}

.stat-label {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* ===== LIST ===== */
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.check-list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--color-accent-dim);
    border: 1px solid rgba(200, 241, 53, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23111111' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* ===== ACCORDION / FAQ ===== */
.faq-item {
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    user-select: none;
    gap: 16px;
}

.faq-question:hover {
    color: var(--color-text);
}

.faq-toggle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.3s, border-color 0.2s;
    color: var(--color-text);
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    border-color: var(--color-text);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.75;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding-bottom: 20px;
}

/* ===== PRICING ===== */
.pricing-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: border-color 0.2s;
}

.pricing-card.featured {
    border-color: var(--color-text);
    background: var(--color-surface);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-text);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 20px;
}

.pricing-plan {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 52px;
    line-height: 1;
    color: var(--color-text);
}

.pricing-price span {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text-muted);
    font-weight: 400;
}

.pricing-divider {
    height: 1px;
    background: var(--color-border);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    font-size: 14px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--color-text);
    font-weight: 700;
    font-size: 13px;
}

/* ===== FOOTER ===== */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 32px;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 2px;
    color: var(--color-text);
    display: block;
    margin-bottom: 14px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--color-text-muted);
    max-width: 260px;
    line-height: 1.7;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--color-text-muted);
    flex-wrap: wrap;
    gap: 12px;
}

/* ===== SCROLL DOTS ===== */
.scroll-dots {
    display: none !important;
    position: fixed;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    z-index: 999;
}

/* 트랙 — 가는 선 */
.scroll-dots-track {
    position: relative;
    width: 2px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 2px;
}

/* 슬라이딩 인디케이터 */
.scroll-dots-indicator {
    position: absolute;
    left: 0;
    width: 2px;
    background: #23943d;
    border-radius: 2px;
    transition: top 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.55s cubic-bezier(0.4, 0, 0.2, 1);

}

/* 각 도트 */
.scroll-dot {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1;
}

.scroll-dot::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    transition: background 0.3s, transform 0.3s;
}

.scroll-dot.active::after {
    background: #23943d;
    transform: scale(1.5);
}

.scroll-dot:hover:not(.active)::after {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .scroll-dots {
        display: none !important;
        display: none;
    }
}

/* ===== HERO ENTRANCE ANIMATION ===== */
@keyframes fadeUpBlur {
    0% {
        opacity: 0;
        filter: blur(4px);
        transform: translateY(16px);
    }

    100% {
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0);
    }
}

.hero-anim {
    opacity: 0;
    animation: fadeUpBlur 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-anim--delay1 {
    animation-delay: 0.15s;
}

.hero-anim--delay2 {
    animation-delay: 0.4s;
}

/* ===== MOBILE BOTTOM BAR ===== */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
    z-index: 1001;
}

.mobile-bottom-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    height: 100%;
}

.mobile-bottom-bar a:first-child {
    background: #23943d;
    color: #fff;
}

.mobile-bottom-bar a:last-child {
    background: #FEE500;
    color: #3A1D1D;
}

.mobile-bottom-bar svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}


.floating-btns {
    position: fixed;
    right: 32px;
    bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: var(--font-body);
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.float-btn svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.float-btn span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1;
}

/* 전화 — 초록 */
.float-btn--call {
    background: #23943d;
    color: #fff;
}

/* 홈페이지 — 남색 */
.float-btn--web {
    background: #1a56db;
    color: #fff;
}

/* 카카오 — 노랑 */
.float-btn--kakao {
    background: #FEE500;
    color: #3A1D1D;
}

/* TOP — 다크 */
.float-btn--top {
    background: #111;
    color: #fff;
}


/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-text), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* ===== NOISE OVERLAY ===== */
.noise {
    pointer-events: none;
    position: absolute;
    inset: 0;
    opacity: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: none;
    }

    /* top 버튼을 nav 우측에 표시 */
    #top-btn {
        position: fixed !important;
        top: 12px !important;
        right: 16px !important;
        bottom: auto !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 12px !important;
        z-index: 1100 !important;
        display: flex !important;
        background: rgba(255, 255, 255, 0.15) !important;
        box-shadow: none !important;
        border: none !important;
    }

    #main-nav.scrolled #top-btn,
    body.scrolled #top-btn {
        background: rgba(35, 148, 61, 0.15) !important;
    }

    .grid-2,
    .grid-3,
    .split-layout {
        grid-template-columns: 1fr;
    }

    .split-layout.reverse {
        direction: ltr;
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section {
        padding-top: calc(var(--nav-height) + 40px);
        padding-bottom: 60px;
        padding-left: 0;
        padding-right: 0;
    }

    #top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .floating-btns {
        display: none;
    }

    .floating-btns #top-btn {
        display: flex;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 28px 20px;
    }
}

/* ===== HERO2 (PAGE 1) ===== */
.hero2 {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.hero2-slides {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero2-slide {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    aspect-ratio: auto;
    background-size: auto 100%;
    background-position: right center;
    background-repeat: no-repeat;
    left: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero2-slide.active {
    opacity: 1;
}

/* 좌→우 흰색 페이드 */
.hero2-fade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right,
            #ffffff 35%,
            rgba(255, 255, 255, 0.6) 55%,
            rgba(255, 255, 255, 0) 75%);
}

/* 콘텐츠 영역: flex-grow로 남은 공간 채움 */
.hero2-body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 max(calc((100% - 1200px) / 2), clamp(16px, 4vw, 40px));
    padding-top: 80px;
    box-sizing: border-box;
    width: 100%;
}

.hero2-text {
    max-width: 560px;
}

@media (max-width: 768px) {
    .hero2-body {
        padding: 0 16px;
        padding-top: 80px;
        width: 100%;
    }

    .hero2-text {
        max-width: 100%;
        width: 100%;
    }

    .hero2-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero2-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
        display: flex;
    }
}

.hero2-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #23943d;
    margin-bottom: 20px;
}

.hero2-kicker-line {
    display: inline-block;
    width: 22px;
    height: 2px;
    background: #23943d;
    border-radius: 2px;
    flex-shrink: 0;
}

.hero2-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.1;
    color: #111;
    margin-bottom: 14px;
}

.hero2-title span {
    color: #23943d;
}

.hero2-sub {
    font-size: 18px;
    color: rgba(17, 17, 17, 0.55);
    line-height: 1.75;
    margin-bottom: 32px;
}

.hero2-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero2-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #23943d;
    border: 1.5px solid #23943d;
    color: #fff;
    font-family: var(--font-body);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(8, 155, 61, 0.22);
}

.hero2-btn:hover {
    background: #067a30;
    border-color: #067a30;
    transform: translateY(-2px);
}

.hero2-btn--outline {
    background: transparent;
    color: #23943d;
    box-shadow: none;
}

.hero2-btn--outline:hover {
    background: rgba(8, 155, 61, 0.07);
    color: #067a30;
    box-shadow: none;
}

/* 하단 바: 5개 개별 박스 */
.hero2-bar {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 0 80px;
    box-sizing: border-box;
}

.hero2-cards-row {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 max(calc((100% - 1200px) / 2), clamp(16px, 4vw, 40px));
    display: flex;
    gap: 12px;
}

.hero2-icon-card {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 12px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.hero2-icon-card:hover {
    box-shadow: 0 8px 28px rgba(8, 155, 61, 0.15);
    transform: translateY(-3px);
}

.hero2-icon-wrap {
    width: auto;
    height: auto;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    flex-shrink: 0;
}

.hero2-icon-card:hover .hero2-icon-wrap {
    background: transparent;
    border-color: transparent;
}

.hero2-icon-wrap svg {
    width: 42px;
    height: 42px;
}

.hero2-icon-card span {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: rgba(17, 17, 17, 0.75);
    line-height: 1.2;
}

.hero2-mobile-bullets {
    display: none;
    /* 기본(PC)에서는 숨김 */
}

@media (max-width: 768px) {
    .hero2-fade {
        background: rgba(255, 255, 255, 0.9);
    }

    .hero2-slide {
        background-position: 70% center;
        /* 이 값 조절하세요 (0%=왼쪽, 100%=오른쪽) */
    }
}

@media (max-width: 900px) {}

@media (max-width: 680px) {
    .hero2-bar-inner {
        flex-direction: column;
    }

    .hero2-bar-right,
    .hero2-bar-right--full {
        padding: 16px clamp(16px, 4vw, 40px);
    }

    .hero2-icon-card span {
        font-size: 13px;
    }

    .hero2-icon-wrap {
        width: 44px;
        height: 44px;
    }

    .hero2-icon-wrap svg {
        width: 28px;
        height: 28px;
    }

    .hero2-icon-card {
        padding: 16px 8px;
        gap: 8px;
        border-radius: 12px;
    }

    .hero2-cards-row {
        gap: 8px;
        padding: 0 10px;
        display: none;
        /* 모바일에서 카드 숨김 */
    }

    .hero2-mobile-bullets {
        display: flex;
        flex-direction: column;
        gap: 0;
        background: transparent;
        padding: 16px 24px 28px;
        width: 100%;
        box-sizing: border-box;
    }

    .hero2-mobile-bullets ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
        margin: 0 0 10px;
    }

    .hero2-mobile-bullets ul:last-child {
        margin-bottom: 0;
    }

    .hero2-mobile-bullets li {
        display: flex;
        align-items: center;
        gap: 9px;
        font-family: var(--font-display);
        font-size: 18px;
        font-weight: 400;
        color: #111;
        white-space: nowrap;
    }

    .hero2-mobile-bullets li::before {
        content: '';
        display: inline-block;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #23943d;
        flex-shrink: 0;
    }

    .hero2-btns {
        flex-direction: column;
    }

    .hero2-btn {
        justify-content: center;
    }
}

/* ===== FULLPAGE WRAP ===== */
/* 캐러셀 섹션: padding 0 강제 */
#section-2,
#section-3,
#section-4 {
    padding: 0 !important;
}

/* ===== STYLES EXTRACTED FROM HTML ===== */
/* ===== NAV scrolled ===== */
#main-nav.scrolled {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ===== SECTION 2 ===== */
#section-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100vh;
    background: #fff;
}

/* ── 타이틀 영역 ── */
.s2-title-area {
    flex-shrink: 0;
    text-align: center;
    padding: calc(var(--nav-height) + 20px) 20px 18px;
    width: 100%;
    box-sizing: border-box;
}

.s2-main-title {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 900;
    color: #111;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: none;
}

.s2-main-title span {
    color: #23943d;
}

.s2-title-bar {
    width: 56px;
    height: 3px;
    background: #23943d;
    margin: 14px auto 0;
    border-radius: 2px;
}

.s2-filter-btns {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.s2-filter-btn {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent;
    display: inline-block !important;
    font-family: 'Freesentation', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    border: 1.5px solid #23943d !important;
    background: #fff !important;
    color: #23943d !important;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.3px;
    text-decoration: none;
    user-select: none;
    box-shadow: none !important;
    outline: none !important;
    line-height: normal !important;
}

.s2-filter-btn.active,
.s2-filter-btn:hover {
    background: #23943d !important;
    color: #fff !important;
}

/* ── 캐러셀 영역 ── */
.s2-carousel-area {
    flex: 1;
    min-height: 0;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 12px 0 16px;
    box-sizing: border-box;
}

/* track wrapper: overflow visible로 clip 역할 분리 */
.s2-track-wrap {
    width: 100%;
    height: 100%;
    overflow: visible;
    position: relative;
}

/* 캐러셀 track */
.s2-carousel {
    display: flex;
    height: 100%;
    /* transition은 JS가 직접 제어 */
    will-change: transform;
    cursor: grab;
}

.s2-carousel:active {
    cursor: grabbing;
}

.s2-carousel-item {
    flex: 0 0 min(80%, 1200px);
    max-width: 1200px;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 1.5%;
    box-shadow: none;
}

/* 화살표 */
.s2-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111;
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s, background 0.2s;
}

.s2-arrow:hover {
    opacity: 1;
    background: #23943d;
    color: #fff !important;
    transform: translateY(-50%) scale(1.1);
}

.s2-arrow svg {
    width: 22px;
    height: 22px;
}

.s2-arrow--prev {
    left: max(calc((100% - 1200px) / 2 - 56px), 16px);
}

.s2-arrow--next {
    right: max(calc((100% - 1200px) / 2 - 56px), 16px);
}

/* ── 카드 래퍼 ── */
.s2-cards-wrap {
    flex-shrink: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.s2-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 max(calc((100% - 1200px) / 2), clamp(16px, 4vw, 40px));
    box-sizing: border-box;
}

.s2-card {
    padding: 24px 18px 26px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    transition: background 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.s2-card:last-child {
    border-right: none;
}

.s2-card:hover {
    background: #f0faf3;
}

.s2-card-icon svg {
    width: 44px;
    height: 44px;
}

.s2-card-title {
    font-family: 'Freesentation', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: rgba(17, 17, 17, 0.85);
    line-height: 1.2;
}

.s2-card-desc {
    font-size: 15px;
    font-weight: 500;
    color: rgba(17, 17, 17, 0.6);
    line-height: 1.6;
}

.s2-card-desc strong {
    color: #23943d;
    font-weight: 700;
}

@media (max-width: 768px) {
    .s2-carousel {
        padding: 0 8%;
        gap: 12px;
        height: auto;
        /* 높이 auto로 변경, aspect-ratio가 제어 */
        align-items: flex-start;
    }

    .s2-track-wrap {
        height: auto;
    }

    .s2-carousel-area {
        height: auto;
        padding: 12px 0 16px;
    }

    .s2-carousel-item {
        flex: 0 0 84%;
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 12px;
    }

    /* 카드: 가로형 리스트 (4페이지 모바일과 동일) */
    .s2-cards-wrap {
        padding-bottom: 60px;
    }

    .s2-cards {
        display: flex;
        flex-direction: column;
        grid-template-columns: unset;
        padding: 0 20px;
    }

    .s2-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 16px;
        padding: 16px 0;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .s2-card:last-child {
        border-bottom: none;
    }

    .s2-card:nth-child(2) {
        border-right: none;
    }

    .s2-card-icon {
        flex-shrink: 0;
        width: 46px;
        height: 46px;
        background: #f0faf3;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .s2-card-icon svg {
        width: 24px;
        height: 24px;
    }

    /* 텍스트 묶음: 제목↑ 내용↓ 세로 정렬 */
    .s2-card-title,
    .s2-card-desc {
        display: block;
        width: 100%;
    }

    .s2-card-title {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .s2-card-desc {
        font-size: 14px;
    }

    .s2-main-title {
        font-size: clamp(28px, 7vw, 44px);
    }

    .s2-arrow--prev {
        left: 4px;
    }

    .s2-arrow--next {
        right: 4px;
    }

    .s2-arrow {
        display: none;
    }

    /* section 2,3,4 모바일에서 height auto */
    #section-2,
    #section-3,
    #section-4 {
        height: auto !important;
        min-height: unset !important;
    }

    /* 캐러셀 영역 height auto */
    .s2-carousel-area {
        flex: none;
        height: auto;
        padding: 8px 0 12px;
    }

    .s2-track-wrap {
        height: auto;
    }

    .s2-carousel {
        height: auto;
    }
}



/* ===== SECTION 3 (section-2와 동일 레이아웃) ===== */
#section-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100vh;
    background: #fff;
}


/* ===== SECTION 4 (호텔급 식사) ===== */
#section-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100vh;
    background: #fff;
}


/* ===== SECTION 4 피처 영역 ===== */

/* ── PC (769px+): s2-cards 그리드처럼 ── */
.s4-features {
    flex-shrink: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 max(calc((100% - 1200px) / 2), clamp(16px, 4vw, 40px));
    box-sizing: border-box;
}

.s4-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 24px 18px 26px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.s4-feature:last-child {
    border-right: none;
}

.s4-feature-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s4-feature-icon svg {
    width: 44px;
    height: 44px;
}

.s4-feature-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.s4-feature-text strong {
    font-family: 'Freesentation', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: rgba(17, 17, 17, 0.85);
    line-height: 1.2;
}

.s4-feature-text span {
    font-size: 15px;
    font-weight: 500;
    color: rgba(17, 17, 17, 0.6);
    line-height: 1.6;
}

/* ── 모바일 (768px 이하): 가로형 리스트 유지 ── */
@media (max-width: 768px) {
    .s4-features {
        display: flex;
        flex-direction: column;
        padding: 0 20px;
        padding-bottom: 60px;
        gap: 0;
    }

    .s4-feature {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 16px;
        padding: 16px 0;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .s4-feature:last-child {
        border-bottom: none;
    }

    .s4-feature-icon {
        flex-shrink: 0;
        width: 46px;
        height: 46px;
        background: #f0faf3;
        border-radius: 12px;
    }

    .s4-feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .s4-feature-text strong {
        font-size: 16px;
    }

    .s4-feature-text span {
        font-size: 14px;
    }
}


.s2-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ===== SECTION 5 · 압도적 환자 만족도 ===== */
#section-5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    min-height: 100vh;
    background: #fff;
}

.s5-cols {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 max(calc((100% - 1200px) / 2), clamp(20px, 4vw, 40px)) 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.s5-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    min-height: 0;
    position: relative;
}

.s5-col-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Freesentation', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    flex-shrink: 0;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #23943d;
}

.s5-cards {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    position: relative;
}

/* 5번째 카드 블러 페이드 마스크 */
.s5-cards::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 22%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 100%);
    pointer-events: none;
    z-index: 2;
}

/* 카드 기본: 숨긴 상태 */
.s5-card {
    background: #f8fafb;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0s;
    transition-delay: calc(var(--i) * 0.09s);
}

/* 5번째 카드 블러 */
.s5-card:nth-child(5) {
    filter: blur(3px);
    opacity: 0;
}

/* 진입 시 등장 */
#section-5.s5-visible .s5-card {
    opacity: 1;
    transform: translateY(0);
}

/* 5번째는 살짝 보일랑말랑 */
#section-5.s5-visible .s5-card:nth-child(5) {
    opacity: 0.35;
    filter: blur(2.5px);
    transition-delay: calc(4 * 0.09s);
}

.s5-stars {
    font-size: 16px;
    color: #FFB800;
    letter-spacing: 1px;
    flex-shrink: 0;
    line-height: 1;
}

.s5-text {
    font-size: clamp(14px, 1.3vw, 17px);
    font-weight: 600;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.72);
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.s5-author {
    font-size: clamp(13px, 1vw, 15px);
    color: rgba(17, 17, 17, 0.38);
    font-style: italic;
    flex-shrink: 0;
    line-height: 1;
}

/* ── 모바일 ── */
@media (max-width: 768px) {
    #section-5 {
        overflow-y: auto;
    }

    .s5-cols {
        grid-template-columns: 1fr;
        overflow: visible;
        height: auto;
        padding-bottom: 72px;
        gap: 20px;
        flex: none;
    }

    .s5-col {
        overflow: visible;
    }

    .s5-cards {
        overflow: hidden;
        max-height: 380px;
    }

    .s5-card {
        flex: none;
        min-height: unset;
    }

    .s5-text {
        font-size: 14px;
    }

    .s5-author {
        font-size: 12px;
    }
}

/* ===== SECTION 6 · 치료 프로그램 ===== */
#section-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    min-height: 100vh;
    background: #f7f8f9;
}

#section-6 .s2-title-area {
    flex-shrink: 0;
}

.s6-circles {
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0 clamp(20px, 4vw, 40px);
    box-sizing: border-box;
    align-items: center;
    padding-bottom: 80px;
}

.s6-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 24px 16px 32px;
    opacity: 0;
    transform: translateY(44px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i) * 0.1s);
}

#section-6.s6-visible .s6-item {
    opacity: 1;
    transform: translateY(0);
}

.s6-bubble {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #23943d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(35, 148, 61, 0.25), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.s6-item:hover .s6-bubble {
    transform: scale(1.06);
    box-shadow: 0 12px 40px rgba(35, 148, 61, 0.35), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.s6-bubble svg,
.s6-bubble img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.s6-num {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: #23943d;
    font-family: 'Freesentation', sans-serif;
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.s6-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.s6-title {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 800;
    color: rgba(17, 17, 17, 0.85);
    line-height: 1.3;
}

.s6-sub {
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 700;
    color: #23943d;
    line-height: 1.3;
}

@media (max-width: 768px) {
    #section-6 {
        justify-content: flex-start;
    }

    .s6-circles {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 12px 72px;
        align-items: center;
        padding-bottom: 72px;
    }

    .s6-item {
        padding: 10px 8px;
        gap: 18px;
    }

    .s6-bubble {
        width: 130px;
        height: 130px;
        box-shadow: 0 8px 32px rgba(35, 148, 61, 0.25), 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .s6-bubble svg,
    .s6-bubble img {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }

    .s6-num {
        width: min(7vw, 32px);
        height: min(7vw, 32px);
        font-size: clamp(11px, 2.5vw, 14px);
        background: #ffffff;
        color: #23943d;
    }

    .s6-title {
        font-size: clamp(14px, 3.8vw, 18px);
        font-weight: 800;
    }

    .s6-sub {
        font-size: clamp(13px, 3.4vw, 16px);
        font-weight: 700;
    }
}


/* ===== SECTION 7 · 교통사고 후유증 ===== */
#section-7 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    min-height: 100vh;
}

.s7-bg {
    position: absolute;
    inset: 0;
    background-image: image-set(url('assets/bg1-1.webp') type('image/webp'), url('assets/bg1-1.jpg') type('image/jpeg'));
    background-size: cover;
    background-position: center right;
    z-index: 0;
}

/* #23943d 좌→우 그라데이션 */
.s7-fade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right,
            #23943d 30%,
            rgba(35, 148, 61, 0.88) 55%,
            rgba(35, 148, 61, 0.55) 75%,
            rgba(35, 148, 61, 0) 95%);
    pointer-events: none;
}

/* 타이틀: 가운데 */
.s7-title-area {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    text-align: center;
    padding: calc(var(--nav-height) + 20px) 20px 22px;
    width: 100%;
    box-sizing: border-box;
}

.s7-main-title {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(56px, 8vw, 100px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 8px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.s7-main-title span {
    color: #b6f5cb;
}

.s7-subtitle {
    font-size: clamp(18px, 2vw, 26px);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 14px;
    font-weight: 400;
}

/* 흰색 구분선 */
.s7-title-bar {
    width: 56px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    margin: 0 auto;
}

/* 본문: 남은 공간 넓게 활용 */
.s7-body {
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 0;
    width: 100%;
    /* 1200px 안에서 좌측 정렬 */
    padding: 0 max(calc((100vw - 1200px) / 2), clamp(20px, 4vw, 40px)) 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
}

.s7-heading-wrap {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

#section-7.s7-visible .s7-heading-wrap {
    opacity: 1;
    transform: translateY(0);
}

.s7-heading {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(22px, 2.8vw, 38px);
    font-weight: 800;
    color: #fff;
    line-height: 1.55;
    margin: 0 0 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.s7-desc-wrap {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 680px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

#section-7.s7-visible .s7-desc-wrap {
    opacity: 1;
    transform: translateY(0);
}

.s7-desc {
    font-size: clamp(18px, 1.8vw, 24px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.85;
    margin: 0;
}

.s7-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.12);
    border-left: 4px solid #fff;
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
}

.s7-arrow-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.s7-arrow-icon svg {
    width: 12px;
    height: 12px;
}

.s7-highlight p {
    font-size: clamp(18px, 1.7vw, 23px);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.75;
    margin: 0;
    font-weight: 500;
}

.s7-highlight strong {
    color: #b6f5cb;
    font-weight: 700;
}

@media (max-width: 768px) {
    .s7-fade {
        background: linear-gradient(to bottom,
                rgba(35, 148, 61, 0.92) 0%,
                rgba(35, 148, 61, 0.75) 50%,
                rgba(35, 148, 61, 0.45) 100%);
    }

    #section-7 {
        justify-content: flex-start;
    }

    .s7-title-area {
        padding: calc(var(--nav-height) + clamp(40px, 10vh, 80px)) 20px 20px;
    }

    .s7-main-title {
        font-size: clamp(36px, 9vw, 52px);
    }

    .s7-subtitle {
        font-size: 20px;
    }

    .s7-body {
        flex: 1;
        padding: 0 20px 80px;
        gap: 16px;
        justify-content: center;
        max-width: 100%;
    }

    .s7-heading {
        font-size: 26px;
        padding-bottom: 14px;
        margin-bottom: 0;
        line-height: 1.5;
    }

    .s7-desc {
        font-size: 17px;
    }

    .s7-highlight p {
        font-size: 17px;
    }

    .s7-desc-wrap {
        max-width: 100%;
    }
}

/* ===== SECTION 11 · 수술 후 재활 ===== */
#section-11 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    min-height: 100vh;
    background: #23943d;
}

.s11-bg {
    position: absolute;
    inset: 0;
    background-image: image-set(url('assets/bg1-2.webp') type('image/webp'), url('assets/bg1-2.jpg') type('image/jpeg'));
    background-size: auto 100%;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: 0;
}

.s11-fade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right,
            #23943d 30%,
            rgba(35, 148, 61, 0.88) 55%,
            rgba(35, 148, 61, 0.55) 75%,
            rgba(35, 148, 61, 0) 95%);
    pointer-events: none;
}

.s11-title-area {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    text-align: center;
    padding: calc(var(--nav-height) + 20px) 20px 22px;
    width: 100%;
    box-sizing: border-box;
}

.s11-main-title {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(56px, 8vw, 100px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 8px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.s11-main-title span {
    color: #b6f5cb;
}

.s11-title-bar {
    width: 56px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    margin: 0 auto;
}

.s11-body {
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 0;
    width: 100%;
    padding: 0 max(calc((100vw - 1200px) / 2), clamp(20px, 4vw, 40px)) 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.s11-heading {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(20px, 2.4vw, 34px);
    font-weight: 800;
    color: #fff;
    line-height: 1.55;
    margin: 0 0 4px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

#section-11.s11-visible .s11-heading {
    opacity: 1;
    transform: translateY(0);
}

.s11-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 640px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

#section-11.s11-visible .s11-cards {
    opacity: 1;
    transform: translateY(0);
}

.s11-card {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.2s;
}

.s11-card:hover {
    background: rgba(0, 0, 0, 0.58);
}

.s11-card-title {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(17px, 1.6vw, 22px);
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.s11-card-title span {
    color: #b6f5cb;
}

.s11-card-desc {
    font-size: clamp(14px, 1.2vw, 17px);
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .s11-fade {
        background: linear-gradient(to bottom,
                rgba(35, 148, 61, 0.92) 0%,
                rgba(35, 148, 61, 0.75) 50%,
                rgba(35, 148, 61, 0.45) 100%);
    }

    #section-11 {
        justify-content: flex-start;
    }

    .s11-title-area {
        padding: calc(var(--nav-height) + 16px) 20px 16px;
    }

    .s11-main-title {
        font-size: clamp(36px, 9vw, 52px);
    }

    .s11-body {
        padding: 0 20px 80px;
        gap: 14px;
        justify-content: center;
    }

    .s11-heading {
        font-size: 20px;
        padding-bottom: 12px;
        line-height: 1.5;
    }

    .s11-cards {
        max-width: 100%;
        gap: 8px;
    }

    .s11-card {
        padding: 12px 14px;
    }

    .s11-card-title {
        font-size: 17px;
    }

    .s11-card-desc {
        font-size: 15px;
    }
}

/* ===== SECTION 8 · 교통사고 후유증 증상 ===== */
#section-8 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    min-height: 100vh;
    background: #fff;
}

.s8-items {
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 0 clamp(20px, 4vw, 40px) 20px;
    box-sizing: border-box;
    align-items: start;
    padding-top: 10px;
}

.s8-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    height: 100%;
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i) * 0.1s);
}

#section-8.s8-visible .s8-item {
    opacity: 1;
    transform: translateY(0);
}

/* 사진 */
.s8-photo {
    width: 100%;
    flex: 1;
    min-height: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #e8e8e8;
}

.s8-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(30%);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.s8-photo:hover img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

/* 라벨 */
.s8-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #23943d;
    color: #fff;
    font-family: 'Freesentation', sans-serif;
    font-size: 22px;
    font-weight: 800;
    padding: 9px 22px;
    border-radius: 8px;
    width: fit-content;
}

/* 설명 */
.s8-desc {
    font-size: clamp(15px, 1.3vw, 18px);
    font-weight: 500;
    color: rgba(17, 17, 17, 0.65);
    line-height: 1.75;
    text-align: center;
}

@media (max-width: 768px) {
    #section-8 {}

    .s8-items {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 8px;
        padding: 8px 8px 72px;
        flex: 1;
        min-height: 0;
        align-items: stretch;
        height: auto;
    }

    .s8-item {
        height: 100%;
        gap: 8px;
    }

    .s8-photo {
        aspect-ratio: unset;
        flex: 1;
        min-height: 0;
        border-radius: 8px;
    }

    .s8-label {
        font-size: 16px;
        padding: 2px 14px 6px;
        width: 100%;
        box-sizing: border-box;
        border-radius: 8px;
    }

    .s8-desc {
        font-size: 16px;
        line-height: 1.3;
    }
}

/* ===== SECTION 9 · 치료 절차 ===== */
/* ===== SECTION 9 · 치료 절차 ===== */
#section-9 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    min-height: 100vh;
    background: #f7f8f9;
}

#section-9 .s2-title-area {
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

/* ── PC 기본: 2×2 그리드 ── */
.s9-grid {
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px 40px;
    padding: 16px clamp(20px, 4vw, 40px) 24px;
    box-sizing: border-box;
    align-items: stretch;
}

.s9-step-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i) * 0.1s);
    height: 100%;
}

#section-9.s9-visible .s9-step-item {
    opacity: 1;
    transform: translateY(0);
}

/* 사진 - PC에서 표시 */
.s9-step-photo {
    width: 100%;
    aspect-ratio: unset;
    flex: 1;
    min-height: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #e8e8e8;
    flex-shrink: 0;
    display: block;
}

.s9-step-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    filter: grayscale(20%);
}

.s9-step-photo:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.s9-step-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-shrink: 0;
}

.s9-step-num {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #23943d;
    color: #fff;
    font-family: 'Freesentation', sans-serif;
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(35, 148, 61, 0.25);
}

.s9-step-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.s9-step-title {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(18px, 1.8vw, 26px);
    font-weight: 800;
    color: #111;
    margin: 0;
}

.s9-step-desc {
    font-size: clamp(13px, 1.2vw, 17px);
    color: rgba(17, 17, 17, 0.6);
    line-height: 1.6;
    margin: 0;
}

.s9-step-desc strong {
    color: #23943d;
    font-weight: 700;
}

.s9-step-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #edf7f0;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 14px;
    color: rgba(17, 17, 17, 0.6);
    flex-wrap: wrap;
    margin-top: 2px;
}

.s9-tag-label {
    font-family: 'Freesentation', sans-serif;
    font-weight: 800;
    color: #23943d;
    font-size: 14px;
}

/* ===== SECTION 12 · 치료 프로그램 ===== */
#section-12 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    min-height: 100vh;
    background: #fff;
}

#section-12 .s2-title-area {
    flex-shrink: 0;
    width: 100%;
}

.s12-cols {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px clamp(20px, 4vw, 40px) 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
    align-items: stretch;
    margin-bottom: 80px;
}

.s12-col-header {
    background: #23943d;
    color: #fff;
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(15px, 1.6vw, 22px);
    font-weight: 800;
    text-align: center;
    padding: 14px 0;
    border-radius: 8px 8px 0 0;
    letter-spacing: 0.5px;
}

.s12-col-header.med {
    background: #1a5fa8;
}

.s12-col {
    display: flex;
    flex-direction: column;
}

.s12-col-items {
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    flex: 1;
}

.s12-item {
    padding: 18px 22px;
    border-bottom: 1px solid #f0f0f0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.2s;
    transition-delay: calc(var(--i, 0) * 0.06s);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#section-12.s12-visible .s12-item {
    opacity: 1;
    transform: translateY(0);
}

.s12-item:last-child {
    border-bottom: none;
}

.s12-item:hover {
    background: #f7fdf9;
}

.s12-item-title {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(14px, 1.5vw, 22px);
    font-weight: 800;
    color: #111;
    margin: 0 0 6px;
}

.s12-item-desc {
    font-size: clamp(12px, 1.1vw, 17px);
    color: rgba(17, 17, 17, 0.6);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 768px) {
    .s12-cols {
        grid-template-columns: 1fr;
        gap: 20px 0;
        padding-bottom: 20px;
        margin-bottom: 0;
    }

    .s12-item {
        padding: 14px 16px;
        flex: none;
    }

    .s12-col-items {
        flex: none;
    }

    .s12-item-title {
        font-size: 15px;
    }

    .s12-item-desc {
        font-size: 13px;
    }
}

/* ===== SECTION 12-1 · 병원 소개 ===== */
#section-12-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 80px;
    min-height: 100vh;
    background: #fff;
}

#section-12-1 .s2-title-area {
    flex-shrink: 0;
    width: 100%;
}

.s121-body {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px clamp(20px, 4vw, 40px) 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
}

.s121-left {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

#section-12-1.s121-visible .s121-left {
    opacity: 1;
    transform: translateX(0);
}

.s121-quote-mark {
    font-family: 'Freesentation', Georgia, serif;
    font-size: clamp(70px, 8vw, 110px);
    line-height: 0.7;
    color: #23943d;
    margin: 0 0 10px;
    font-weight: 700;
}

.s121-quote {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 600;
    color: #1f2937;
    line-height: 1.55;
    letter-spacing: -0.01em;
    margin: 0 0 28px;
}

.s121-divider {
    width: 50px;
    height: 2px;
    background: #23943d;
    margin: 0 0 20px;
    border-radius: 2px;
}

.s121-brand {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 800;
    color: #23943d;
    margin: 0;
    letter-spacing: -0.01em;
}

.s121-brand-logo {
    display: block;
    height: clamp(40px, 5vw, 60px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.s121-right {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

#section-12-1.s121-visible .s121-right {
    opacity: 1;
    transform: translateX(0);
}

.s121-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.25);
    position: relative;
}

.s121-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== SECTION 12-2 ~ 12-5 · 원장 프로필 공통 ===== */
#section-12-2,
#section-12-3,
#section-12-4,
#section-12-5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--nav-height) 0 60px;
    min-height: 100vh;
    background: #f9fbf9;
}

#section-12-2 .s2-title-area,
#section-12-3 .s2-title-area,
#section-12-4 .s2-title-area,
#section-12-5 .s2-title-area {
    flex-shrink: 0;
    width: 100%;
}

.s122-body {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
}

.s122-left {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

#section-12-2.s122-visible .s122-left,
#section-12-3.s122-visible .s122-left,
#section-12-4.s122-visible .s122-left,
#section-12-5.s122-visible .s122-left {
    opacity: 1;
    transform: translateY(0);
}

.s122-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    background: #e8efe9;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.3);
    position: relative;
}

.s122-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.s122-right {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

#section-12-2.s122-visible .s122-right,
#section-12-3.s122-visible .s122-right,
#section-12-4.s122-visible .s122-right,
#section-12-5.s122-visible .s122-right {
    opacity: 1;
    transform: translateY(0);
}

.s122-name {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 900;
    color: #111;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.s122-name span {
    color: #23943d;
    font-weight: 800;
    font-size: 0.7em;
    margin-left: 8px;
    letter-spacing: 0;
}

.s122-subtitle {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(14px, 1.4vw, 17px);
    font-weight: 600;
    color: #6b7280;
    margin: 6px 0 0;
    letter-spacing: 0.02em;
}

.s122-divider {
    width: 50px;
    height: 3px;
    background: #23943d;
    margin: 16px 0 24px;
    border-radius: 2px;
}

.s122-career {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.s122-career li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed #e0e7e1;
    font-family: 'Freesentation', sans-serif;
}

.s122-career li:last-child {
    border-bottom: none;
}

.s122-tag {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    border-radius: 6px;
    background: #f1f3f4;
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    margin-top: 2px;
}

.s122-tag.current {
    background: #23943d;
    color: #fff;
}

/* 現·前 외의 태그(專·修·學·賞·會 등)는 숨기고 텍스트만 표시 */
.s122-tag.cert,
.s122-tag.edu {
    display: none;
}

.s122-career li:has(.s122-tag.cert),
.s122-career li:has(.s122-tag.edu) {
    gap: 0;
}

.s122-text {
    flex: 1;
    font-size: clamp(15px, 1.5vw, 17px);
    font-weight: 600;
    color: #1f2937;
    line-height: 1.55;
    padding-top: 3px;
}

.s122-text em {
    font-style: normal;
    font-weight: 500;
    color: #6b7280;
    font-size: 0.92em;
    margin-left: 2px;
}

.s122-edu-title {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(15px, 1.4vw, 17px);
    font-weight: 800;
    color: #23943d;
    margin: 0 0 8px;
    letter-spacing: 0;
}

.s122-edu li {
    padding: 8px 0;
}

/* ===== SECTION 12-1 ~ 12-5 모바일 반응형 ===== */
@media (max-width: 768px) {

    #section-12-1,
    #section-12-2,
    #section-12-3,
    #section-12-4,
    #section-12-5 {
        min-height: auto;
        padding-bottom: 60px;
    }

    .s121-body {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 20px;
    }

    .s121-left {
        order: 2;
        text-align: center;
    }

    .s121-right {
        order: 1;
    }

    .s121-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .s121-quote-mark {
        text-align: center;
    }

    .s121-brand-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .s121-photo {
        aspect-ratio: 4 / 3;
    }

    .s122-body {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 20px;
    }

    .s122-photo {
        max-width: 260px;
        aspect-ratio: 3 / 4;
    }

    .s122-name,
    .s122-subtitle,
    .s122-edu-title {
        text-align: center;
    }

    .s122-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .s122-tag {
        width: 30px;
        height: 26px;
        font-size: 12px;
    }

    .s122-text {
        font-size: 14.5px;
    }
}

/* ===== SECTION 13 · 오시는 길 ===== */
#section-13 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    min-height: auto;
    background: #fff;
}

#section-13 .s2-title-area {
    flex-shrink: 0;
    width: 100%;
}

.s13-map-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    box-sizing: border-box;
}

#google-map {
    width: 100%;
    height: 500px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    border: 1px solid #e5e7eb;
    display: block;
}

.s13-actions {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px clamp(20px, 4vw, 40px) 60px;
    box-sizing: border-box;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.s13-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
    white-space: nowrap;
}

.s13-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.s13-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.s13-btn--kakao {
    background: #FEE500;
    color: #3A1D1D;
}

.s13-btn--call {
    background: #23943d;
    color: #fff;
}

.s13-btn--web {
    background: #1a56db;
    color: #fff;
}

/* 13페이지 진입 시 플로팅 버튼 블러+숨김 (top 제외) */
body.on-last-page .float-btn:not(.float-btn--top) {
    opacity: 0;
    filter: blur(8px);
    pointer-events: none;
    transform: scale(0.85);
    transition: opacity 0.4s, filter 0.4s, transform 0.4s;
}

body:not(.on-last-page) .float-btn:not(.float-btn--top) {
    opacity: 1;
    filter: none;
    pointer-events: auto;
    transform: scale(1);
    transition: opacity 0.4s, filter 0.4s, transform 0.4s;
}

/* 모바일: blur/transform 제거 (GPU 부하 원인) */
@media (max-width: 768px) {
    body.on-last-page .float-btn:not(.float-btn--top) {
        filter: none;
        transform: none;
        transition: opacity 0.3s;
    }

    body:not(.on-last-page) .float-btn:not(.float-btn--top) {
        filter: none;
        transform: none;
        transition: opacity 0.3s;
    }
}

@media (max-width: 768px) {
    .s13-actions {
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 90px;
    }

    .s13-btn {
        justify-content: center;
    }

    .s13-btn--kakao,
    .s13-btn--call {
        display: none;
    }

    #google-map {
        height: 350px;
    }
}


/* ── s13 진료시간/오시는길 정보 영역 ── */
.s13-info {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px clamp(20px, 4vw, 40px) 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px;
}

.s13-info-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.s13-info-title {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 900;
    color: #111;
    margin: 0 0 6px;
    padding-bottom: 14px;
    border-bottom: 2px solid #23943d;
}

.s13-hours {
    display: flex;
    flex-direction: column;
    margin-top: 6px;
}

.s13-hour-row {
    display: flex;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px solid #f0f0f0;
}

.s13-hour-row:last-child {
    border-bottom: none;
}

.s13-hour-row.highlight {
    padding: 14px 16px;
    margin-top: 8px;
    background: #f0faf3;
    border-radius: 10px;
    border-bottom: none;
}

.s13-hour-label {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(15px, 1.3vw, 18px);
    font-weight: 700;
    color: #333;
    min-width: 110px;
    flex-shrink: 0;
}

.s13-hour-label::before {
    content: '* ';
    color: #23943d;
    font-weight: 900;
}

.s13-hour-val {
    font-size: clamp(15px, 1.3vw, 18px);
    color: rgba(17, 17, 17, 0.65);
    font-weight: 500;
    line-height: 1.6;
}

.s13-hour-row.highlight .s13-hour-label {
    color: #23943d;
}

.s13-hour-row.highlight .s13-hour-val {
    color: #1a5c30;
    font-weight: 600;
}

.s13-addr-rows {
    display: flex;
    flex-direction: column;
    margin-top: 6px;
}

.s13-addr-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.s13-addr-row:last-child {
    border-bottom: none;
}

.s13-addr-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0faf3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.s13-addr-icon svg {
    width: 20px;
    height: 20px;
    stroke: #23943d;
}

.s13-addr-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.s13-addr-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(17, 17, 17, 0.38);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.s13-addr-val {
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 700;
    color: #111;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .s13-info {
        grid-template-columns: 1fr;
        gap: 36px 0;
        padding-top: 24px;
    }
}

/* 타임라인 선: JS로 생성, 모바일에서만 보임 */
.s9-timeline-line {
    display: none;
}

/* ── 모바일 (768px 이하): 세로 타임라인 ── */
@media (max-width: 768px) {
    #section-9 .s2-title-area {
        padding-top: calc(var(--nav-height) + 6px);
        padding-bottom: 6px;
    }

    .s9-grid {
        display: flex !important;
        flex-direction: column;
        justify-content: space-evenly;
        grid-template-columns: unset;
        grid-template-rows: unset;
        gap: 0;
        padding: 0 20px 68px 16px;
        position: relative;
    }

    .s9-timeline-line {
        display: block;
        position: absolute;
        left: 39px;
        width: 2px;
        background: linear-gradient(to bottom, #23943d, rgba(35, 148, 61, 0.2));
        z-index: 0;
    }

    .s9-step-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
        padding: 0;
        position: relative;
        z-index: 1;
        overflow: visible;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .s9-step-photo {
        display: none !important;
    }

    .s9-step-info {
        gap: 14px;
        align-items: flex-start;
        width: 100%;
    }

    .s9-step-num {
        width: 48px;
        height: 48px;
        font-size: 20px;
        flex-shrink: 0;
        position: relative;
        z-index: 2;
    }

    .s9-step-content {
        gap: 3px;
    }

    .s9-step-title {
        font-size: 20px;
    }

    .s9-step-desc {
        font-size: 16px;
        line-height: 1.6;
    }

    .s9-step-tag {
        font-size: 12px;
        padding: 4px 8px;
        margin-top: 3px;
    }
}

/* ===== SECTION 10 · 의학/한의학 협진 치료 ===== */
#section-10 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    min-height: 100vh;
    background: #23943d;
}

#section-10 .s2-main-title {
    color: #fff;
}

#section-10 .s2-main-title span {
    color: #b6f5cb;
}

#section-10 .s2-title-bar {
    background: #fff;
}

.s10-orbit {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s10-system {
    position: relative;
    width: min(500px, 80vw);
    height: min(500px, 80vw);
}

/* 배경 큰 원 600px 투명도 70% */
.s10-bg-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.30);
    z-index: 0;
}

.s10-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.s10-sat {
    position: absolute;
    width: 189px;
    height: 189px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Freesentation', sans-serif;
    font-size: clamp(18px, 1.8vw, 26px);
    font-weight: 800;
    color: #1a5c30;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.s10-footer {
    flex-shrink: 0;
    text-align: center;
    padding: 12px 20px 20px;
    font-size: clamp(14px, 1.2vw, 17px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 860px;
}

.s10-footer strong {
    color: #fff;
    font-weight: 700;
}

@media (max-width: 768px) {

    /* PC 비율 그대로 유지 - vw 기준으로 비례 축소 */
    .s10-system {
        width: 90vw;
        height: 90vw;
    }

    .s10-bg-circle {
        width: 72vw;
        height: 72vw;
    }

    .s10-center {
        width: 20vw;
        height: 20vw;
        background: transparent !important;
        border: none !important;
    }

    .s10-center img {
        width: 26.5vw !important;
    }

    .s10-sat {
        width: 26.5vw;
        height: 26.5vw;
        font-size: clamp(22px, 7vw, 22px);
    }

    .s10-footer {
        font-size: 16px;
        padding-bottom: 80px;
    }
}

/* ===== 11~13페이지 포인트 강조색 #FDD000 오버라이드 ===== */

/* --- section 11 --- */
.s11-main-title span {
    color: #FDD000;
}

.s11-card-title span {
    color: #FDD000;
}

/* --- section 12 --- */
#section-12 .s2-main-title span {
    color: #FDD000;
}

#section-12 .s2-title-bar {
    background: #FDD000;
}

.s12-col-header {
    background: #FDD000;
    color: #222;
}

.s12-item:hover {
    background: #fffbe6;
}

/* --- section 13 --- */
#section-13 .s2-main-title span {
    color: #FDD000;
}

#section-13 .s2-title-bar {
    background: #FDD000;
}

.s13-info-title {
    border-bottom-color: #FDD000;
}

.s13-hour-label::before {
    color: #FDD000;
}

.s13-hour-row.highlight {
    background: #fffbe6;
}

.s13-hour-row.highlight .s13-hour-label {
    color: #b89200;
}

.s13-hour-row.highlight .s13-hour-val {
    color: #7a6200;
}

.s13-addr-icon {
    background: #fffbe6;
}

.s13-addr-icon svg {
    stroke: #b89200;
}

.s13-btn--call {
    background: #FDD000;
    color: #222;
}

/* --- section 11 그라데이션 흰색으로 --- */
.s11-fade {
    background: linear-gradient(to right,
            #ffffff 30%,
            rgba(255, 255, 255, 0.88) 55%,
            rgba(255, 255, 255, 0.55) 75%,
            rgba(255, 255, 255, 0) 95%);
}

@media (max-width: 768px) {
    .s11-fade {
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0.95) 0%,
                rgba(255, 255, 255, 0.80) 50%,
                rgba(255, 255, 255, 0.50) 100%);
    }
}

/* --- section 11 그라데이션 #FDD000으로 --- */
.s11-fade {
    background: linear-gradient(to right,
            #FDD000 30%,
            rgba(253, 208, 0, 0.88) 55%,
            rgba(253, 208, 0, 0.55) 75%,
            rgba(253, 208, 0, 0) 95%);
}

@media (max-width: 768px) {
    .s11-fade {
        background: linear-gradient(to bottom,
                rgba(253, 208, 0, 0.95) 0%,
                rgba(253, 208, 0, 0.80) 50%,
                rgba(253, 208, 0, 0.50) 100%);
    }
}

/* --- section 12 컬럼 헤더 흰색으로 --- */
.s12-col-header {
    background: #ffffff;
    color: #111;
}

.s12-col-header.med {
    background: #ffffff;
    color: #111;
}

/* --- section 12 컬럼 헤더 글자 흰색으로 --- */
.s12-col-header {
    color: #ffffff;
}

.s12-col-header.med {
    color: #ffffff;
}

/* --- section 12 헤더 배경색 복구 + 글자 흰색 --- */
.s12-col-header {
    background: #FDD000;
    color: #ffffff;
}

.s12-col-header.med {
    background: #1a5fa8;
    color: #ffffff;
}

/* --- section 11 타이틀 span(재활) 흰색으로 --- */
.s11-main-title span {
    color: #ffffff;
}

/* --- section 9 PC 사진 크기 고정 --- */
@media (min-width: 769px) {
    .s9-step-photo {
        flex: none;
        height: 200px;
    }
}

/* --- section 13 홈페이지 바로가기 버튼 파란색 유지 --- */
@media (min-width: 769px) {
    .s13-btn--web {
        background: #1a56db;
        color: #fff;
    }
}

/* --- section 13 대표전화 버튼 초록색으로 --- */
.s13-btn--call {
    background: #23943d;
    color: #fff;
}

/* --- section 4 사진 가운데 버튼 (PC 전용) --- */
.s4-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #23943d;
    color: #fff;
    font-family: 'Freesentation', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    white-space: nowrap;
}

.s4-center-btn:hover {
    transform: translate(-50%, -53%);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* --- section 4 하단 버튼 (PC 전용) --- */
.s4-bottom-btn-wrap {
    display: flex;
    justify-content: center;
    padding: 16px 0 8px;
}

.s4-bottom-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #23943d;
    color: #fff;
    font-family: 'Freesentation', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(35, 148, 61, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.s4-bottom-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(35, 148, 61, 0.4);
}

/* 모바일에서는 두 버튼 모두 숨김 */
@media (max-width: 768px) {
    .s4-center-btn {
        display: none;
    }

    .s4-bottom-btn-wrap {
        display: none;
    }
}

/* --- section 4 버튼 위치 수정 --- */

/* 사진 가운데 버튼 → PC에서 사진 하단으로 */
.s4-center-btn {
    top: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.s4-center-btn:hover {
    transform: translateX(-50%) translateY(-3px);
}

/* 하단 카드 밑 버튼 → 모바일에서만 표시 */
@media (min-width: 769px) {
    .s4-bottom-btn-wrap {
        display: none;
    }

    .s4-center-btn {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .s4-center-btn {
        display: none;
    }

    .s4-bottom-btn-wrap {
        display: flex;
    }
}

/* --- section 4 사진 하단 버튼 위치 조정 + 펄스 애니메이션 --- */
@keyframes s4-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(35, 148, 61, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(35, 148, 61, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(35, 148, 61, 0);
    }
}

@media (min-width: 769px) {
    .s4-center-btn {
        bottom: 40px;
        background: #23943d;
        animation: s4-pulse 1.8s ease-out infinite;
    }

    .s4-center-btn:hover {
        animation: none;
        box-shadow: 0 8px 28px rgba(35, 148, 61, 0.5);
    }
}

/* --- 모바일 s4 카드 밑 여백 줄이고 버튼 위로 --- */
@media (max-width: 768px) {
    .s4-features {
        padding-bottom: 16px;
    }

    .s4-bottom-btn-wrap {
        padding: 8px 0 24px;
    }
}

/* ===== section 12 모바일 렉 개선 ===== */
/* PC: GPU 가속 + will-change */
.s12-item {
    will-change: opacity, transform;
}

#section-12.s12-visible .s12-item {
    will-change: auto;
}

/* 모바일: 애니메이션 완전히 제거 */
@media (max-width: 768px) {
    .s12-item {
        opacity: 1 !important;
        transform: none !important;
        transition: background 0.2s !important;
        transition-delay: 0s !important;
        will-change: auto !important;
    }
}

/* --- 모바일 s4 하단 버튼 글자 크게 --- */
@media (max-width: 768px) {
    .s4-bottom-btn {
        font-size: 18px;
        padding: 16px 40px;
    }
}

/* --- 모바일 s12 hover 효과 제거 --- */
@media (max-width: 768px) {
    .s12-item:hover {
        background: none;
    }
}

/* --- 모바일 s8 hover 효과 제거 --- */
@media (max-width: 768px) {
    .s8-photo:hover img {
        transform: none;
        filter: grayscale(30%);
    }
}