:root {
    --bg: #f6f7fb;
    --card: #ffffff;
    --text: #222222;
    --muted: #6b7280;
    --line: #e5e7eb;
    --brand: #1f4f8f;
    --brand-dark: #12355f;
    --accent: #f2b84b;
    --soft: #eef4ff;
    --shadow: 0 14px 35px rgba(15, 23, 42, .08);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
}

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

img {
    max-width: 100%;
    display: block;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 16px 10px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo-wrap {
    width: 220px;
    min-width: 180px;
}

.logo-wrap img {
    width: 100%;
    height: auto;
}

.site-tagline {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.menu-toggle {
    display: none;
    margin: 0 16px 12px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.category-nav {
    border-top: 1px solid var(--line);
    background: #fff;
}

.category-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 7px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    color: #374151;
    background: #fff;
    transition: .2s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 16px 50px;
}

.hero-section {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 24px;
    align-items: center;
    padding: 34px;
    background: linear-gradient(135deg, #ffffff 0%, #eaf2ff 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.eyebrow {
    display: inline-block;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-copy h1,
.article-head h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 50px);
    letter-spacing: -0.04em;
    line-height: 1.16;
    color: var(--brand-dark);
}

.hero-copy p,
.section-title p,
.article-head p {
    margin: 0;
    color: var(--muted);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    border: 1px solid transparent;
}

.btn.primary {
    background: var(--brand);
    color: #fff;
}

.btn.secondary {
    background: #fff;
    color: var(--brand);
    border-color: var(--brand);
}

.hero-visual {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}

.promo-strip {
    margin: 18px 0;
    padding: 14px 18px;
    border-radius: 14px;
    background: #fff7e4;
    border: 1px solid #f5dca6;
    color: #704b00;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.section-block,
.article-box {
    margin-top: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

.section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 24px;
}

.section-title.left {
    text-align: left;
    margin-left: 0;
}

.section-title h2,
.article-box h2 {
    margin: 0 0 8px;
    color: var(--brand-dark);
    letter-spacing: -0.02em;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    background: linear-gradient(180deg, #fff, #f9fbff);
    transition: .2s ease;
}

.service-card:hover,
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .1);
}

.service-card img {
    height: 90px;
    margin: 0 auto 14px;
}

.service-card h3 {
    margin: 0 0 8px;
    color: var(--brand-dark);
    font-size: 18px;
}

.service-card p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.category-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    justify-items: stretch;
}

.category-card {
    border: 1px solid var(--line);
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    transition: .2s ease;
}

.category-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--soft);
}

.category-card span {
    display: block;
    padding: 12px 14px;
    font-weight: 800;
    color: var(--brand-dark);
    text-align: left;
}

.article-head {
    margin-bottom: 20px;
}

.wide-image {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    margin: 12px 0 28px;
    background: var(--soft);
}

.article-box section {
    margin-top: 26px;
}

.article-box p {
    color: #374151;
    margin: 10px 0;
}

.check-list {
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.check-list li {
    padding: 12px 14px 12px 42px;
    background: #f7faff;
    border: 1px solid var(--line);
    border-radius: 12px;
    position: relative;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 15px;
    top: 10px;
    color: var(--brand);
    font-weight: 900;
}

.content-image-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 26px;
}

.content-image-row img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--line);
}

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

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fafafa;
    padding: 12px 14px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--brand-dark);
}

.notice-box {
    background: #fff8e9;
    border: 1px solid #f2dba8;
    border-radius: 16px;
    padding: 20px;
}

.site-footer {
    background: #15233b;
    color: #e5e7eb;
    padding: 30px 16px 38px;
}

.footer-nav,
.footer-info {
    max-width: 1180px;
    margin: 0 auto;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.footer-nav a {
    color: #d1d5db;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: 6px 10px;
}

.footer-info {
    padding-top: 18px;
    color: #cbd5e1;
}

.footer-info h2 {
    margin: 0 0 8px;
    color: #fff;
}

.footer-info p {
    margin: 4px 0;
}

@media (max-width: 920px) {
    .hero-section,
    .service-grid,
    .category-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section {
        padding: 24px;
    }
}

@media (max-width: 680px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .category-nav {
        display: none;
    }

    .category-nav.open {
        display: block;
    }

    .category-nav-inner {
        align-items: flex-start;
        gap: 7px;
    }

    .hero-section,
    .service-grid,
    .category-card-grid,
    .content-image-row {
        grid-template-columns: 1fr;
    }

    .section-block,
    .article-box {
        padding: 20px;
    }

    .logo-wrap {
        width: 190px;
    }
}
