:root {
    --ink: #17212f;
    --ink-soft: #2d3b4f;
    --muted: #66758a;
    --line: #dce5ee;
    --paper: #ffffff;
    --bg: #f4f7f3;
    --panel: #eef4ea;
    --navy: #17385f;
    --teal: #12877b;
    --mint: #d8efe2;
    --lime: #b9d96a;
    --coral: #ef7b55;
    --amber: #f2be5c;
    --shadow: 0 18px 44px rgba(23, 33, 47, 0.1);
    --shadow-soft: 0 10px 24px rgba(23, 33, 47, 0.08);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(23, 56, 95, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, #fbfcf8 0%, var(--bg) 48%, #edf4ef 100%);
    background-size: 42px 42px, auto;
    font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(23, 56, 95, 0.08), transparent 34%),
        linear-gradient(300deg, rgba(239, 123, 85, 0.1), transparent 32%);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
}

.blobs {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px min(5vw, 72px);
    background: rgba(251, 252, 248, 0.9);
    border-bottom: 1px solid rgba(220, 229, 238, 0.9);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 236px;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: var(--radius);
    color: white;
    font-weight: 900;
    background: linear-gradient(145deg, var(--navy), var(--teal));
    box-shadow: 0 10px 18px rgba(18, 135, 123, 0.22);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 16px;
}

.brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a,
.nav-form button {
    padding: 10px 11px;
    border: 0;
    border-radius: var(--radius);
    color: var(--muted);
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav .is-active,
.nav-form button:hover {
    color: var(--navy);
    background: rgba(23, 56, 95, 0.08);
}

.site-nav .nav-cta {
    margin-left: 4px;
    color: white;
    background: var(--ink);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: white;
    font-size: 20px;
}

.flash {
    width: min(1120px, calc(100% - 32px));
    margin: 18px auto 0;
    padding: 13px 16px;
    border-radius: var(--radius);
    font-weight: 800;
}

.flash-success {
    color: #0b6849;
    background: #dff3e9;
}

.flash-error {
    color: #983734;
    background: #ffe6df;
}

.hero,
.page-hero,
.section,
.cta-band {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 42px;
    align-items: center;
    min-height: calc(100vh - 70px);
    padding: 58px 0 72px;
}

.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 48px;
    align-items: center;
    padding: 78px 0 38px;
}

.page-hero > .eyebrow,
.page-hero > h1,
.page-hero > p {
    grid-column: 1;
}

.page-hero .hero-image {
    grid-column: 2;
    grid-row: 1 / 4;
}

.page-hero.compact {
    display: block;
    max-width: 760px;
    text-align: center;
}

.section,
.cta-band {
    padding: 46px 0;
}

.hero-copy h1,
.page-hero h1 {
    margin: 14px 0 18px;
    max-width: 820px;
    color: var(--ink);
    font-size: clamp(36px, 5.8vw, 64px);
    line-height: 1.08;
    font-weight: 900;
}

.page-hero h1 {
    font-size: clamp(34px, 4.8vw, 56px);
}

.hero-copy p,
.page-hero p,
.section p,
.cta-band p {
    color: var(--muted);
    line-height: 1.75;
    font-weight: 500;
}

.hero-copy p,
.page-hero p {
    max-width: 680px;
    font-size: 18px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--coral);
}

.title-accent {
    display: none;
}

.text-gradient {
    background: none;
    -webkit-text-fill-color: currentColor;
}

.hero-copy h1::after,
.page-hero h1::after {
    content: "";
    display: block;
    width: 96px;
    height: 7px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lime), var(--coral));
}

.page-hero.compact h1::after {
    margin-left: auto;
    margin-right: auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.primary {
    color: white;
    background: linear-gradient(135deg, var(--navy), var(--teal));
    box-shadow: 0 14px 28px rgba(23, 56, 95, 0.22);
}

.ghost {
    color: var(--navy);
    background: white;
    border-color: var(--line);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.hero-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(23, 56, 95, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
}

.metric-card,
.card,
.form-card,
.contact-panel,
.promise-box,
.case-card,
.notice-item,
.timeline-card {
    position: relative;
    border: 1px solid rgba(23, 56, 95, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
}

.metric-card {
    min-height: 154px;
    padding: 22px;
    overflow: hidden;
}

.metric-card::before,
.card::before,
.case-card::before,
.notice-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--lime), var(--coral));
}

.metric-card strong {
    display: block;
    margin-top: 16px;
    color: var(--navy);
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.metric-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 700;
}

.metric-card.wide {
    grid-column: 1 / -1;
}

.dashboard-preview-card {
    min-height: 248px;
    padding: 0;
    overflow: hidden;
    background: var(--ink);
}

.dashboard-img {
    width: 100%;
    height: 100%;
    min-height: 248px;
    object-fit: cover;
    opacity: 0.82;
}

.preview-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 44px 22px 22px;
    color: white;
    background: linear-gradient(to top, rgba(23, 33, 47, 0.92), transparent);
}

.preview-overlay strong,
.preview-overlay span {
    display: block;
}

.preview-overlay strong {
    font-size: 22px;
    font-weight: 900;
}

.preview-overlay span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.78);
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
    margin-bottom: 22px;
}

.section-head h2,
.split-band h2,
.cta-band h2,
.form-card h2,
.contact-panel h2,
.card h2,
.card h3,
.case-card h2,
.notice-item h2,
.timeline-card h2 {
    margin: 0 0 12px;
    color: var(--ink);
    line-height: 1.25;
    font-weight: 900;
}

.section-head h2,
.split-band h2,
.cta-band h2 {
    font-size: clamp(26px, 3vw, 40px);
}

.service-grid,
.service-detail-grid,
.feature-row,
.case-grid,
.mypage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

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

.mypage-grid {
    grid-template-columns: 0.85fr 1.15fr;
}

.card,
.detail-card {
    min-height: 220px;
    padding: 26px;
    overflow: hidden;
}

.detail-card {
    min-height: 188px;
}

.card::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -36px;
    width: 112px;
    height: 112px;
    border: 1px solid rgba(18, 135, 123, 0.18);
    border-radius: 50%;
}

.badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--navy);
    background: var(--panel);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.icon {
    display: inline-flex;
    width: 48px;
    height: 32px;
    align-items: center;
    justify-content: center;
    place-items: center;
    margin-bottom: 18px;
    border-left: 3px solid var(--coral);
    border-radius: 0;
    color: var(--navy);
    background: rgba(23, 56, 95, 0.06);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.split-band,
.cta-band {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: center;
    padding: 40px;
    border: 1px solid rgba(23, 56, 95, 0.12);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(216, 239, 226, 0.88)),
        var(--paper);
    box-shadow: var(--shadow);
}

.check-list {
    display: grid;
    gap: 10px;
}

.check-list p {
    margin: 0;
    padding: 15px 16px 15px 44px;
    border: 1px solid rgba(23, 56, 95, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
}

.check-list p::before {
    content: "✓";
    position: absolute;
    margin-left: -28px;
    color: var(--teal);
    font-weight: 900;
}

.process {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.process-step {
    min-height: 126px;
    padding: 18px;
    border: 1px solid rgba(23, 56, 95, 0.12);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow-soft);
}

.process-step span {
    display: block;
    margin-bottom: 22px;
    color: var(--coral);
    font-weight: 900;
}

.process-step strong {
    font-size: 18px;
}

.promise-box {
    padding: 28px;
    background: var(--ink);
}

.promise-box strong,
.promise-box p {
    color: white;
}

.feature-row article {
    min-height: 170px;
    padding: 24px;
    border-left: 4px solid var(--teal);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow-soft);
}

.feature-row h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 22px;
}

.timeline {
    max-width: 980px;
    padding-top: 36px;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 14px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 60px;
    bottom: -28px;
    width: 2px;
    background: rgba(18, 135, 123, 0.22);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    border: 8px solid var(--bg);
    border-radius: 50%;
    background: var(--teal);
    box-shadow: inset 0 0 0 6px white;
}

.timeline-empty {
    display: none;
}

.timeline-card {
    padding: 26px;
    width:430px;
}

.step-number {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    color: white;
    background: var(--navy);
    font-size: 12px;
    font-weight: 900;
}

.step-icon {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 5px 10px;
    border-left: 3px solid var(--coral);
    color: var(--teal);
    background: rgba(18, 135, 123, 0.08);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-card {
    overflow: hidden;
    background: white;
}

.case-image {
    height: 250px;
    background:
        linear-gradient(135deg, rgba(23, 56, 95, 0.18), rgba(18, 135, 123, 0.14)),
        linear-gradient(45deg, #dfe9e5 25%, #f8faf3 25%, #f8faf3 50%, #dfe9e5 50%, #dfe9e5 75%, #f8faf3 75%);
    background-size: auto, 30px 30px;

}

.case-image.rooms {
    background:
        linear-gradient(135deg, rgba(23, 56, 95, 0.2), rgba(239, 123, 85, 0.16)),
        repeating-linear-gradient(90deg, #f9fbf4 0 24px, #dce7e0 24px 28px);
}

.case-image.multi {
    background:
        linear-gradient(135deg, rgba(18, 135, 123, 0.18), rgba(185, 217, 106, 0.22)),
        linear-gradient(135deg, #e8efe8 25%, transparent 25%),
        linear-gradient(225deg, #f9fbf4 25%, transparent 25%);
    background-size: auto, 34px 34px, 34px 34px;
}

.case-image.shop {
    background:
        linear-gradient(135deg, rgba(239, 123, 85, 0.22), rgba(23, 56, 95, 0.18)),
        repeating-linear-gradient(0deg, #f9fbf4 0 18px, #dde8e2 18px 22px);
}

.case-card div:last-child {
    padding: 24px;
}

.case-card span {
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
}

.notice-list {
    display: grid;
    gap: 14px;
}

.notice-item {
    padding: 24px 26px;
    overflow: hidden;
}

.form-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.form-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 26px;
}

.auth-wrap {
    display: flex;
    justify-content: center;
}

.auth-card {
    width: min(520px, 100%);
    grid-template-columns: 1fr;
}

label {
    display: grid;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 800;
}

label.full,
.form-card button,
.form-note {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcf8;
    color: var(--ink);
    font: inherit;
    font-weight: 600;
}

input,
select {
    height: 46px;
    padding: 0 13px;
}

textarea {
    min-height: 150px;
    padding: 13px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(18, 135, 123, 0.16);
    border-color: var(--teal);
}

.check {
    display: flex;
    align-items: center;
    gap: 9px;
}

.check input {
    width: 18px;
    height: 18px;
}

.contact-panel {
    display: grid;
    gap: 14px;
    padding: 26px;
    background: var(--ink);
}

.contact-panel h2,
.contact-panel p {
    color: white;
}

.phone-link {
    color: var(--lime);
    font-size: 26px;
    font-weight: 900;
}

.form-note {
    margin: 0;
    text-align: center;
}

.form-note a {
    color: var(--teal);
    font-weight: 900;
}

.mini-record {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding: 42px min(5vw, 72px) 86px;
    color: rgba(255, 255, 255, 0.74);
    background: var(--ink);
}

.site-footer strong {
    color: white;
}

.site-footer p {
    margin: 8px 0 0;
}

.footer-info {
    display: grid;
    gap: 6px;
    text-align: right;
}

.mobile-action-bar {
    display: none;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible,
.card.is-visible,
.case-card.is-visible,
.timeline-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1020px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: grid;
        place-items: center;
        margin-left: auto;
    }

    .site-nav {
        position: absolute;
        top: 70px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: white;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a,
    .nav-form button {
        width: 100%;
        text-align: left;
    }

    .hero,
    .page-hero,
    .split-band,
    .cta-band,
    .form-section {
        grid-template-columns: 1fr;
    }

    .page-hero .hero-image {
        grid-column: 1;
        grid-row: auto;
    }

    .hero {
        min-height: auto;
        padding-top: 46px;
    }

    .service-grid,
    .service-detail-grid,
    .feature-row,
    .case-grid,
    .mypage-grid,
    .process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .site-header {
        padding: 12px 16px;
    }

    .brand {
        min-width: 0;
    }

    .brand small {
        display: none;
    }

    .hero,
    .page-hero,
    .section,
    .cta-band {
        width: min(100% - 24px, 1120px);
    }

    .hero {
        gap: 24px;
        padding: 36px 0 46px;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: clamp(32px, 12vw, 44px);
    }

    .hero-copy p,
    .page-hero p {
        font-size: 16px;
    }

    .hero-panel,
    .service-grid,
    .service-detail-grid,
    .feature-row,
    .case-grid,
    .mypage-grid,
    .process,
    .form-card {
        grid-template-columns: 1fr;
    }

    .section-head {
        display: block;
    }

    .split-band,
    .cta-band {
        padding: 26px;
    }

    .timeline-item {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .timeline-dot {
        width: 40px;
        height: 40px;
        border-width: 6px;
    }

    .timeline-item::before {
        left: 20px;
        top: 42px;
    }

    .footer-info,
    .site-footer {
        text-align: left;
    }

    .site-footer {
        display: block;
        padding-bottom: 92px;
    }

    .mobile-action-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        background: var(--ink);
    }

    .mobile-action-bar a {
        display: grid;
        min-height: 54px;
        place-items: center;
        color: white;
        font-weight: 900;
    }

    .mobile-action-bar a + a {
        background: var(--teal);
    }
}
