/* ============================================================
   URBAN FIX / 어반픽스 — 드레스룸행거설치
   EDITORIAL design system — WHITE + SAGE GREEN + CHARCOAL
============================================================ */

:root {
    --bg: #FFFFFF;
    --bg-sub: #F5F6F4;
    --text: #171717;
    --text-sub: #262626;
    --text-mute: #6B6F68;
    --sage: #536B45;
    --sage-2: #435638;
    --sage-tint: #EEF1EA;
    --line: #D8DDD5;
    --dark: #1C281A;
    --dark-line: rgba(255, 255, 255, 0.14);
    --container: 1160px;
    --font: "SUIT Variable", "Pretendard", -apple-system, BlinkMacSystemFont,
        "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-weight: 500;
    line-height: 1.65;
    word-break: keep-all;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; }
svg { display: block; }
table { border-collapse: collapse; width: 100%; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 14px;
}

.section { padding: 72px 0; }
.section-sub { background: var(--bg-sub); }

.section-head { margin-bottom: 44px; }
.section-head h2 {
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    font-weight: 700;
    color: var(--text-sub);
    letter-spacing: -0.01em;
}
.section-head p { margin-top: 14px; color: var(--text-mute); font-size: 1rem; }

.point { color: var(--sage); }
.mt-lg { margin-top: 64px; }
@media (max-width: 899px) { .section { padding: 52px 0; } .mt-lg { margin-top: 44px; } }

.lead-p { color: var(--text-sub); font-size: 1.04rem; max-width: 52em; margin-top: 16px; }
.body-p { color: var(--text-mute); font-size: 0.98rem; max-width: 52em; margin-top: 12px; }

/* ------------------------------------------------------------
   HEADER
------------------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--sage);
    border-bottom: 1px solid var(--sage-2);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-en { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; color: #fff; }
.brand-kr { font-size: 0.72rem; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.04em; }
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 30px; }
.nav-desktop a { font-size: 0.92rem; font-weight: 600; color: rgba(255, 255, 255, 0.88); }
.nav-desktop a:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-call {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--sage); color: #fff; font-weight: 700; font-size: 0.9rem;
    padding: 11px 20px; border-radius: 3px; white-space: nowrap;
}
.btn-call:hover { background: var(--sage-2); }
.btn-call svg { width: 16px; height: 16px; flex: none; }

.site-header .btn-call { background: #fff; color: var(--sage); }
.site-header .btn-call:hover { background: var(--sage-tint); }

.menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: none; border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 3px; color: #fff; cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }

.nav-mobile { display: none; border-top: 1px solid var(--sage-2); background: var(--sage); }
.nav-mobile.open { display: block; }
.nav-mobile ul { padding: 8px 24px 20px; }
.nav-mobile li { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.nav-mobile a { display: block; padding: 14px 0; font-size: 1rem; font-weight: 600; color: #fff; }

@media (min-width: 900px) {
    .nav-desktop { display: block; }
    .menu-toggle { display: none; }
    .nav-mobile { display: none !important; }
}

/* ------------------------------------------------------------
   HERO
------------------------------------------------------------ */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; gap: 40px; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy h1 {
    font-size: clamp(2.3rem, 7.6vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.14;
    color: var(--text-sub);
}
.hero-copy .sub { margin-top: 22px; font-size: 1.04rem; color: var(--text-mute); max-width: 34em; }
.hero-actions { margin-top: 32px; }

.hero-visual {
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
    background: var(--bg-sub);
    aspect-ratio: 4/5;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.hero-message {
    display: none;
}
.hero-message .rule { width: 1px; height: 60px; background: var(--line); margin: 0 auto 18px; }
.hero-message p {
    writing-mode: vertical-rl;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-mute);
    letter-spacing: 0.14em;
    margin: 0 auto;
}
.hero-message .num { font-size: 0.76rem; color: var(--sage); letter-spacing: 0.1em; margin-top: 16px; }

@media (min-width: 900px) {
    .hero { padding: 80px 0 56px; }
    .hero-grid { grid-template-columns: 1fr 0.9fr 0.28fr; align-items: center; }
    .hero-message { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; justify-content: center; }
}


/* ------------------------------------------------------------
   BENEFIT STRIP (dark)
------------------------------------------------------------ */
.benefit-strip { background: var(--dark); color: #fff; padding: 56px 0; }
.benefit-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); }
.benefit-cell { background: var(--dark); padding: 28px 24px; display: flex; align-items: flex-start; gap: 16px; }
.benefit-cell .icon-badge {
    flex: none; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.08); color: #A9C79A;
    display: flex; align-items: center; justify-content: center;
}
.benefit-cell .icon-badge svg { width: 20px; height: 20px; }
.benefit-cell h3 { font-size: 1.02rem; font-weight: 700; color: #fff; }
.benefit-cell p { margin-top: 6px; font-size: 0.86rem; color: #C7CFC3; line-height: 1.5; }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .benefit-grid { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------
   REAL CASE BEFORE / AFTER
------------------------------------------------------------ */
.ba-section { display: grid; gap: 36px; }
.ba-copy h2 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); font-weight: 700; color: var(--text-sub); line-height: 1.35; }
.ba-copy p { margin-top: 16px; color: var(--text-mute); font-size: 0.98rem; max-width: 28em; }
.ba-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-visual figure { margin: 0; position: relative; }
.ba-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; border: 1px solid var(--line); }
.ba-visual figcaption {
    position: absolute; left: 10px; bottom: 10px;
    background: rgba(28, 40, 26, 0.85); color: #fff;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
    padding: 5px 12px; border-radius: 999px;
}
@media (min-width: 900px) { .ba-section { grid-template-columns: 0.8fr 1.2fr; align-items: center; } }

/* NSEO subpage before/after pair (square) */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-pair figure { margin: 0; position: relative; }
.ba-pair img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 3px; border: 1px solid var(--line); }
.ba-pair figcaption {
    position: absolute; left: 12px; bottom: 12px;
    background: rgba(28, 40, 26, 0.85); color: #fff;
    font-size: 0.82rem; font-weight: 700; padding: 5px 14px; border-radius: 3px;
}
.cap { margin-top: 12px; font-size: 0.92rem; color: var(--text-mute); font-weight: 600; }

/* ------------------------------------------------------------
   PROJECT GALLERY
------------------------------------------------------------ */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.gallery-card { display: block; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: #fff; transition: border-color 0.15s; }
.gallery-card:hover { border-color: var(--sage); }
.gallery-card-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.gallery-card-photos figure { margin: 0; position: relative; }
.gallery-card-photos img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.gallery-card-photos figcaption {
    position: absolute; left: 6px; bottom: 6px;
    background: rgba(28, 40, 26, 0.85); color: #fff;
    font-size: 0.64rem; font-weight: 700; letter-spacing: 0.04em;
    padding: 3px 8px; border-radius: 3px;
}
.gallery-card .info { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.gallery-card .info .num { font-size: 0.76rem; font-weight: 700; color: var(--sage); letter-spacing: 0.06em; }
.gallery-card .info h3 { margin-top: 4px; font-size: 1rem; font-weight: 700; color: var(--text-sub); }
.gallery-card .info .desc { margin-top: 6px; font-size: 0.84rem; color: var(--text-mute); line-height: 1.5; }
.gallery-card .arrow { color: var(--sage); font-size: 1.1rem; flex: none; margin-top: 4px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------
   TABLE (cost / check factors — AEO table requirement)
------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 3px; margin-bottom: 32px; }
table th, table td { text-align: left; padding: 14px 18px; font-size: 0.94rem; border-bottom: 1px solid var(--line); }
table th { background: var(--bg-sub); color: var(--text-sub); font-weight: 700; white-space: nowrap; }
table td { color: var(--text-mute); }
table tbody tr:last-child th, table tbody tr:last-child td { border-bottom: none; }

/* ------------------------------------------------------------
   CHECK LIST
------------------------------------------------------------ */
.check-list { border-top: 1px solid var(--line); }
.check-item { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.check-item .mark { flex: none; width: 20px; height: 20px; border: 2px solid var(--sage); border-radius: 50%; position: relative; margin-top: 2px; }
.check-item .mark::after {
    content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px;
    border-right: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(40deg);
}
.check-item span:last-child { color: var(--text-sub); font-size: 0.96rem; font-weight: 600; }

/* ------------------------------------------------------------
   PROCESS (timeline)
------------------------------------------------------------ */
.process-list { position: relative; }
.process-item { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding-bottom: 32px; position: relative; }
.process-item:not(:last-child)::before {
    content: ""; position: absolute; left: 26px; top: 44px; bottom: 0; width: 1px; background: var(--line);
}
.process-item .num-badge {
    width: 52px; height: 52px; border: 2px solid var(--sage); color: var(--sage);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.05rem; background: #fff; flex: none;
}
.process-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-sub); margin-top: 10px; }
.process-item p { margin-top: 6px; color: var(--text-mute); font-size: 0.93rem; }
@media (min-width: 900px) {
    .process-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
    .process-item { grid-template-columns: 1fr; padding: 0 12px 0 0; padding-bottom: 0; }
    .process-item:not(:last-child)::before { left: 50%; top: 22px; width: 100%; right: auto; bottom: auto; height: 1px; }
    .process-item .num-badge { width: 44px; height: 44px; font-size: 0.92rem; margin: 0 auto 4px; }
    .process-item h3 { font-size: 0.98rem; }
}

/* ------------------------------------------------------------
   FAQ (native details/summary, no JS)
------------------------------------------------------------ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    padding: 20px 4px; cursor: pointer; font-weight: 700; font-size: 1rem; color: var(--text-sub);
    display: flex; gap: 14px; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; flex: none; color: var(--sage); font-weight: 800; }
.faq-item .a { padding: 0 4px 22px 28px; color: var(--text-mute); font-size: 0.95rem; display: flex; gap: 14px; }
.faq-item .a::before { content: "A"; flex: none; color: var(--text-mute); font-weight: 800; }

/* ------------------------------------------------------------
   OTHER SERVICES (photo card grid)
------------------------------------------------------------ */
.other-services-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.other-services h2 { font-size: clamp(1.3rem, 3.4vw, 1.8rem); font-weight: 700; color: var(--text-sub); }
.carousel-nav { display: flex; gap: 8px; flex: none; }
.carousel-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; color: var(--sage); cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.carousel-btn:hover { border-color: var(--sage); background: var(--sage-tint); }
.carousel-btn svg { width: 18px; height: 18px; }
.other-services .grid {
    display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-behavior: smooth;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.other-services .card {
    display: block; flex: 0 0 100%; scroll-snap-align: start;
    border-radius: 3px; overflow: hidden; border: 1px solid var(--line); transition: border-color 0.15s;
}
.other-services .card:hover { border-color: var(--sage); }
.other-services .card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.other-services .card .label { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; font-weight: 700; color: var(--text-sub); font-size: 1.02rem; }
.other-services .card .arrow { color: var(--sage); }
@media (min-width: 560px) { .other-services .card { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 900px) { .other-services .card { flex-basis: calc((100% - 32px) / 3); } }

/* ------------------------------------------------------------
   FINAL CTA / SMALL HERO / FOOTER
------------------------------------------------------------ */
.cta-band { background: var(--dark); color: #fff; text-align: center; padding: 64px 24px; border-radius: 3px; }
.cta-band h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700; }
.cta-band p { margin-top: 12px; color: #C7CFC3; font-size: 0.98rem; }
.cta-band .btn-call { margin-top: 26px; background: var(--sage); font-size: 1rem; padding: 15px 30px; }
.cta-band .btn-call:hover { background: #6b8659; }

.small-hero { padding: 40px 0 8px; border-bottom: 1px solid var(--line); }
.small-hero .crumb { font-size: 0.82rem; color: var(--text-mute); margin-bottom: 16px; }
.small-hero .crumb a { color: var(--sage); font-weight: 600; }
.small-hero h1 { font-size: clamp(1.8rem, 5.6vw, 2.7rem); font-weight: 800; color: var(--text-sub); letter-spacing: -0.01em; padding-bottom: 32px; }

.site-footer { background: var(--bg-sub); border-top: 1px solid var(--line); padding: 52px 0 36px; margin-top: 32px; }
.footer-brand { font-weight: 800; font-size: 1.1rem; color: var(--text-sub); }
.footer-info { margin-top: 18px; font-size: 0.86rem; color: var(--text-mute); line-height: 2; }
.footer-info strong { color: var(--text-sub); font-weight: 700; }
.footer-lastmod { margin-top: 14px; font-size: 0.8rem; color: var(--text-mute); }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--text-mute); }

.mobile-cta-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    background: var(--sage); color: #fff; font-weight: 700; font-size: 1rem;
    box-shadow: 0 -4px 16px rgba(23, 23, 23, 0.16);
}
.mobile-cta-bar svg { width: 18px; height: 18px; flex: none; }
body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .mobile-cta-bar { display: none; } body { padding-bottom: 0; } }

/* PC 전용 줄바꿈 */
.pc-only { display: none; }
@media (min-width: 900px) { .pc-only { display: inline; } }
