/* Reset & Variables */
:root {
    --primary-color: #FFB3C6; /* 연분홍 */
    --primary-dark: #E63E78; /* 진한 분홍 (가독성 강화) */
    --secondary-color: #A9DEF9; /* 하늘색 (파스텔 톤) */
    --text-color: #1F2937; /* 진한 본문색 */
    --text-light: #4B5563; /* 진한 보조 텍스트색 */
    --bg-light: #FFF8F9; /* 매우 연한 분홍빛 배경 */
    --white: #ffffff;
    
    /* 폰트 크기: 시니어 가독성을 위해 대폭 확대 */
    --font-base: 20px; 
    --font-xl: 3rem; /* 메인 타이틀 */
    --font-lg: 2.2rem; /* 섹션 타이틀 */
    --font-md: 1.6rem; /* 카드 제목/소제목 */
    --font-sm: 1.25rem; /* 네비게이션 / 본문 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    font-size: var(--font-base);
    font-weight: 500; /* 기본 굵기 강화 */
    line-height: 1.75;
    background-color: var(--white);
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 800px; /* 블로그처럼 읽기 편한 너비 */
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* Navigation Bar */
.nav-bar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary-dark);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-dark);
}

.nav-links a.active {
    border-bottom: 2px solid var(--primary-dark);
    padding-bottom: 4px;
}

/* 햄버거 버튼 */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
}
.nav-toggle span {
    display: block;
    position: absolute;
    left: 8px;
    right: 8px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s, top 0.25s;
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* 모바일 풀다운 패널 */
.nav-mobile-panel {
    display: none;
}
.nav-mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 8px 0;
}
.nav-mobile-links li {
    border-top: 1px solid #f4e0e7;
}
.nav-mobile-links a {
    display: block;
    padding: 16px 24px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.05rem;
}
.nav-mobile-links a.active {
    color: var(--primary-dark);
    background: #fff5f8;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-container { justify-content: space-between; }
    .nav-mobile-panel {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        border-top: 1px solid #f4e0e7;
    }
    .nav-mobile-panel[hidden] {
        display: none;
    }
}

/* Trust Badges */
.trust-badges {
    background-color: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid #f0f0f0;
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.badge-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-dark);
}

.badge-item span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .badge-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.blog-post, .item-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.blog-post.active, .item-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* Sections */
.section {
    padding: 60px 0; /* 여백 축소 */
}

.section-title {
    font-size: var(--font-lg);
    font-weight: 900;
    margin-bottom: 18px;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.3rem; /* 설명글 확대 */
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Block Layout (Z-Pattern) */
.blog-post {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    text-align: left;
}

.blog-post.reverse {
    flex-direction: row-reverse;
}

.post-image {
    flex: 1;
}

.post-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.post-content {
    flex: 1;
}

.post-content .num {
    display: inline-block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    background: var(--primary-dark);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.post-content h3 {
    font-size: var(--font-md);
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 900;
}

.post-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 500;
}

.post-content p + p {
    margin-top: 14px;
}

@media (max-width: 768px) {
    .blog-post, .blog-post.reverse {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 60px;
    }
}


/* Sub-page Header (서브 페이지 상단) */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('hero.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.page-header h1 {
    font-size: var(--font-lg);
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

.page-header p {
    font-size: var(--font-sm);
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Day Group (오전/오후 프로그램) */
.day-group {
    margin-bottom: 60px;
    text-align: left;
}

.day-group .day-label {
    display: inline-block;
    background: var(--primary-dark);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* Home page Quick Nav (icon cards - 바로가기) */
.quick-nav {
    background: var(--white);
    padding: 50px 0 60px;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.quick-nav-card {
    background: var(--white);
    border: 1px solid #f0e0e5;
    border-radius: 16px;
    padding: 24px 12px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.quick-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 133, 161, 0.18);
    border-color: var(--primary-color);
}

.quick-nav-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 12px;
    background: #FFF0F5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
}

.quick-nav-icon svg,
.quick-nav-icon i {
    width: 32px;
    height: 32px;
}

.quick-nav-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 4px;
}

.quick-nav-card .arrow {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 900px) {
    .quick-nav-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .quick-nav-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Home page section teasers (legacy) */
.teaser-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.teaser-card {
    display: block;
    background: var(--bg-light);
    border: 1px solid #f0e0e5;
    border-radius: 16px;
    padding: 30px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    text-align: left;
}

.teaser-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 133, 161, 0.15);
    border-color: var(--primary-color);
}

.teaser-card h3 {
    font-size: var(--font-md);
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: 900;
}

.teaser-card p {
    font-size: 1.15rem;
    color: var(--text-color);
    line-height: 1.65;
    font-weight: 500;
}

.teaser-card .arrow {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-dark);
    font-weight: 700;
}

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

/* Floating Buttons */
.floating-group {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.floating-cta,
.floating-kakao {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}

.floating-cta {
    background: var(--primary-dark);
    color: var(--white);
}

.floating-kakao {
    background: #FEE500;
    color: #3C1E1E;
}

.floating-cta:hover,
.floating-kakao:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 70px 0; /* 아이콘 카드가 스크롤 없이 보이도록 축소 */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white); /* 배경 위 글씨 색상 변경 */
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeIn 1s ease-out;
}

.hero .sub-title {
    font-size: var(--font-md);
    color: var(--white);
    font-weight: 700; /* 굴기 강화 */
    margin-bottom: 15px;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8); /* 그림자 대폭 강화 */
}

.hero .main-title {
    font-size: var(--font-xl);
    color: var(--white);
    font-weight: 900;
    margin-bottom: 30px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.9); /* 그림자 대폭 강화 */
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: var(--font-md);
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255, 133, 161, 0.4);
    text-shadow: none;
}

.cta-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 133, 161, 0.5);
}

/* Features Grid */
.features-grid {
    display: flex;
    flex-direction: column; /* 세로 나열 (블로그 스크롤 느낌) */
    gap: 20px;
    margin-top: 40px;
    text-align: left; /* 본문을 좌측 정렬 */
}

.feature-card {
    background: var(--bg-light);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: var(--font-md);
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1.3rem; /* 설명글 확대 */
    color: var(--text-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Program Section */
.program-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
    text-align: left;
}

.program-item {
    background: var(--white);
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s;
}

.program-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.program-item:hover p, .program-item:hover h3 {
    color: var(--white);
}

.program-item .program-tag {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-item h3 {
    font-size: var(--font-md);
    margin-bottom: 10px;
    color: var(--primary-dark);
}

/* Facility Section */
.gallery {
    margin-top: 40px;
}

.gallery-desc {
    margin-top: 20px;
    font-size: var(--font-sm);
    color: var(--text-color);
    font-weight: 500;
    background: #f9f9f9;
    padding: 24px;
    border-radius: 8px;
    display: block;
    text-align: left;
    line-height: 1.9;
    border-left: 4px solid var(--primary-dark);
}

/* Space Cards (3-column grid for facility spaces) */
.space-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    text-align: left;
}

.space-card {
    background: var(--white);
    border: 1px solid #f0e0e5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.space-card.active {
    opacity: 1;
    transform: translateY(0);
}

.space-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 133, 161, 0.18);
}

.space-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.space-body {
    padding: 24px;
}

.space-body .num {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--white);
    background: var(--primary-dark);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.space-body h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: 900;
}

.space-body p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
    font-weight: 500;
}

.space-body p + p {
    margin-top: 10px;
}

@media (max-width: 900px) {
    .space-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .space-grid { grid-template-columns: 1fr; }
}

/* Safety Feature Cards */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
    text-align: center;
}

.safety-card {
    background: var(--white);
    border: 1px solid #f0e0e5;
    border-radius: 16px;
    padding: 28px 18px;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.safety-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(255, 133, 161, 0.18);
    border-color: var(--primary-color);
}

.safety-card .safety-icon {
    width: 38px;
    height: 38px;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.safety-card h4 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 900;
}

.safety-card p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 768px) {
    .safety-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Facility Gallery Grid */
.facility-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 40px;
}

.facility-gallery figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.facility-gallery figure:hover {
    transform: translateY(-3px);
}

.facility-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.facility-gallery figcaption {
    padding: 14px;
    font-size: 1.1rem;
    color: var(--text-color);
    text-align: center;
    font-weight: 700;
}

@media (max-width: 768px) {
    .facility-gallery { grid-template-columns: repeat(2, 1fr); }
    .facility-gallery img { height: 160px; }
}

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

/* Board (일상소식 게시판) */
.board-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.board-cat {
    background: var(--white);
    border: 1px solid #f0d6df;
    color: var(--text-light);
    padding: 9px 20px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.board-cat:hover {
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.board-cat.active {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

.cat-badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--bg-light);
    color: var(--primary-dark);
    border: 1px solid var(--primary-color);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.5;
}

.cat-badge-on-header {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    border-color: rgba(255, 255, 255, 0.95);
    margin-bottom: 14px;
    font-size: 0.95rem;
    padding: 5px 16px;
    text-shadow: none;
}

.pin-badge {
    display: inline-block;
    align-self: flex-start;
    background: #fff3e0;
    color: #d84315;
    border: 1px solid #ffab91;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.5;
    margin-right: 6px;
}

.board-card.is-pinned {
    border: 2px solid #ffab91;
    box-shadow: 0 4px 14px rgba(216, 67, 21, 0.12);
}

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

.board-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

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

.board-card .thumb {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    overflow: hidden;
}

.board-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.board-card .body {
    padding: 14px 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.board-card h3 {
    font-size: 1rem;
    line-height: 1.45;
    color: var(--text-color);
    font-weight: 700;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.board-card .date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: auto;
}

.board-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .board-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .board-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .board-grid { grid-template-columns: 1fr; }
}

/* Post Detail */
.post-detail {
    max-width: 760px;
    margin: 0 auto;
}

.post-detail .post-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.post-detail .post-image {
    width: 66.6%;
    height: auto;
    display: block;
    margin: 0 auto 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.post-detail .post-body {
    width: 66.6%;
    margin: 0 auto 32px;
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-color);
    white-space: pre-wrap;
}

.post-gallery {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin: 28px 0 40px;
}

.post-gallery-block img {
    width: 66.6%;
    height: auto;
    display: block;
    margin: 0 auto 16px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.post-gallery-block .caption {
    width: 66.6%;
    margin: 0 auto;
    font-size: 1.12rem;
    line-height: 1.8;
    color: var(--text-color);
    white-space: pre-wrap;
}

.post-gallery-block .caption:empty { display: none; }

.post-detail .back-link {
    display: inline-block;
    padding: 10px 22px;
    background: var(--bg-light);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid var(--primary-color);
}

.post-detail .back-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Contact Section */
.contact-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    text-align: left;
}

.contact-box .map-area {
    width: 100%;
}

.contact-box .info-area {
    width: 100%;
    padding: 10px 0;
}

.free-trial-banner {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 40px;
    border-radius: 20px;
    color: var(--white);
}

.free-trial-banner h3 {
    font-size: var(--font-lg);
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.free-trial-banner p {
    font-size: var(--font-md);
}

@media (max-width: 900px) {
    .contact-box {
        flex-direction: column;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero .main-title { font-size: 2.2rem; }
    .hero .sub-title { font-size: 1.1rem; }
    
    .floating-group {
        bottom: 20px;
        right: 20px;
    }
    .floating-cta, .floating-kakao {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}
