/* 기본 스타일 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2D5A27;
    --light-green: #4A8B3F;
    --accent-green: #6DB55D;
    --dark-bg: #1a1a1a;
    --light-bg: #f8faf8;
    --text-dark: #333;
    --text-light: #666;
    --shadow-card-mobile: 0 3px 14px rgba(0,0,0,0.08);
    --shadow-marker: 0 0 0 3px rgba(45,90,39,0.15);
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* 스크롤 애니메이션 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* 섹션 앵커 스크롤 여백 (고정 nav 보정) */
section[id] {
    scroll-margin-top: 76px;
}

/* 네비게이션 */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-green);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-green);
}

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

.footer-logo-img {
    height: 30px;
    width: auto;
    display: block;
    margin: 0 auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: clamp(0.5rem, 1.5vw, 2rem);
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary-green);
}

/* 모바일 메뉴 버튼 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-green);
    cursor: pointer;
}

/* 히어로 섹션 */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(45,90,39,0.5)),
                url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-content .tagline {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 400;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.6s backwards;
}

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

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    animation: fadeInUp 1s ease 0.9s backwards;
}

.btn:hover {
    background: var(--light-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45,90,39,0.3);
}

/* 섹션 공통 */
section {
    padding: 100px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-green);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

/* 회사 소개 섹션 */
#about {
    background: var(--light-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.stat-card {
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-content {
    margin: 4rem auto 0;
    text-align: center;
    max-width: 900px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.mission-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 2rem;
    border-left: 5px solid var(--primary-green);
}

.mission-box h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* 사업 영역 섹션 */
#services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

.service-card {
    background: var(--light-bg);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 40px rgba(45,90,39,0.15);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
    color: var(--text-light);
}

.service-card li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* ===== 연혁 섹션 ===== */
#history {
    background: linear-gradient(160deg, #eef3ee 0%, #e4ede4 100%);
    padding: 80px 20px;
}

.history-mobile {
    max-width: 860px;
    margin: 0 auto;
}

/* ── 연도 섹션 ── */
.history-year-section {
    margin-bottom: 56px;
}

.history-year-section:last-child {
    margin-bottom: 0;
}

/* ── Sticky 연도 헤더 ── */
.history-year-header {
    position: sticky;
    top: 76px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0 20px;
    background: rgba(238, 243, 238, 0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* sticky 고정 상태: 여백만 줄이고 연도 크기는 유지 */
.history-year-header.is-stuck {
    padding: 6px 0 10px;
    background: rgba(238, 243, 238, 0.97);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
}

.history-year-label {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary-green);
    letter-spacing: -0.03em;
    line-height: 1;
    min-width: 88px;
}

.history-year-progress-track {
    flex: 1;
    height: 3px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.history-year-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-green);
    border-radius: 2px;
    transition: width 0.08s linear;
}

/* ── 항목 목록 (좌측 세로줄기) ── */
.history-year-items {
    position: relative;
    padding-left: 32px;
}

.history-year-items::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, var(--primary-green) 0%, rgba(107, 66, 38, 0.35) 100%);
    border-radius: 1px;
}

/* ── 개별 항목 ── */
.history-item {
    position: relative;
    padding-bottom: 22px;
}

.history-item:last-child {
    padding-bottom: 0;
}

/* 점 */
.history-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--primary-green);
    border: 2.5px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--primary-green);
    transform: translateX(-50%);
}

.history-item-month {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 3px 13px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.history-item-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    word-break: keep-all;
}

.history-item-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.history-item-list li {
    position: relative;
    padding-left: 14px;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    word-break: keep-all;
    margin-bottom: 5px;
}

.history-item-list li:last-child {
    margin-bottom: 0;
}

.history-item-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

/* ===== 태블릿/모바일 (768px 이하) ===== */
@media (max-width: 768px) {
    #history {
        padding: 60px 20px;
    }

    .history-year-label {
        font-size: 1.9rem;
        min-width: 72px;
    }

    .history-item-month {
        font-size: 0.8rem;
        padding: 2px 11px;
    }

    .history-item-text {
        font-size: 0.9rem;
    }

    .history-item-list li {
        font-size: 0.9rem;
    }
}

/* ===== 단일 컬럼 (576px 이하) ===== */
@media (max-width: 576px) {
    .history-year-label {
        font-size: 1.6rem;
        min-width: 62px;
    }

    .history-year-header {
        gap: 14px;
        top: 66px;
    }

    .history-item-text {
        font-size: 0.85rem;
    }

    .history-item-list li {
        font-size: 0.85rem;
    }
}

/* 팀 소개 섹션 */
#team {
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: var(--primary-green);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.team-member h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.team-role {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 고객사 섹션 */
#clients {
    background: var(--light-bg);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.client-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(45,90,39,0.15);
}

.client-item:has(img) {
    padding: 0;
}

.client-item img {
    width: 100%;
    height: 88px;
    object-fit: contain;
    border-radius: 10px;
}

/* 저작물 섹션 */
#publications {
    background: white;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.publication-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-green);
    transition: transform 0.3s;
}

.publication-card:hover {
    transform: translateX(10px);
}

.publication-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.publication-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.publication-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 연락처 섹션 */
#contact {
    background: var(--primary-green);
    color: white;
}

#contact h2 {
    color: white;
}

#contact .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 3rem auto 0;
    max-width: 900px;
}

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

.contact-item {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--accent-green);
}

.map-link {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.875rem;
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    transition: background 0.3s, color 0.3s;
}

.map-link:hover {
    background: var(--accent-green);
    color: white !important;
}

/* 푸터 */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.footer-text {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav li {
        padding: 1rem 2rem;
        border-bottom: 1px solid #eee;
    }

    .nav-container {
        padding: 0.65rem 1.25rem;
    }

    section[id] {
        scroll-margin-top: 64px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }

    .hero-content .tagline {
        font-size: 0.95rem;
    }

    h2 {
        font-size: 2rem;
    }

}

/* 스크롤 to top 버튼 */
#scrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 999;
}

#scrollTop:hover {
    background: var(--light-green);
    transform: translateY(-5px);
}

#scrollTop.show {
    display: flex;
}

/* ===== 모바일 문의하기 FAB ===== */
.contact-fab {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    height: 48px;
    padding: 0 18px 0 14px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 1.05rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(45, 90, 39, 0.40);
    z-index: 999;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s, padding 0.3s ease;
}

.contact-fab:hover {
    background: var(--light-green);
}

.contact-fab-text {
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    max-width: 80px;
    overflow: hidden;
    transition: max-width 0.3s ease, opacity 0.25s ease;
}

/* 스크롤 중: 텍스트 숨김 + 축소 — 오터치 방지 */
.contact-fab.scrolling {
    padding: 0 14px;
    opacity: 0.55;
    transform: scale(0.85);
}

.contact-fab.scrolling .contact-fab-text {
    max-width: 0;
    opacity: 0;
}

/* ===== 문의하기 버튼 (네비/서비스/연락처) ===== */
.nav-cta {
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--light-green);
    transform: translateY(-1px);
}

.service-cta {
    margin-top: auto;
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    border-radius: 25px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.service-cta:hover {
    background: var(--primary-green);
    color: white;
}

.contact-cta-band {
    margin-top: 3rem;
    background: var(--primary-green);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
}

.contact-cta-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.6rem;
}

.contact-cta-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.75rem;
}

.contact-cta-band button {
    background: white;
    color: var(--primary-green);
    border: none;
    border-radius: 30px;
    padding: 0.85rem 2.25rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-cta-band button:hover {
    background: var(--accent-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ===== 문의 모달 ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-body {
    overflow-y: auto;
    max-height: 90vh;
    padding: 2.5rem;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.25rem;
}

.modal-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45,90,39,0.1);
    background: white;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.form-error {
    font-size: 0.8rem;
    color: #e74c3c;
    margin-top: 0.3rem;
    min-height: 1.2em;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modal-submit {
    width: 100%;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 0.5rem;
}

.modal-submit:hover {
    background: var(--light-green);
    transform: translateY(-1px);
}

.modal-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 3.5rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.modal-success h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.modal-success p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.modal-close-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.65rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-close-btn:hover {
    background: var(--light-green);
}

@media (max-width: 768px) {
    /* nav-cta: 모바일에서 컴팩트 표시 (A안) */
    .nav-cta {
        padding: 0.38rem 0.85rem;
        font-size: 0.8rem;
    }

    /* 모바일 문의하기 FAB 표시 (C안) */
    .contact-fab {
        display: flex;
    }

    /* 모바일에서 scroll-to-top 버튼 숨김 (FAB으로 대체) */
    #scrollTop {
        display: none !important;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-body {
        padding: 2rem 1.5rem;
    }
}
