@charset "utf-8";
/* ===================================================================
   무료상담 전용 (Figma 7601:2194) — 공통은 suwan-sub.css, FAQ는 suwan-consulting.css
   =================================================================== */

/* ---- 안내 밴드 ---- */
.smcon-band {
    margin-top: 20px; display: flex; align-items: center; gap: 40px;
    padding: 50px 60px; border-radius: 20px; background: #f3f7fd; border: 1px solid #e6edf8;
}
.smcon-band__lead { flex: 0 0 360px; }
.smcon-band__title { font-size: 24px; font-weight: 700; letter-spacing: -0.24px; color: var(--sm-primary); line-height: 1.4; }
.smcon-band__sub { margin-top: 14px; font-size: 16px; font-weight: 400; line-height: 1.6; color: #5a6475; }
.smcon-band__steps { flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.smcon-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.smcon-step:not(:last-child)::after {
    content: ""; position: absolute; top: 26px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 0;
    border-top: 1px dashed #c3cede;
}
.smcon-step__num {
    display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    font-size: 17px; font-weight: 700; color: #fff; border: 1px solid var(--sm-primary); background: var(--sm-primary); position: relative; z-index: 1;
}
.smcon-step__title { margin-top: 18px; font-size: 17px; font-weight: 700; color: #111; letter-spacing: -0.17px; }
.smcon-step__desc { margin-top: 8px; font-size: 14px; font-weight: 400; color: #8a94a6; line-height: 1.5; }

/* ---- 폼 ---- */
.smcon-form-wrap { margin-top: 70px; display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; }
.smcon-aside { position: relative; flex: 0 0 340px; padding-top: 10px; }
.smcon-aside img { max-width: 100%; }
.smcon-aside__cap { position: absolute; top: 24px; left: 2px; font-size: 14px; font-weight: 300; line-height: 1.5; color: #8a94a6; }

.smcon-form { flex: 1 1 auto; min-width: 0; max-width: 926px; }
.smcon-sec { border: 0; padding: 0; margin: 0 0 40px; }
.smcon-sec__title { font-size: 20px; font-weight: 700; color: #111; letter-spacing: -0.2px; padding: 0 0 20px; margin-bottom: 26px; border-bottom: 2px solid #111; width: 100%; }
.smcon-field { margin-bottom: 24px; }
.smcon-field:last-child { margin-bottom: 0; }
.smcon-label { display: block; margin-bottom: 20px; font-size: 16px; font-weight: 600; color: #111; letter-spacing: -0.16px; line-height: 1.2; }
.smcon-label em { color: var(--sm-primary); font-style: normal; }
.smcon-radios { display: flex; flex-wrap: wrap; gap: 20px 50px; }
.smcon-radio { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 16px; color: #333; }
.smcon-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.smcon-radio span { position: relative; padding-left: 38px; line-height: 1.2; font-weight: 600; transition: color .2s var(--sm-ease); }
.smcon-radio span::before {
    content: ""; position: absolute; left: 5px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%;
    border: 0; background: #d7d7d7; box-sizing: border-box; transition: background-color .2s var(--sm-ease);
}
.smcon-radio span::after {
    content: ""; position: absolute; left: 9px; top: 50%; width: 12px; height: 12px; border-radius: 50%;
    background: #fff; transform: translateY(-50%) scale(0); transition: transform .2s var(--sm-ease);
}
.smcon-radio input:checked + span { color: var(--sm-primary); }
.smcon-radio input:checked + span::before { background: var(--sm-primary); }
.smcon-radio input:checked + span::after { transform: translateY(-50%) scale(1); }
.smcon-sec > .smcon-field { margin-bottom: 40px; }
.smcon-sec > .smcon-field:last-child { margin-bottom: 0; }
.smcon-radio input:focus-visible + span::before { outline: 2px solid var(--sm-primary); outline-offset: 2px; }
.smcon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.smcon-form input[type="text"],
.smcon-form input[type="tel"],
.smcon-form textarea {
    width: 100%; box-sizing: border-box; padding: 15px 18px; border: 1px solid #dde3ec; border-radius: 10px;
    font-size: 16px; color: #111; background: #fbfcfe; font-family: inherit; transition: border-color .2s var(--sm-ease), background-color .2s var(--sm-ease);
}
.smcon-form textarea { display: block; resize: vertical; min-height: 140px; line-height: 1.6; }
.smcon-form input::placeholder, .smcon-form textarea::placeholder { color: #aab1bd; }
.smcon-form input:focus, .smcon-form textarea:focus { outline: 0; border-color: var(--sm-primary); background: #fff; }
.smcon-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.smcon-form > .smcon-sec:has(+ .smcon-consent) { margin-bottom: 0; }
.smcon-consent { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.smcon-check { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; font-weight: 300; color: #111; line-height: 1.2; }
.smcon-check__copy { min-width: 0; }
.smcon-check__copy label { cursor: pointer; }
.smcon-check input { appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; border: 1px solid #afafaf; border-radius: 2px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.smcon-check input:checked { background: var(--sm-primary); border-color: var(--sm-primary); }
.smcon-check input:checked::after { content: '✓'; color: #fff; font-size: 14px; line-height: 1; }
.smcon-check input:focus-visible { outline: 2px solid var(--sm-primary); outline-offset: 3px; }
.sm-wrap .smcon-consent__toggle { font-size: inherit; font-weight: 300; line-height: inherit; padding: 0; color: var(--sm-primary); text-decoration: underline; text-underline-offset: 3px; }
.sm-wrap .smcon-consent__toggle:is(:hover, :focus-visible) { color: var(--sm-primary); }
.smcon-consent__detail { flex: 1 1 100%; margin-top: 10px; padding: 16px 18px; border-radius: 10px; background: #f4f7ff; font-size: 14px; line-height: 1.7; color: #5a6475; }
.smcon-form__error { margin-top: 20px; color: #e0433a; font-size: 15px; font-weight: 500; }

.sm-wrap .smcon-submit {
    margin-top: 80px; width: 100%; min-height: 64px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    border-radius: 12px; background: var(--sm-primary); color: #fff; font-size: 18px; font-weight: 600; letter-spacing: -0.18px;
    transition: filter .2s var(--sm-ease);
}
.sm-wrap .smcon-submit:is(:hover, :focus-visible) { filter: brightness(1.08); }
.smcon-submit__arrow { display: inline-block; transition: transform .28s var(--sm-ease); }
.sm-wrap .smcon-submit:hover .smcon-submit__arrow { transform: translateX(3px); }
.sm-wrap .smcon-submit.is-loading { opacity: .6; cursor: progress; }

/* ---- FAQ 간격 ---- */
.smcon-faq-wrap { margin-top: 160px; padding: 150px 0; background: #f0f3f5; border-radius: 20px 20px 0 0; }
.smcon-faq { margin-top: 0; margin-bottom: 0; }
.smcon-faq .smc-faq__head h2 { font-size: 38px; line-height: 1.4; }

/* Figma 7601:2413 / 7608:2592: 히어로 위에 걸친 안내와 2열 입력 폼 */
.smcon-band { position: relative; z-index: 3; margin-top: -78px; padding: 50px 70px; min-height: 226px; background: #fff; border: 0; box-shadow: 0 4px 7px rgba(90,107,137,.12); }
.smcon-band__lead { flex-basis: 560px; }
.smc-main h2.smcon-band__title { font-size: 28px; font-weight: 600; }
.smcon-band__sub { font-size: 18px; color: #888; }
.smcon-form-wrap { margin-top: 120px; gap: 290px; }
.smcon-aside { flex-basis: 385px; padding-top: 0; }
.smcon-aside img { width: 385px; display: block; }
.smcon-aside__cap { font-size:15px; color:var(--sm-primary); white-space:nowrap; }
.smcon-sec { margin-bottom: 80px; }
.smc-main .smcon-sec__title { padding-bottom: 25px; margin-bottom: 30px; border-bottom: 1px solid #cacaca; line-height: 1.2; }
.smcon-label, .smcon-radio { font-size: 18px; font-weight: 500; }
.smcon-radio { font-weight: 400; }
.smcon-grid { gap: 20px; margin-bottom: 30px; }
.smcon-grid .smcon-field { margin-bottom: 0; }
.smcon-form label.smcon-label { margin-bottom: 12px; }
.smcon-form input[type="text"], .smcon-form input[type="tel"], .smcon-form textarea { min-height: 55px; border: 1px solid #fff; border-radius: 8px; background: #f1f1f1; font-size: 18px; padding: 10px 20px; }
.smcon-form textarea { min-height: 184px; padding: 20px; }
.sm-wrap .smcon-submit { min-height: 60px; border-radius: 8px; font-size: 20px; background: var(--sm-grad); }

/* ---- 접수 완료 레이어 팝업 ---- */
body.sm-modal-open { overflow: hidden; }
.smcon-done { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; }
.smcon-done[hidden] { display: none; }
.smcon-done__dim { position: absolute; inset: 0; background: rgba(16, 24, 48, .55); }
.smcon-done__box {
    position: relative; z-index: 1; width: 100%; max-width: 420px; padding: 48px 36px 36px; border-radius: 20px;
    background: #fff; text-align: center; animation: smconPop .3s var(--sm-ease);
}
@keyframes smconPop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.smcon-done__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: var(--sm-primary); color: #fff; font-size: 30px; font-weight: 700; }
.smcon-done__title { font-size: 24px; font-weight: 700; color: #111; letter-spacing: -0.24px; }
.smcon-done__msg { margin-top: 14px; font-size: 16px; line-height: 1.6; color: #5a6475; }
.sm-wrap .smcon-done__btn { margin-top: 28px; width: 100%; min-height: 54px; border-radius: 12px; background: var(--sm-primary); color: #fff; font-size: 17px; font-weight: 600; transition: filter .2s var(--sm-ease); }
.sm-wrap .smcon-done__btn:is(:hover, :focus-visible) { filter: brightness(1.08); }
@media (prefers-reduced-motion: reduce) { .smcon-done__box { animation: none; } }

/* ===================================================================
   반응형
   =================================================================== */
@media (max-width: 1024px) {
    .smcon-faq-wrap { margin-top: 100px; padding: 100px 0; }
    .smcon-band { flex-direction: column; align-items: stretch; gap: 30px; padding: 40px; }
    .smcon-band__lead { flex: none; }
    .smcon-form-wrap { gap: 40px; }
    .smcon-aside { display: none; }
    .smcon-form { max-width: none; }
    .smcon-faq { margin-top: 0; margin-bottom: 0; }
    .smcon-band { margin-top: 0; }
    .smcon-form-wrap { margin-top: 70px; }
}
@media (max-width: 768px) {
    .smcon-band__steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .smcon-step:not(:last-child)::after { display: none; }
    .smcon-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 486px) {
    .smcon-faq-wrap { margin-top: 64px; padding: 64px 0; }
    .smcon-faq .smc-faq__head h2 { font-size: 27px; }
    .smc-main h2.smcon-band__title { font-size: 22px; }
    .smcon-band { margin-top: 10px; padding: 28px 22px; }
    .smcon-band__title { font-size: 20px; }
    .smcon-form-wrap { margin-top: 48px; }
    .smcon-sec__title { font-size: 18px; }
    .smcon-radios { gap: 12px 20px; }
    .smcon-radio { font-size: 15px; }
    .smcon-faq { margin-top: 0; margin-bottom: 0; }
    .smcon-done__box { padding: 36px 24px 28px; }
    .smcon-done__title { font-size: 21px; }
}
