:root {
    --ink: #1c1c1c;
    --sub: #4d4d4d;
    --line: #e4e2dd;
    --bg-soft: #f7f5f1;
    --accent: #2f5d4f;
    --accent-tint: #eaf1ed;
    --accent-pale: #c3d6cc;
    --warn-bg: #fdf4e3;
    --warn-line: #ecd7a8;
    --warn-ink: #7a5b16;
    --max: 1180px;
    --shadow-card: 0 1px 2px rgba(28,28,28,.04), 0 12px 28px -14px rgba(28,28,28,.18);
    --shadow-lift: 0 14px 32px -16px rgba(28,28,28,.22);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; font-size: 17px; }

body {
    margin: 0;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.6;
    word-break: keep-all;
    overflow-x: hidden;
}

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

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

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

/* HEADER */
.site-header {
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: 0 1px 0 rgba(28,28,28,.03), 0 8px 20px -16px rgba(28,28,28,.25);
    z-index: 10;
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.site-header .brand { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: 0.92rem; font-weight: 600; }
.site-nav a { white-space: nowrap; }
.btn-call {
    background: var(--accent);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 20px -8px rgba(47,93,79,.55);
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn-call:hover { transform: translateY(-1px); box-shadow: 0 14px 24px -8px rgba(47,93,79,.6); }

/* HERO */
.hero .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
}
.hero-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--accent-tint);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lift);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-text h1 { font-size: 2.4rem; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.02em; }
.hero-sub { font-size: 1.1rem; font-weight: 600; color: var(--sub); margin: 0 0 16px; white-space: pre-line; }
.hero-body { font-size: 1rem; color: var(--sub); margin: 0 0 24px; white-space: pre-line; }
.hero-text .btn-call { display: inline-block; padding: 14px 28px; font-size: 1rem; border-radius: 999px; }

/* SERVICE */
.service-section { padding: 64px 0 32px; }
.service-section h2 { text-align: center; font-size: 2.1rem; font-weight: 800; letter-spacing: 0.02em; margin: 0 0 8px; }
.service-lead { text-align: center; color: var(--sub); margin: 0 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.service-table { width: 100%; max-width: 760px; margin: 0 auto 40px; border-collapse: collapse; font-size: 0.92rem; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); }
.service-table th, .service-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.service-table th { background: var(--bg-soft); font-weight: 800; }
.service-table td:first-child { font-weight: 700; white-space: nowrap; }
.service-table td:last-child, .service-table td { color: var(--sub); }
.service-table td:first-child { color: var(--ink); }

.service-block {
    padding: 40px 0;
    border-top: 1px solid var(--line);
}
.service-block:nth-child(even) { background: var(--bg-soft); }
.service-block .wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 28px;
    align-items: center;
}
.service-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    overflow: hidden;
    background: #eee;
    box-shadow: var(--shadow-card);
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-badge {
    position: absolute;
    top: 12px;
    z-index: 2;
    background: rgba(28, 28, 28, 0.65);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 11px;
    border-radius: 999px;
}
.photo-badge-before { left: 12px; }
.photo-badge-after { right: 12px; }
.service-content { padding: 0 8px; }
.service-num { display: block; font-size: 3rem; line-height: 1; color: var(--accent-pale); font-weight: 800; letter-spacing: 0; margin-bottom: 4px; }
.service-content h3 { font-size: 1.4rem; font-weight: 800; margin: 0 0 12px; }
.service-content p { color: var(--sub); margin: 0 0 16px; }
.service-link { display: inline-block; font-weight: 700; color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* AREA */
.area-section { padding: 64px 0; background: var(--ink); color: #fff; }
.area-section h2 { text-align: center; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 40px; }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; list-style: none; margin: 0; padding: 0; }
.area-en { display: block; font-size: 0.85rem; letter-spacing: 0.2em; color: #9aa39c; margin-bottom: 8px; }
.area-kr { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.area-region-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }

/* FAQ */
.faq-section { padding: 64px 0; }
.faq-section > .wrap { max-width: 820px; background: var(--accent-tint); border-radius: 24px; padding: 48px 40px; box-shadow: var(--shadow-card); }
.faq-section > .wrap > h2 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.01em; text-align: center; margin: 0 0 8px; }
.faq-lead { text-align: center; color: var(--sub); margin: 0 0 40px; }
.faq-list { list-style: none; margin: 0; padding: 0; }
.faq-list > li:last-child .faq-item { border-bottom: 1px solid var(--line); }

/* shared FAQ accordion (home + NSEO article body) */
.faq-item { border-top: 1px solid var(--line); }
.faq-list > li:first-child .faq-item,
.block-faq .faq-item:first-of-type { border-top: 0; }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.faq-item summary::after {
    content: "+";
    font-size: 1.3rem;
    line-height: 1;
    color: var(--accent);
    flex: none;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { margin: 0 0 20px; color: var(--sub); }

/* CTA */
.cta-section { padding: 80px 0; text-align: center; background: var(--bg-soft); }
.cta-section h2 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 28px; }
.cta-section .btn-call { display: inline-block; padding: 16px 40px; font-size: 1.05rem; border-radius: 999px; }

/* FOOTER */
.site-footer { padding: 28px 0; background: var(--ink); color: #cfcfcf; font-size: 0.88rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; row-gap: 8px; column-gap: 10px; }
.footer-row .biz-name { color: #fff; font-weight: 700; }
.footer-row .sep { opacity: 0.35; }

/* NSEO PAGE */
.page-hero { padding: 48px 0 40px; background: var(--accent-tint); }
.page-hero h1 { font-size: 2rem; font-weight: 800; margin: 0 0 12px; }
.page-hero .lead { color: var(--sub); font-size: 1.05rem; margin: 0; max-width: 640px; }
.page-photos { padding: 40px 0; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.region-pill-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.region-pill {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: var(--shadow-card);
}

.article-body { padding: 48px 0; max-width: 760px; margin: 0 auto; }
.article-body h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 14px;
    padding-left: 14px;
    position: relative;
}
.article-body h2::before {
    content: "";
    position: absolute;
    left: 0; top: 3px; bottom: 3px;
    width: 4px;
    border-radius: 2px;
    background: var(--accent);
}
.article-body p { color: var(--sub); margin: 0 0 14px; }
.article-body p:last-child { margin-bottom: 0; }
.article-body ul { color: var(--sub); padding-left: 20px; margin: 0 0 16px; }
.article-body li { margin-bottom: 6px; }

.article-body .block {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px 28px 26px;
    margin: 0 0 20px;
    box-shadow: var(--shadow-card);
}
.article-body .block:nth-of-type(even) { background: var(--accent-tint); border-color: transparent; }
.article-body .block-table { background: var(--accent-tint); border-color: transparent; }
@media (min-width: 960px) {
    .article-body .block-table { width: calc(100% + 120px); margin-left: -60px; margin-right: -60px; }
}
.article-body .block-caution { background: var(--warn-bg); border-color: var(--warn-line); }
.article-body .block-caution h2::before { background: #c98a2e; }

.article-body table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.article-body th, .article-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.article-body th { color: var(--ink); font-weight: 700; background: rgba(255,255,255,.6); }
.article-body td { color: var(--sub); background: rgba(255,255,255,.35); }

.other-services { padding: 48px 0 64px; background: var(--bg-soft); }
.other-services .wrap > h2 { text-align: center; font-size: 1.7rem; font-weight: 800; letter-spacing: 0.01em; margin: 0 0 32px; }
.other-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.other-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow-card);
    transition: transform .15s ease;
}
.other-card:hover { transform: translateY(-3px); }
.other-card-photo { display: block; aspect-ratio: 3 / 4; background: #eee; }
.other-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.other-card-label { display: block; padding: 14px 10px; }

@media (max-width: 860px) {
    .hero .wrap { grid-template-columns: 1fr; padding-top: 32px; gap: 28px; }
    .hero-text h1 { font-size: 1.9rem; }
    .service-block { padding: 32px 0; }
    .service-block .wrap { grid-template-columns: 1fr; gap: 16px; }
    .service-photo { aspect-ratio: 16 / 10; }
    .service-content { padding: 0; }
    .area-grid { gap: 16px; }
    .area-kr { font-size: 1.5rem; }
    .photo-grid { grid-template-columns: 1fr; }
    .article-body .block { padding: 22px 20px 20px; }
    .faq-section > .wrap { padding: 36px 24px; }
    .other-list { grid-template-columns: repeat(2, 1fr); }
    .site-nav { gap: 12px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .wrap { padding: 0 16px; }
    .site-header .brand { font-size: 0.95rem; }
    .site-nav a:not(.btn-call) { display: none; }
    .hero-text h1 { font-size: 1.6rem; }
    .faq-section > .wrap { padding: 32px 20px; border-radius: 16px; }
}
