
:root {
    --public-bg: #ececec;
    --public-surface: #ffffff;
    --public-dark: #353535;
    --public-text: #2f2f2f;
    --public-accent: #7a6882;
    --public-accent-dark: #67556e;
    --public-max: 1200px;
    --line: #d4d4d4;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.public-body {
    background: #f1f1f1;
    color: var(--public-text);
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(calc(100% - 48px), var(--public-max)); margin: 0 auto; }

.utility-bar {
    background: rgba(52, 52, 52, 0.95);
    color: #e9e9e9;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.utility-bar__inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.utility-nav {
    margin-left: auto;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 700;
}
.utility-nav a { opacity: 0.92; }
.utility-nav a:hover { opacity: 1; }

.main-nav-wrap {
    background: linear-gradient(180deg, rgba(62,62,62,0.96), rgba(58,58,58,0.96));
    color: #ffffff;
}
.main-nav__inner {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.brand-mark img { width: 300px; max-width: 100%; }
.main-nav {
    display: flex;
    align-items: center;
    gap: 44px;
    font-size: 21px;
    font-weight: 700;
}
.main-nav a {
    position: relative;
    padding: 10px 0;
    white-space: nowrap;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: center;
    background: rgba(255,255,255,0.95);
    transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }

.hero-section {
    background:
      linear-gradient(90deg, rgba(244,239,232,0.94) 0%, rgba(244,241,236,0.82) 35%, rgba(228,228,228,0.30) 58%, rgba(234,234,234,0.18) 100%),
      radial-gradient(circle at 16% 20%, rgba(132,136,151,0.18), transparent 22%),
      radial-gradient(circle at 82% 48%, rgba(171,124,109,0.12), transparent 28%),
      radial-gradient(circle at 72% 70%, rgba(109,108,108,0.10), transparent 18%),
      var(--hero-image, url('/assets/images/20260409122032_33a16dbd.jpg'));
    background-size: cover;
    background-position: center;
    min-height: 620px;
    display: flex;
    align-items: stretch;
}
.hero-section__inner {
    display: flex;
    align-items: center;
    min-height: 620px;
}
.hero-copy {
    width: min(560px, 100%);
    padding: 64px 0 56px;
}
.hero-badge {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}
.hero-title {
    margin: 0;
    font-size: clamp(58px, 8vw, 102px);
    line-height: 0.95;
    letter-spacing: -0.06em;
    font-weight: 800;
}
.hero-subtitle {
    margin: 18px 0 0;
    font-size: 24px;
    font-weight: 600;
}
.hero-description {
    margin: 28px 0 0;
    font-size: 18px;
    line-height: 1.75;
    color: #404040;
    max-width: 560px;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.btn--primary {
    min-width: 244px;
    min-height: 64px;
    padding: 0 26px;
    background: var(--public-accent);
    color: #fff;
    border-radius: 6px;
    font-size: 24px;
    font-weight: 800;
}
.btn--primary:hover { background: var(--public-accent-dark); }
.btn--ghost {
    min-width: 170px;
    min-height: 56px;
    padding: 0 20px;
    border: 1px solid rgba(0,0,0,0.12);
    background: rgba(255,255,255,0.85);
    color: var(--public-text);
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
}
.btn--small {
    min-width: 118px;
    min-height: 36px;
    padding: 0 18px;
    border-radius: 5px;
    background: #7f7f7f;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}
.btn--compact {
    min-width: 180px;
    min-height: 52px;
    font-size: 18px;
}
.hero-dots {
    display: flex;
    gap: 12px;
    margin-top: 122px;
}
.hero-dots span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #9f9999;
}
.hero-dots span.is-active { background: var(--public-accent); }

.home-contact-band {
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    background: #dddddd;
}
.home-contact { min-height: 230px; }
.home-contact--inquiry {
    position: relative;
    overflow: hidden;
    color: #1e1e1e;
    background:
        linear-gradient(90deg, rgba(245,241,239,0.28), rgba(224,219,217,0.18)),
        radial-gradient(circle at 18% 30%, rgba(255,255,255,0.9), transparent 24%),
        radial-gradient(circle at 70% 55%, rgba(172,144,130,0.16), transparent 30%),
        linear-gradient(120deg, #eee6e3 0%, #d8d5d4 55%, #c2b5ae 100%);
}
.home-contact__visual {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(0,0,0,0.02));
}
.home-contact__content {
    position: relative; z-index: 1; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 12px;
}
.contact-eyebrow {
    font-size: 28px;
    letter-spacing: 0.24em;
    font-weight: 800;
}
.contact-description { margin: 0; font-size: 18px; font-weight: 600; }
.home-contact--call {
    display: flex; align-items: center; justify-content: center; gap: 30px;
    background: #dfdfdf;
}
.call-icon {
    width: 84px; height: 84px; border-radius: 50%; background: #7e7e7e; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 42px; font-weight: 700;
}
.call-copy strong {
    display: block;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -0.04em;
}
.call-copy p {
    margin: 10px 0 0;
    font-size: 17px;
    color: #3f3f3f;
    font-weight: 600;
}
.call-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 14px;
    padding: 0 20px;
    background: #ffffff;
    border: 1px solid #cbcbcb;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 800;
}

.sub-hero {
    background: linear-gradient(135deg, #f0ece8 0%, #ece7e1 45%, #dfd6d1 100%);
    border-bottom: 1px solid #ddd2cb;
}
.sub-hero__inner {
    padding: 42px 0 38px;
}
.sub-hero__eyebrow {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--public-accent);
}
.sub-hero__title {
    margin: 8px 0 0;
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}
.subpage-wrap { padding: 34px 0 68px; }
.subpage-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
}
.subpage-grid.is-single {
    grid-template-columns: 1fr;
}
.sub-side-card,
.subpage-card,
.page-cta-box {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(0,0,0,0.04);
}
.sub-side-card {
    padding: 22px;
    position: sticky;
    top: 24px;
}
.sub-side-card__title {
    margin-bottom: 14px;
    font-size: 17px;
    font-weight: 800;
}
.sub-side-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sub-side-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 10px;
    background: #f6f6f6;
    color: #505050;
    font-weight: 700;
}
.sub-side-nav a.is-active,
.sub-side-nav a:hover {
    background: rgba(122, 104, 130, 0.12);
    color: var(--public-accent-dark);
}
.subpage-card {
    padding: 30px 32px;
}
.legacy-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.legacy-content h1,
.legacy-content h2,
.legacy-content h3 {
    margin-top: 0;
    color: #222;
}
.legacy-content img {
    max-width: 100%;
    height: auto;
}
.page-cta-box {
    margin-top: 22px;
    padding: 26px 28px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background: linear-gradient(135deg, #f8f4f9 0%, #f4f0f4 100%);
}
.page-cta-box h3 {
    margin: 0 0 8px;
    font-size: 24px;
}
.page-cta-box p {
    margin: 0;
    color: #555;
}
.page-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.placeholder-card {
    min-height: 260px;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 10px;
}

.public-footer {
    background: #efefef;
    border-top: 1px solid #d0d0d0;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(240px, .7fr) minmax(240px, .7fr);
    gap: 0;
}
.footer-col { padding: 28px 30px 30px; }
.footer-col--bank,
.footer-col--cs { border-left: 1px solid #c9c9c9; }
.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}
.company-meta p,
.footer-col p {
    margin: 3px 0;
    color: #4b4b4b;
    font-size: 15px;
    line-height: 1.5;
}
.footer-col h4 { margin: 0 0 12px; font-size: 18px; }
.footer-col strong {
    display: block;
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.2;
}
.copyright {
    margin-top: 18px;
    font-size: 16px;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .main-nav__inner { flex-direction: column; justify-content: center; padding: 18px 0; }
    .main-nav { gap: 26px; font-size: 18px; flex-wrap: wrap; justify-content: center; }
    .hero-section, .hero-section__inner { min-height: 540px; }
    .hero-copy { padding: 54px 0 48px; }
    .home-contact-band,
    .footer-grid,
    .subpage-grid { grid-template-columns: 1fr; }
    .footer-col--bank, .footer-col--cs { border-left: 0; border-top: 1px solid #c9c9c9; }
    .sub-side-card { position: static; }
    .page-cta-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
    .container { width: min(calc(100% - 28px), var(--public-max)); }
    .utility-bar__inner { padding: 8px 0; }
    .utility-nav { gap: 12px; justify-content: center; font-size: 13px; }
    .brand-mark img { width: 240px; }
    .main-nav { gap: 14px 18px; font-size: 16px; }
    .hero-section, .hero-section__inner { min-height: auto; }
    .hero-copy { width: 100%; padding: 54px 0 34px; }
    .hero-badge { font-size: 22px; }
    .hero-title { font-size: clamp(44px, 16vw, 72px); }
    .hero-description { font-size: 16px; margin-top: 20px; }
    .btn--primary { min-width: 200px; min-height: 56px; font-size: 20px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-dots { margin-top: 48px; }
    .home-contact--call { flex-direction: column; text-align: center; padding: 28px 20px; }
    .call-copy strong { font-size: 30px; }
    .call-email { font-size: 16px; }
    .footer-col { padding: 24px 20px; }
    .subpage-card, .sub-side-card, .page-cta-box { padding: 22px 18px; }
}
