:root {
    --ink-900: #18222b;
    --ink-800: #24313b;
    --ink-700: #30404c;
    --paper: #f3f1eb;
    --paper-strong: #faf9f5;
    --brass: #9a6b2f;
    --brass-soft: rgba(154, 107, 47, 0.12);
    --blueprint-line: rgba(36, 49, 59, 0.14);
    --primary-color: #24313b;
    --primary-light: #344653;
    --accent-color: #1f6f67;
    --accent-hover: #195b55;
    --accent-dark: #164c47;
    --accent-soft: rgba(31, 111, 103, 0.09);
    --accent-soft-bg: #e2efeb;
    --bg-light: #f1f3f1;
    --surface: #ffffff;
    --surface-muted: #ecefed;
    --text-dark: #1f2932;
    --text-muted: #616c74;
    --line-soft: rgba(36, 49, 59, 0.16);
    --steel: #6c7780;
    --safety: #a36d2a;
    --shadow-soft: none;
    --shadow-card: none;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    background: var(--paper);
    color: var(--text-dark);
    word-break: keep-all;
}

body::before {
    content: none;
}

.container {
    max-width: 1160px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 0;
    line-height: 1.18;
}

p {
    letter-spacing: 0;
}

.text-navy {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent-soft {
    background-color: var(--accent-soft-bg) !important;
}

.border-accent {
    border-color: var(--accent-color) !important;
}

.top-bar {
    padding: 0.42rem 0;
    background: #1b252e;
    color: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.86rem;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.top-bar a:hover {
    color: #fff;
}

.navbar {
    background: #24313b !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
    backdrop-filter: none;
    padding-block: 0.58rem;
}

.navbar-brand {
    gap: 0.35rem;
}

.brand-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    overflow: visible;
    border-radius: 0 !important;
}

.brand-mark-img {
    display: block;
    width: 45px;
    height: auto;
    object-fit: contain;
    opacity: 1;
    filter:
        saturate(1.18)
        brightness(1.35)
        drop-shadow(1px 0 0 rgba(232, 242, 255, 0.66))
        drop-shadow(-1px 0 0 rgba(232, 242, 255, 0.66))
        drop-shadow(0 1px 0 rgba(232, 242, 255, 0.66))
        drop-shadow(0 -1px 0 rgba(232, 242, 255, 0.66));
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar-brand:hover .brand-mark-img {
    opacity: 1;
    transform: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.74) !important;
    font-weight: 700;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.nav-link.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 0.35rem;
    border-radius: 999px;
    background: var(--brass);
}

.btn {
    border-radius: 5px;
    box-shadow: none !important;
}

.btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.64);
    background: transparent;
    backdrop-filter: none;
}

.btn-outline-navy {
    border-color: rgba(23, 50, 77, 0.28);
    color: var(--primary-color);
    font-weight: 700;
}

.btn-outline-navy:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn.rounded-pill {
    border-radius: 5px !important;
}

.shadow-sm,
.shadow-lg {
    box-shadow: none !important;
}

.rounded-4 {
    border-radius: 5px !important;
}

.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(2.8rem, 5vw, 4.25rem) 0 clamp(2.5rem, 4vw, 3.6rem);
    background:
        linear-gradient(90deg, rgba(24, 34, 43, 0.94) 0%, rgba(24, 34, 43, 0.9) 58%, rgba(24, 34, 43, 0.72) 100%),
        url('/static/images/hero-bg-clean.png') center/cover no-repeat;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-simple .hero-copy {
    margin-inline: 0;
}

.hero-copy {
    max-width: 720px;
}

.hero .section-kicker {
    color: rgba(255, 255, 255, 0.76) !important;
    margin-bottom: 0.7rem;
}

.hero .badge {
    border-radius: 6px !important;
    background: rgba(217, 119, 6, 0.22) !important;
    border-color: rgba(245, 158, 11, 0.38) !important;
    color: #fff5dc !important;
}

.hero h1 {
    color: #fff;
    max-width: 760px;
    margin-inline: 0;
    font-size: clamp(2.3rem, 4.2vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 1rem !important;
    text-wrap: balance;
    text-shadow: none;
}

.hero-title-line {
    display: block;
}

.hero .lead {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.4vw, 1.2rem) !important;
    margin-bottom: 1.45rem !important;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-trustline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-trustline span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-trustline span::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--brass);
}

.product-index {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem 1.15rem;
    max-width: 820px;
    margin-top: 1.8rem;
    padding: 0.95rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.product-index-label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.84rem;
    font-weight: 800;
}

.product-index a {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.18rem 0;
    border-bottom: 2px solid transparent;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 800;
    text-decoration: none;
}

.product-index a::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 999px;
    background: var(--brass);
}

.product-index a:hover,
.product-index a:focus-visible {
    border-bottom-color: var(--brass);
    color: #fff;
}

.response-console {
    border: 1px solid var(--line-soft) !important;
    background: #fff !important;
    color: var(--ink-900) !important;
    box-shadow: none;
}

.product-route {
    background: #f6f6f2 !important;
}

.product-route .card {
    background: #fff;
    border-top: 0 !important;
    border-left: 3px solid rgba(31, 111, 103, 0.42) !important;
    text-align: left !important;
}

.product-route .card h5 {
    color: var(--ink-900);
}

.product-route .card p {
    line-height: 1.55;
}

.brand-confidence {
    background: var(--paper-strong);
}

.brand-confidence .brand-card {
    background: #fff !important;
}

.brand-note {
    display: inline-flex;
    max-width: 760px;
    padding: 0.8rem 1rem;
    border: 1px solid var(--blueprint-line);
    border-radius: 4px;
    background: #fff;
    color: #53616d;
    line-height: 1.7;
}

section {
    position: relative;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.bg-white {
    background-color: #fff !important;
}

.bg-dark {
    background: #24313b !important;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.section-title {
    position: relative;
    color: var(--primary-color);
    margin-bottom: 1.1rem;
    padding-bottom: 0.8rem;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    transform: none;
    display: block;
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: var(--brass);
}

.section-subtitle {
    color: var(--text-muted);
    line-height: 1.75;
}

.card,
.trust-panel {
    border: 1px solid var(--line-soft) !important;
    border-radius: 5px !important;
    box-shadow: var(--shadow-card);
}

.product-route .text-center,
.brand-confidence .text-center,
.product-category-band .text-center,
.py-5.bg-light > .container > .text-center {
    text-align: left !important;
}

.product-route .section-kicker,
.brand-confidence .section-kicker,
.product-category-band .section-kicker {
    justify-content: flex-start !important;
}

.product-route .section-subtitle,
.brand-confidence .section-subtitle {
    max-width: 780px;
}

.product-matrix .product-index {
    text-align: left;
}

.product-matrix .container,
.product-matrix .section-kicker {
    text-align: left !important;
    justify-content: flex-start !important;
}

.product-matrix .lead {
    max-width: 760px;
}

.product-category-band {
    overflow: hidden;
}

.product-category-band .section-title {
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.product-category-band .section-title::after {
    left: 0;
    transform: none;
}

.spec-ledger .card {
    height: 100%;
    text-align: left !important;
    border-left: 3px solid rgba(31, 111, 103, 0.42) !important;
    background: #fff;
}

.spec-grid .card {
    min-height: 100%;
}

.spec-ledger .icon-box {
    margin-left: 0;
    margin-right: 0;
}

.spec-ledger small {
    display: inline-flex;
    width: fit-content;
    padding: 0.26rem 0.58rem;
    border: 1px solid var(--blueprint-line);
    border-radius: 4px;
    background: var(--paper);
    color: #586775 !important;
    font-weight: 700;
}

.card:hover {
    transform: none;
    box-shadow: none;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 4px;
    color: var(--accent-color);
    background: var(--accent-soft);
}

.icon-box i {
    font-size: 1.2rem;
    line-height: 1;
}

.card:hover .icon-box {
    background: var(--accent-soft);
    color: var(--accent-color);
}

.trust-panel {
    padding: clamp(1.4rem, 3vw, 2rem);
    background: #fff;
}

.trust-list li {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
    line-height: 1.62;
}

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

.trust-list i {
    color: var(--accent-color);
}

.brand-rail {
    -webkit-overflow-scrolling: touch;
}

.brand-rail-item {
    min-width: 140px;
}

.brand-card {
    min-height: 112px;
    border: 1px solid var(--line-soft);
    border-radius: 5px;
}

.brand-logo {
    max-height: 64px;
    filter: grayscale(100%) contrast(0.96);
    opacity: 0.78;
}

.brand-logo:hover {
    filter: grayscale(0%) contrast(1);
}

#quick-inquiry {
    background: #24313b !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#quick-inquiry .contact-note {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

#quick-inquiry .card {
    box-shadow: none;
}

.product-icon-accent {
    color: var(--accent-color);
    font-size: 0.78rem;
    margin-bottom: 0.75rem !important;
}

.product-icon-accent i {
    font-size: 1.25rem !important;
}

.quick-contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
}

#quick-inquiry .response-console {
    background: #fff !important;
    color: var(--ink-900) !important;
    border: 1px solid var(--line-soft) !important;
}

#quick-inquiry .response-console .contact-note {
    background: rgba(15, 118, 110, 0.08);
    color: #3e4b55;
    border-color: rgba(15, 118, 110, 0.18);
}

.support-ledger .trust-panel {
    background: #fff;
    border-top: 0 !important;
    border-left: 3px solid rgba(31, 111, 103, 0.42) !important;
}

.confirmation-panel {
    background: #fff !important;
    border-top: 0 !important;
    border-left: 4px solid rgba(31, 111, 103, 0.54) !important;
}

.confirmation-panel .icon-box {
    width: 72px;
    height: 72px;
}

.contact-note {
    padding: 1rem 1.1rem;
    border-radius: 5px;
    border: 1px solid rgba(15, 118, 110, 0.16);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 5px !important;
}

.form-control,
.form-check-input {
    border-radius: 5px !important;
}

.form-control {
    background: #f7f7f4 !important;
    border: 1px solid rgba(36, 49, 59, 0.14) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
    background: #fff !important;
    border-color: rgba(15, 118, 110, 0.55) !important;
    box-shadow: 0 0 0 0.24rem rgba(15, 118, 110, 0.12);
}

.footer {
    padding: 52px 0;
    color: #fff;
    background: #1b252e !important;
    border-top: 3px solid var(--accent-color);
}

.footer-brand-mark {
    width: 88px;
    height: 82px;
}

.footer-brand-img {
    display: block;
    height: 76px;
    width: auto;
    opacity: 1;
    filter:
        saturate(1.18)
        brightness(1.35)
        drop-shadow(1px 0 0 rgba(232, 242, 255, 0.62))
        drop-shadow(-1px 0 0 rgba(232, 242, 255, 0.62))
        drop-shadow(0 1px 0 rgba(232, 242, 255, 0.62))
        drop-shadow(0 -1px 0 rgba(232, 242, 255, 0.62));
}

.footer-tagline {
    color: #94a3b8;
}

.footer img,
.navbar-brand img {
    image-rendering: auto;
}

.py-5.bg-dark.text-white {
    overflow: hidden;
    padding-block: clamp(3.5rem, 7vw, 5.5rem) !important;
}

.py-5.bg-dark.text-white::after {
    content: none;
}

.py-5.bg-dark.text-white h1 {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.root_daum_roughmap {
    border-radius: 5px;
}

.map-embed {
    width: 100%;
    height: 420px;
}

.map-card {
    min-height: 100%;
}

.map-support {
    flex: 1;
    background: #fff;
    border-top: 1px solid var(--line-soft);
}

.contact-detail a,
.contact-detail p {
    word-break: break-word;
}

.process-line {
    z-index: 0;
    height: 2px;
    max-width: 80%;
    left: 10% !important;
    background: var(--line-soft);
}

.process-step {
    z-index: 1;
}

.process-icon {
    width: 54px;
    height: 54px;
    border-radius: 5px !important;
    box-shadow: none !important;
}

.process-step > div {
    text-align: left !important;
    border: 1px solid var(--line-soft);
    border-radius: 5px;
}

@media (min-width: 992px) {
    .hero-actions {
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem 0 0.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-link.active::after {
        width: 28px;
    }
}

@media (max-width: 767.98px) {
    body {
        background-size: auto;
    }

    .navbar {
        padding-block: 0.7rem;
    }

    .navbar-brand {
        font-size: 1.05rem;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .brand-mark-img {
        width: 40px;
    }

    .hero {
        min-height: auto;
        padding: 2.25rem 0 2.4rem;
        text-align: left !important;
    }

    .hero .section-kicker {
        margin-bottom: 0.55rem;
        font-size: 0.78rem;
    }

    .hero h1 {
        margin-inline: 0;
        font-size: clamp(2rem, 9vw, 2.75rem);
        margin-bottom: 0.7rem !important;
    }

    .hero .lead {
        font-size: 1rem !important;
        line-height: 1.55;
        margin-bottom: 1.1rem !important;
    }

    .hero .lead br {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.65rem !important;
    }

    .hero .btn {
        width: 100%;
        padding: 0.78rem 1rem !important;
    }

    .hero-trustline {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.35rem;
        margin-top: 0.85rem;
        font-size: 0.82rem;
    }

    .product-index {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.42rem;
        margin-top: 1.25rem;
        padding: 0.78rem 0;
    }

    .product-index a {
        width: fit-content;
        font-size: 0.92rem;
    }

    .section-title {
        margin-bottom: 1.9rem;
        padding-bottom: 0.9rem;
    }

    .section-subtitle {
        font-size: 1rem !important;
    }

    .card,
    .trust-panel {
        box-shadow: var(--shadow-soft);
    }

    .product-category-band .section-title {
        display: block;
        text-align: left;
    }

    .product-category-band .section-title::after {
        left: 0;
        transform: none;
    }

    .card.p-5 {
        padding: 1.6rem !important;
    }

    #quick-inquiry .card {
        padding: 1.4rem !important;
    }

    .map-support {
        padding: 1.5rem !important;
    }

    .footer {
        padding: 44px 0;
    }

    body {
        padding-bottom: 60px;
    }
}

/* 푸터 법적 정보 대비 보정 (WCAG AA) */
.footer .text-secondary {
    color: #aab4bf !important;
}

/* 모바일 하단 고정 통화 바 */
.mobile-call-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1030;
    display: flex;
    box-shadow: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-call-bar a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 0.5rem;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
}

.mobile-call-bar .call {
    background: var(--accent-color);
    color: #fff;
}

.mobile-call-bar .inquiry {
    background: var(--ink-800);
    color: #fff;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-call-bar i {
    font-size: 1.1rem;
}
