/* =============================================
   (주)체인지메이커 - 다크 블랙 + 로고 컬러 포인트
   ============================================= */

/* ---- CSS 변수 ---- */
:root {
    /* 로고 포인트 컬러 4종 */
    --c-pink:   #e91e8c;
    --c-blue:   #2979ff;
    --c-orange: #ff6d00;
    --c-green:  #1b9e5a;

    /* 다크 베이스 */
    --bg-base:    #0d0d0d;
    --bg-card:    #181818;
    --bg-card2:   #222222;
    --bg-hover:   #2a2a2a;

    /* 텍스트 */
    --text-white:  #ffffff;
    --text-bright: #f0f0f0;
    --text-mid:    #aaaaaa;
    --text-muted:  #666666;

    /* 경계선 */
    --border:      rgba(255,255,255,0.08);
    --border-mid:  rgba(255,255,255,0.14);

    /* 그림자 */
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.4);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);

    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 108px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-mid);
    background: var(--bg-base);
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img {
    max-width: 100%; display: block;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- 유틸리티 ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 110px 0; }
.section__header {
    text-align: center;
    margin-bottom: 64px;
}
.section__tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section__title {
    font-family: 'Playfair Display', 'Noto Sans KR', serif;
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 18px;
}
.section__desc {
    font-size: 0.97rem;
    color: var(--text-mid);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.85;
}

/* =============================================
   HEADER & NAV
   ============================================= */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
    background: rgba(13,13,13,0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
/* =============================================
   LOGO — 이미지 스타일
   ============================================= */
.nav__logo {
    display: flex;
    align-items: center;
    transition: opacity var(--transition);
}
.nav__logo:hover { opacity: 0.75; }

/* 헤더 로고 — 화이트 버전 이미지 그대로 사용 */
.logo-img {
    height: 99px;       /* 66px × 1.5 */
    width: auto;
    max-width: 400px;
    object-fit: contain;
    display: block;
}
.logo-img--footer {
    height: 117px;      /* 78px × 1.5 */
    width: auto;
    object-fit: contain;
    display: block;
    opacity: 0.85;
}
.nav__menu {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav__link {
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--text-mid);
    position: relative;
    padding-bottom: 4px;
    letter-spacing: 0.03em;
    transition: color var(--transition);
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1.5px;
    background: var(--c-green);
    transition: width var(--transition);
}
.nav__link:hover { color: var(--text-white); }
.nav__link.active { color: var(--text-white); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px;
}
.nav__toggle span {
    display: block; height: 1.5px; width: 100%;
    background: var(--text-mid);
    transition: all var(--transition);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-base);
}
.hero__bg {
    position: absolute;
    inset: 0;
    background: var(--bg-base);
}
.hero__overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 80% 10%, rgba(41,121,255,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 80%, rgba(27,158,90,0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 90%, rgba(233,30,140,0.08) 0%, transparent 40%);
}
.hero__particles {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 64px 64px, 32px 32px;
    background-position: 0 0, 16px 16px;
    animation: particleFloat 28s linear infinite;
}
@keyframes particleFloat {
    0%   { transform: translateY(0) translateX(0); }
    50%  { transform: translateY(-18px) translateX(9px); }
    100% { transform: translateY(0) translateX(0); }
}

/* 히어로 우측 데코 원 */
.hero__bg::after {
    content: '';
    position: absolute;
    right: -120px; top: 50%;
    transform: translateY(-50%);
    width: 600px; height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.04);
    pointer-events: none;
}
.hero__bg::before {
    content: '';
    position: absolute;
    right: -60px; top: 50%;
    transform: translateY(-50%);
    width: 400px; height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.06);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: var(--header-h);
    padding-bottom: 80px;
    max-width: 680px;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-mid);
    color: var(--text-mid);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease both;
}
.hero__badge::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--c-green);
    flex-shrink: 0;
}
.hero__title {
    font-family: 'Playfair Display', 'Noto Sans KR', serif;
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s 0.15s ease both;
}
.hero__title .highlight,
.section__title .highlight {
    /* 그라데이션 텍스트 - 로고 컬러 활용 */
    background: linear-gradient(90deg, var(--c-green) 0%, var(--c-blue) 50%, var(--c-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__title .highlight { display: block; }
.hero__subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    color: var(--text-mid);
    line-height: 1.95;
    margin-bottom: 44px;
    animation: fadeInUp 0.8s 0.3s ease both;
}
.hero__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fadeInUp 0.8s 0.45s ease both;
}
.hero__stats {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 0.6s ease both;
}
.stat { display: flex; flex-direction: column; align-items: flex-start; }
.stat__number {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
}
.stat__plus {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
    vertical-align: super;
    margin-left: 1px;
}
.stat__label {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 5px;
    letter-spacing: 0.06em;
}
.stat__divider {
    width: 1px; height: 36px;
    background: var(--border);
}
.hero__scroll {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn--primary {
    background: var(--text-white);
    color: var(--bg-base);
    box-shadow: none;
}
.btn--primary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.1);
}
.btn--outline {
    border: 1.5px solid var(--border-mid);
    color: var(--text-mid);
    background: transparent;
}
.btn--outline:hover {
    border-color: var(--text-white);
    color: var(--text-white);
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}
.btn--outline.dark {
    border-color: var(--border-mid);
    color: var(--text-mid);
}
.btn--outline.dark:hover {
    border-color: var(--text-white);
    color: var(--text-white);
}
.btn--full { width: 100%; justify-content: center; }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about { background: var(--bg-card); }
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about__image-wrap {
    position: relative;
    height: 520px;
}
.about__image-main {
    position: absolute;
    top: 0; left: 0;
    width: 78%; height: 78%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.about__image-accent {
    position: absolute;
    bottom: 0; right: 0;
    width: 52%; height: 52%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--bg-card);
}
.about__img-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}
/* 실제 이미지 */
.about__img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.about__image-main:hover .about__img,
.about__image-accent:hover .about__img {
    transform: scale(1.04);
}
.about__img-placeholder.main {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: rgba(255,255,255,0.12);
}
.about__img-placeholder.accent {
    background: linear-gradient(135deg, #222, #333);
    color: rgba(255,255,255,0.15);
}
.about__badge-float {
    position: absolute;
    top: 50%; left: -20px;
    transform: translateY(-50%);
    background: var(--bg-card2);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.3;
    border: 1px solid var(--border-mid);
    border-left: 3px solid var(--c-orange);
}
.about__badge-float i { font-size: 1.8rem; color: var(--c-orange); }
.about__subtitle {
    font-family: 'Playfair Display', 'Noto Sans KR', serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.35;
    margin-bottom: 24px;
}
.about__subtitle em { color: var(--c-green); font-style: normal; }
.about__text {
    color: var(--text-mid);
    line-height: 1.9;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.about__text strong { color: var(--text-bright); font-weight: 600; }
.about__values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px;
    background: var(--bg-card2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.value-item:hover {
    border-color: var(--border-mid);
    background: var(--bg-hover);
    transform: translateY(-2px);
}
.value-item > i { font-size: 1.1rem; color: var(--c-blue); margin-top: 3px; flex-shrink: 0; }
.value-item h4 { font-size: 0.86rem; font-weight: 700; color: var(--text-bright); margin-bottom: 2px; }
.value-item p  { font-size: 0.76rem; color: var(--text-muted); }

/* =============================================
   SERVICES SECTION
   ============================================= */
.services { background: var(--bg-base); position: relative; overflow: hidden; }
.services__bg-deco {
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(41,121,255,0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 0;               /* 이미지+바디 구조로 변경 */
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
/* 각 카드 상단 컬러 라인 */
.service-card:nth-child(1)::before { background: var(--c-blue); }
.service-card:nth-child(2)::before { background: var(--c-green); }
.service-card:nth-child(3)::before { background: var(--c-pink); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-mid);
    background: var(--bg-card2);
}
/* 대표 사업 카드 */
.service-card--featured {
    background: var(--bg-card2);
    border: 1px solid rgba(27,158,90,0.3);
    box-shadow: 0 0 40px rgba(27,158,90,0.08);
}
.service-card--featured::before { background: var(--c-green); transform: scaleX(1); }
.service-card--featured .service-card__number { color: rgba(255,255,255,0.06); }
.service-card--featured .service-card__title  { color: var(--text-white); }
.service-card--featured .service-card__desc   { color: var(--text-mid); }
.service-card--featured .service-card__list li { color: var(--text-mid); }
.service-card--featured .service-card__list i  { color: var(--c-green); }
.service-card--featured .service-card__link    { color: var(--c-green); }
.service-card--featured .service-card__link:hover { color: var(--text-white); }
/* ── 서비스 카드 이미지 영역 ── */
.service-card__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}
.service-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card__img { transform: scale(1.06); }

/* ── 서비스 카드 본문 영역 ── */
.service-card__body {
    padding: 28px 26px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card__badge {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--c-green);
    color: white;
    font-size: 0.67rem;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 50px;
    letter-spacing: 0.04em;
    z-index: 2;
}
/* 아이콘 (이미지 없을 때 fallback) */
.service-card__icon {
    width: 52px; height: 52px;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    color: var(--text-mid);
    margin-bottom: 20px;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.service-card--featured .service-card__icon { color: var(--c-green); border-color: rgba(27,158,90,0.25); }
.service-card__number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    margin-bottom: 4px;
}
.service-card__title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-bright);
    line-height: 1.3;
    margin-bottom: 13px;
}
.service-card__desc {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}
.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 26px;
}
.service-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--text-mid);
}
.service-card__list i { color: var(--text-muted); font-size: 0.7rem; margin-top: 5px; flex-shrink: 0; }
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-mid);
    transition: all var(--transition);
}
.service-card__link:hover { gap: 12px; color: var(--text-white); }

/* =============================================
   PROCESS SECTION
   ============================================= */
.process { background: var(--bg-card); }
.process__steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}
.process__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 180px;
    padding: 32px 20px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    cursor: default;
    position: relative;
}
.process__step:hover { background: var(--bg-hover); transform: translateY(-4px); }
/* STEP별 아이콘 포인트 컬러 */
.process__step:nth-child(1) .process__icon { background: rgba(41,121,255,0.15);  color: var(--c-blue); }
.process__step:nth-child(3) .process__icon { background: rgba(27,158,90,0.15);   color: var(--c-green); }
.process__step:nth-child(5) .process__icon { background: rgba(255,109,0,0.15);   color: var(--c-orange); }
.process__step:nth-child(7) .process__icon { background: rgba(233,30,140,0.15);  color: var(--c-pink); }
.process__step:nth-child(1):hover .process__icon { background: var(--c-blue);   color: white; }
.process__step:nth-child(3):hover .process__icon { background: var(--c-green);  color: white; }
.process__step:nth-child(5):hover .process__icon { background: var(--c-orange); color: white; }
.process__step:nth-child(7):hover .process__icon { background: var(--c-pink);   color: white; }
.process__icon {
    width: 68px; height: 68px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    transition: all var(--transition);
}
.process__num {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.process__content h4 { font-size: 0.92rem; font-weight: 700; color: var(--text-bright); margin-bottom: 5px; }
.process__content p  { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.process__arrow { font-size: 1rem; color: var(--text-muted); padding: 0 4px; flex-shrink: 0; opacity: 0.4; }

/* =============================================
   PORTFOLIO SECTION
   ============================================= */
.portfolio { background: var(--bg-base); }
.portfolio__filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 0.83rem;
    font-weight: 500;
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: transparent;
    letter-spacing: 0.03em;
    transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--border-mid); color: var(--text-mid); }
.filter-btn.active { background: var(--text-white); border-color: transparent; color: var(--bg-base); font-weight: 700; }
.portfolio__grid {
    columns: 3;
    column-gap: 16px;
}
.portfolio-item {
    break-inside: avoid;
    margin-bottom: 16px;
    display: inline-block;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--transition);
    animation: fadeIn 0.4s ease both;
}
.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-mid);
}
.portfolio-item.hidden { display: none; }
.portfolio-item__thumb {
    position: relative;
    overflow: hidden;
    background: var(--bg-card2);
}
.portfolio-item__thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition);
}
.portfolio-item:hover .portfolio-item__thumb img { transform: scale(1.04); }
.portfolio-item__placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 2.8rem;
    transition: transform var(--transition);
}
.portfolio-item:hover .portfolio-item__placeholder { transform: scale(1.05); }
.portfolio-item__placeholder span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
}
.portfolio-item__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.65);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 18px;
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__overlay-text {
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.04em;
}
.portfolio-item__info { padding: 16px 18px; }
.portfolio-item__tag {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 2px 9px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 8px;
}
.portfolio-item__title {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 6px;
    line-height: 1.4;
}
.portfolio-item__meta {
    font-size: 0.77rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.portfolio__more { text-align: center; margin-top: 48px; }

/* 포트폴리오 썸네일 테마 — 다크 */
.theme-interior  { background: linear-gradient(135deg, #1e1a16, #2e2318); color: rgba(255,109,0,0.4); }
.theme-landscape { background: linear-gradient(135deg, #0e1c14, #132a1c); color: rgba(27,158,90,0.45); }
.theme-planterior{ background: linear-gradient(135deg, #141a0f, #1c2614); color: rgba(100,160,60,0.45); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials { background: var(--bg-card); }
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial-card {
    background: var(--bg-card2);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 14px; right: 22px;
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
    color: rgba(255,255,255,0.04);
    line-height: 1;
}
/* 카드별 상단 컬러 강조선 */
.testimonial-card:nth-child(1) { border-top: 2px solid var(--c-blue); }
.testimonial-card:nth-child(2) { border-top: 2px solid var(--c-orange); }
.testimonial-card:nth-child(3) { border-top: 2px solid var(--c-pink); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-mid); }
.testimonial-card:nth-child(1):hover { border-top-color: var(--c-blue); }
.testimonial-card:nth-child(2):hover { border-top-color: var(--c-orange); }
.testimonial-card:nth-child(3):hover { border-top-color: var(--c-pink); }
.testimonial-card__stars {
    display: flex;
    gap: 3px;
    font-size: 0.85rem;
    margin-bottom: 14px;
}
/* 별점 컬러도 포인트로 */
.testimonial-card:nth-child(1) .testimonial-card__stars { color: var(--c-blue); }
.testimonial-card:nth-child(2) .testimonial-card__stars { color: var(--c-orange); }
.testimonial-card:nth-child(3) .testimonial-card__stars { color: var(--c-pink); }
.testimonial-card__text {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.9;
    margin-bottom: 22px;
    font-style: italic;
}
.testimonial-card__author { display: flex; align-items: center; gap: 13px; }
.author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.testimonial-card:nth-child(1) .author-avatar { background: var(--c-blue); }
.testimonial-card:nth-child(2) .author-avatar { background: var(--c-orange); }
.testimonial-card:nth-child(3) .author-avatar { background: var(--c-pink); }
.testimonial-card__author strong { display: block; font-size: 0.87rem; color: var(--text-bright); }
.testimonial-card__author span   { font-size: 0.75rem; color: var(--text-muted); }

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact { background: var(--bg-base); }
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}
.contact__info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 32px;
}
.contact__info-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact__info-item { display: flex; align-items: flex-start; gap: 16px; }
.contact__icon {
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
/* 아이콘 각각 포인트 컬러 */
.contact__info-items .contact__info-item:nth-child(1) .contact__icon { background: rgba(41,121,255,0.15);  color: var(--c-blue); }
.contact__info-items .contact__info-item:nth-child(2) .contact__icon { background: rgba(27,158,90,0.15);   color: var(--c-green); }
.contact__info-items .contact__info-item:nth-child(3) .contact__icon { background: rgba(255,109,0,0.15);   color: var(--c-orange); }
.contact__info-items .contact__info-item:nth-child(4) .contact__icon { background: rgba(233,30,140,0.15);  color: var(--c-pink); }
.contact__info-item strong {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 3px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.contact__info-item span { font-size: 0.93rem; color: var(--text-bright); font-weight: 500; }
.contact__social { display: flex; gap: 10px; }
.social-btn {
    width: 40px; height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.social-btn:hover { background: var(--text-white); color: var(--bg-base); border-color: transparent; transform: translateY(-2px); }
.contact__form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { display: flex; flex-direction: column; margin-bottom: 18px; }
.form__group label {
    font-size: 0.77rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 7px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.form__group input,
.form__group select,
.form__group textarea {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-bright);
    background: var(--bg-card2);
    transition: all var(--transition);
    outline: none;
    resize: none;
}
.form__group select option { background: var(--bg-card2); color: var(--text-bright); }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    border-color: var(--c-green);
    box-shadow: 0 0 0 3px rgba(27,158,90,0.1);
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--text-muted); }
.contact__form .btn--primary {
    background: var(--text-white);
    color: var(--bg-base);
    margin-top: 4px;
}
.contact__form .btn--primary:hover { background: #e0e0e0; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: #080808;
    color: var(--text-muted);
    padding: 64px 0 0;
    border-top: 1px solid var(--border);
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}
.footer__brand p {
    font-size: 0.85rem;
    line-height: 1.9;
    margin-top: 20px;
    color: var(--text-muted);
}
.footer__links h4,
.footer__services h4,
.footer__contact h4 {
    color: var(--text-bright);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.footer__links ul, .footer__services ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a, .footer__services a { font-size: 0.84rem; color: var(--text-muted); transition: color var(--transition); }
.footer__links a:hover, .footer__services a:hover { color: var(--text-white); }
.footer__contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.footer__contact i { color: var(--text-muted); width: 14px; }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 8px;
    opacity: 0.5;
}

/* 관리자 링크 */
.footer__admin {
    text-align: center;
    padding-bottom: 16px;
}
.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.3;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: opacity 0.2s, border-color 0.2s;
    letter-spacing: 0.04em;
}
.admin-link:hover {
    opacity: 0.7;
    border-color: rgba(255,255,255,0.15);
}

/* 푸터 하단 컬러 도트 장식 */
.footer__bottom::before {
    content: '● ● ● ●';
    font-size: 0.5rem;
    letter-spacing: 0.4em;
    background: linear-gradient(90deg, var(--c-green), var(--c-blue), var(--c-orange), var(--c-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1;
}

/* =============================================
   MODAL
   ============================================= */
.modal {
    position: fixed; inset: 0;
    z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; pointer-events: none;
    transition: opacity var(--transition);
}
.modal.open { opacity: 1; pointer-events: all; }
.modal__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
}
.modal__content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-mid);
    max-width: 960px; width: 100%;
    max-height: 90vh;
    box-shadow: 0 32px 80px rgba(0,0,0,0.7);
    transform: scale(0.93);
    transition: transform var(--transition);
    display: flex;
    flex-direction: row;
    overflow: hidden;
}
.modal.open .modal__content { transform: scale(1); }
.modal__close {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; color: #fff;
    z-index: 10; transition: all var(--transition);
    cursor: pointer;
}
.modal__close:hover { background: #fff; color: var(--bg-base); }
/* modal body = flex row 컨테이너 */
.modal__body {
    display: flex;
    flex-direction: row;
    width: 100%;
    /* 이미지 영역이 콘텐츠 높이를 결정하므로 min-height 제거 */
}
/* ── 이미지 영역 ── */
.modal__img-wrap {
    flex: 0 0 58%;
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
    /* 가로 사진이 충분히 보이도록 최소 높이 확보 */
    min-height: 320px;
    display: flex;
    align-items: stretch;
}

/* ── 슬라이더 ── */
.modal__slider {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}
.modal__slide {
    flex: 1;
    opacity: 0;
    transition: opacity 0.35s ease;
    display: none;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
}
.modal__slide.active {
    opacity: 1;
    display: flex;
    flex: 1;
}
.modal__slide img {
    /* contain: 가로/세로 어느 방향이든 잘리지 않고 전체가 보임 */
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-height: 82vh;
}

/* ── 화살표 버튼 ── */
.modal__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: #fff; font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 5;
    transition: background 0.2s;
}
.modal__arrow:hover { background: rgba(0,0,0,0.85); }
.modal__arrow--prev { left: 10px; }
.modal__arrow--next { right: 10px; }

/* ── 인디케이터 점 ── */
.modal__dots {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 5;
}
.modal__dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none; cursor: pointer;
    padding: 0; transition: background 0.2s, transform 0.2s;
}
.modal__dot.active { background: #fff; transform: scale(1.3); }

/* ── 이미지 카운터 ── */
.modal__img-counter {
    position: absolute; bottom: 10px; right: 10px;
    background: rgba(0,0,0,0.55);
    color: #fff; font-size: 0.72rem;
    padding: 3px 8px; border-radius: 20px;
    z-index: 5;
}

/* ── 포트폴리오 이미지 수 뱃지 ── */
.portfolio-item__img-count {
    position: absolute; top: 8px; right: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff; font-size: 0.65rem;
    padding: 2px 7px; border-radius: 20px;
    z-index: 2;
}

/* 정보 영역 */
.modal__details {
    flex: 1;
    padding: 40px 32px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}
.modal__tag {
    font-size: 0.67rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 3px 10px; border-radius: 50px;
    display: inline-block; margin-bottom: 14px;
}
.modal__title { font-size: 1.3rem; font-weight: 700; color: var(--text-white); margin-bottom: 16px; line-height: 1.4; }
.modal__meta {
    display: flex; flex-direction: column; gap: 10px;
    margin-bottom: 20px; padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.modal__meta-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-muted); }
.modal__meta-item i { color: var(--text-mid); width: 14px; }
.modal__desc { font-size: 0.88rem; color: var(--text-mid); line-height: 1.9; }

/* 모달 반응형 */
@media (max-width: 768px) {
    .modal__content { max-width: 98vw; max-height: 94vh; flex-direction: column; overflow-y: auto; }
    .modal__body { flex-direction: column; }
    .modal__img-wrap {
        flex: none;
        width: 100%;
        /* 모바일: 가로 사진 기준으로 56vw 정도 높이 확보 */
        height: 56vw;
        min-height: 200px;
        max-height: 55vh;
    }
    .modal__slide img { max-height: 55vh; }
    .modal__details { padding: 22px 18px; justify-content: flex-start; }
}

/* =============================================
   SCROLL TOP & TOAST
   ============================================= */
.scroll-top {
    position: fixed; bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    background: var(--text-white); color: var(--bg-base);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; z-index: 999;
    opacity: 0; transform: translateY(20px);
    transition: all var(--transition);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: #e0e0e0; transform: translateY(-2px); }

.toast {
    position: fixed; bottom: 84px; right: 28px;
    background: var(--bg-card2);
    border: 1px solid var(--border-mid);
    color: var(--text-bright);
    padding: 13px 22px; border-radius: var(--radius-sm);
    font-size: 0.85rem; font-weight: 500;
    display: flex; align-items: center; gap: 10px;
    z-index: 2001; box-shadow: var(--shadow-md);
    transform: translateY(16px); opacity: 0;
    transition: all var(--transition);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast i { color: var(--c-green); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.animate-on-scroll {
    opacity: 0; transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE — 태블릿 (1024px 이하)
   ============================================= */
@media (max-width: 1024px) {
    .services__grid { grid-template-columns: 1fr 1fr; }
    .services__grid .service-card:last-child { grid-column: span 2; max-width: 500px; margin: 0 auto; }
    .about__grid { grid-template-columns: 1fr; gap: 48px; }
    .about__image-wrap { height: 360px; max-width: 500px; margin: 0 auto; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer__brand { grid-column: span 2; }
}

/* =============================================
   RESPONSIVE — 모바일 (768px 이하)
   ============================================= */
@media (max-width: 768px) {
    :root { --header-h: 88px; }
    .section { padding: 72px 0; }
    .section__header { margin-bottom: 40px; }

    /* 모바일 로고 크기 조정 */
    .logo-img { height: 72px; }    /* 48px × 1.5 */
    .logo-img--footer { height: 87px; }  /* 58px × 1.5 */

    .nav__menu {
        position: fixed;
        top: var(--header-h); left: 0; right: 0;
        background: rgba(13,13,13,0.98);
        backdrop-filter: blur(16px);
        border-top: 1px solid var(--border);
        flex-direction: column; gap: 0; padding: 12px 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-120%); opacity: 0;
        transition: all var(--transition);
    }
    .nav__menu.open { transform: translateY(0); opacity: 1; }
    .nav__link { padding: 14px 28px; width: 100%; display: block; font-size: 0.95rem; }
    .nav__link::after { display: none; }
    .nav__toggle { display: flex; }

    .hero__stats { gap: 20px; }
    .stat__divider { height: 28px; }
    .hero__buttons { flex-direction: column; align-items: flex-start; }

    .services__grid { grid-template-columns: 1fr; }
    .services__grid .service-card:last-child { grid-column: span 1; max-width: 100%; }

    .process__steps { flex-direction: column; gap: 8px; align-items: stretch; }
    .process__arrow { transform: rotate(90deg); text-align: center; }
    .process__step { flex-direction: row; text-align: left; }

    .portfolio__grid { columns: 2; }
    .testimonials__grid { grid-template-columns: 1fr; }

    .contact__grid { grid-template-columns: 1fr; gap: 40px; }
    .contact__form { padding: 28px 20px; order: 1; }   /* 폼 먼저 */
    .contact__info  { order: 2; }                       /* 연락처 정보 나중 */
    .form__row { grid-template-columns: 1fr; }

    .footer__grid { grid-template-columns: 1fr; }
    .footer__brand { grid-column: span 1; }
    .footer__bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   RESPONSIVE — 소형 모바일 (480px 이하)
   ============================================= */
@media (max-width: 480px) {
    .portfolio__grid { columns: 1; }
    .hero__title { font-size: 2rem; }
    .about__image-wrap { height: 280px; }
    .about__badge-float { display: none; }
    .process__step { flex-direction: column; align-items: center; text-align: center; }
}
