/* 고객지원 (프로모션 · 상담문의 · 교정문의) – 공통 디자인 */
:root { --tm2-cw: min(calc(var(--tm2-w) - var(--tm2-pad) * 2), calc(100% - var(--tm2-pad) * 2)); }

/* 프로모션 */
html body .tm-promos { padding: 64px 0 40px; background: #fff; }
html body .tm-promos__wrap { width: var(--tm2-cw); max-width: none; margin: 0 auto; padding: 0; }
html body .tm-promos__bar { margin: 0 0 36px; padding: 0; border: 0; }
html body .tm-promos__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
html body .tm-promos__tab { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border: 0 !important; border-radius: 999px; background: var(--tm2-bg) !important; color: var(--tm2-text) !important; font-family: var(--tm2-ko); font-size: 14.5px; font-weight: 700; box-shadow: none !important; }
html body .tm-promos__tab em { background: none !important; padding: 0 !important; font-family: var(--tm2-en); font-style: normal; font-weight: 600; color: #A3A8AE !important; }
html body .tm-promos__tab.is-active { background: var(--tm2-ink) !important; color: #fff !important; }
html body .tm-promos__tab.is-active em { color: rgba(255,255,255,.55) !important; }
html body .tm-promos__grid { gap: 48px 24px; }
html body .tm-promo-item__link { color: var(--tm2-ink) !important; }
html body .tm-promo-item__thumb { border: 0 !important; border-radius: 24px !important; background: var(--tm2-bg) !important; box-shadow: none !important; }
html body .tm-promo-item__status { background: var(--tm2-ink) !important; color: #fff !important; border-radius: 999px; font-weight: 700; }
html body .tm-promo-item.is-upcoming .tm-promo-item__status { background: #fff !important; color: var(--tm2-ink) !important; }
html body .tm-promo-item__dday { background: var(--tm2-g1) !important; color: #fff !important; border-radius: 999px; }
html body .tm-promo-item__body { padding: 20px 4px 0 !important; }
html body .tm-promo-item__tag { font-family: var(--tm2-en); font-size: 13.5px; font-weight: 600; color: var(--tm2-g1) !important; }
html body .tm-promo-item__title { margin-top: 6px; font-size: 21px !important; font-weight: 800 !important; letter-spacing: -.04em; line-height: 1.4; }
html body .tm-promo-item__summary { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--tm2-text) !important; }
html body .tm-promo-item__meta { margin-top: 16px; padding-top: 16px; border-top: 1px solid #E3E7E4 !important; }
html body .tm-promo-item__period { font-size: 13.5px; color: var(--tm2-mute) !important; }
html body .tm-promo-item__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--tm2-ink) !important; }
html body .tm-promo-item__more::after { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tm2-g1); color: #fff; font-size: 16px; font-weight: 600; line-height: 1; }
html body .tm-promo-item__link:hover .tm-promo-item__title { color: var(--tm2-g1) !important; }
html body .tm-promos__empty { border: 0; border-radius: var(--tm2-r); background: var(--tm2-bg); }

/* 상담문의 */
html body .tmc { padding-top: 72px; background: #fff; }
html body .tmc::before { display: none !important; }
html body .tmc__inner { width: var(--tm2-cw); max-width: none; }
html body .tmc-tok { color: var(--tm2-g1); opacity: .35; }
html body .tmc-tok.is-on { opacity: 1; }
html body .tmc-step { border: 0 !important; border-radius: var(--tm2-r) !important; background: var(--tm2-bg) !important; box-shadow: none !important; }
html body .tmc-step__head > span { background: var(--tm2-ink) !important; color: #fff !important; }
html body .tmc-type { border: 0 !important; border-radius: 18px !important; background: #fff !important; }
html body .tmc-type:has(input:checked) { background: var(--tm2-ink) !important; }
html body .tmc-type__ic { background: var(--tm2-bg) !important; color: var(--tm2-ink) !important; }
html body .tmc-type:has(input:checked) .tmc-type__ic { background: rgba(255,255,255,.12) !important; color: #fff !important; }
html body .tmc-field input, html body .tmc-field textarea { border: 1px solid transparent !important; background: #fff !important; border-radius: 14px !important; }
html body .tmc-field input:focus, html body .tmc-field textarea:focus { border-color: var(--tm2-ink) !important; box-shadow: none !important; }
html body .tmc-step__head em, html body .tmc-field em { color: var(--tm2-g1) !important; }
html body .tmc-submit { border: 0 !important; border-radius: var(--tm2-r) !important; background: var(--tm2-bg) !important; }
html body .tmc-submit button { background: var(--tm2-ink) !important; }
html body .tmc-submit button::after { background-color: var(--tm2-g1) !important; }
html body .tmc-flow li::before { background: var(--tm2-ink) !important; color: #fff !important; border-color: var(--tm2-ink) !important; }

/* 교정문의 */
.tm2s { font-family: var(--tm2-ko); color: var(--tm2-ink); padding-bottom: 40px; }
.tm2s * { box-sizing: border-box; }
.tm2s-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; align-items: start; padding-top: 88px; }
.tm2s-intro h2 { margin: 0; font-size: 40px; font-weight: 800; letter-spacing: -.05em; line-height: 1.35; word-break: keep-all; }
.tm2s-intro > div > p { margin: 18px 0 0; font-size: 17px; line-height: 1.8; color: var(--tm2-text); word-break: keep-all; }
.tm2s-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tm2s-btn { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 7px 0 26px; border: 0; border-radius: 999px; background: var(--tm2-ink); color: #fff !important; font: inherit; font-size: 15.5px; font-weight: 800; text-decoration: none !important; cursor: pointer; }
.tm2s-btn i { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tm2-g1); }
.tm2s-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm2s-btn--line { padding: 0 26px; border: 1px solid #C9CFCB; background: transparent; color: var(--tm2-ink) !important; font-family: var(--tm2-en); font-weight: 600; }
.tm2s-check { padding: 30px 32px; border-radius: var(--tm2-r); background: var(--tm2-bg); }
.tm2s-check h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.tm2s-check ol { margin: 0; padding: 0; list-style: none; }
.tm2s-check li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid #DADFDC; font-size: 15px; font-weight: 600; }
.tm2s-check li:last-child { border-bottom: 0; }
.tm2s-check li span { font-family: var(--tm2-en); color: var(--tm2-g1); }
.tm2s-sec { padding-top: 130px; scroll-margin-top: 110px; }
.tm2s-head { margin-bottom: 32px; }
.tm2s-h { margin: 0; font-family: var(--tm2-en); font-size: 52px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.tm2s-h em { font-style: normal; color: var(--tm2-g1); }
.tm2s-sub { margin: 14px 0 0; font-size: 17px; font-weight: 600; color: var(--tm2-text); word-break: keep-all; }
.tm2s-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tm2s-cards article { min-height: 230px; padding: 28px 28px 30px; border-radius: var(--tm2-r); background: var(--tm2-bg); display: flex; flex-direction: column; }
.tm2s-cards span { font-family: var(--tm2-en); font-size: 15px; font-weight: 600; color: var(--tm2-g1); }
.tm2s-cards h3 { margin: auto 0 0; padding-top: 40px; font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.tm2s-cards p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--tm2-text); word-break: keep-all; }
.tm2s-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--tm2-ink); }
.tm2s-flow li { padding: 26px 28px 0 0; }
.tm2s-flow span { font-family: var(--tm2-en); font-size: 13.5px; font-weight: 600; color: var(--tm2-g1); }
.tm2s-flow b { display: block; margin-top: 10px; font-size: 21px; font-weight: 800; letter-spacing: -.04em; }
.tm2s-flow p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--tm2-text); word-break: keep-all; }
.tm2s-form { display: grid; gap: 14px; }
.tm2s-box { padding: 34px 36px; border-radius: var(--tm2-r); background: var(--tm2-bg); }
.tm2s-box h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.tm2s-box h3 span { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--tm2-ink); color: #fff; font-family: var(--tm2-en); font-size: 13px; font-weight: 600; }
.tm2s-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.tm2s-fields > label, .tm2s-opt { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tm2s-fields .is-full { grid-column: 1 / -1; }
.tm2s-fields > label > span, .tm2s-opt > span { font-size: 14px; font-weight: 700; color: var(--tm2-ink); }
.tm2s-fields em { font-style: normal; color: var(--tm2-g1); }
.tm2s-fields input, .tm2s-fields textarea { width: 100%; height: 54px; padding: 0 18px; border: 1px solid transparent; border-radius: 14px; background: #fff; font: inherit; font-size: 15px; color: var(--tm2-ink); outline: none; }
.tm2s-fields textarea { height: auto; padding: 16px 18px; line-height: 1.7; resize: vertical; }
.tm2s-fields input:focus, .tm2s-fields textarea:focus { border-color: var(--tm2-ink); }
.tm2s-fields input::placeholder, .tm2s-fields textarea::placeholder { color: #A3A8AE; }
.tm2s-opt .tm2-pills { gap: 6px; }
.tm2s-opt .tm2-pill { position: relative; height: 54px; padding: 0 20px; border-radius: 14px; background: #fff; cursor: pointer; }
.tm2s-opt .tm2-pill input { position: absolute; opacity: 0; pointer-events: none; }
.tm2s-opt .tm2-pill:has(input:checked) { background: var(--tm2-ink) !important; color: #fff !important; }
.tm2s-note { margin: 22px 0 0; font-size: 14px; line-height: 1.7; color: var(--tm2-mute); word-break: keep-all; }
.tm2s-submit { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 22px 22px 32px; border-radius: var(--tm2-r); background: var(--tm2-bg); }
.tm2s-agree { position: relative; display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--tm2-text); cursor: pointer; }
.tm2s-agree input { position: absolute; opacity: 0; }
.tm2s-agree i { flex: none; width: 24px; height: 24px; border: 1.5px solid #B9BFBB; border-radius: 50%; background: #fff; }
.tm2s-agree input:checked + i { border-color: var(--tm2-ink); background: var(--tm2-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.tm2s-agree input[aria-invalid="true"] + i { border-color: #D14343; }
.tm2s-form .tm-home-cta-form__status { width: 100%; }

@media (max-width: 1023px) {
    html body .tm-promos { padding-top: 40px; }
    html body .tm-promos__grid { gap: 36px 14px; }
    html body .tm-promo-item__title { font-size: 18px !important; }
    html body .tmc { padding-top: 40px; }
    .tm2s-intro { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
    .tm2s-intro h2 { font-size: 26px; }
    .tm2s-intro > div > p { font-size: 15.5px; }
    .tm2s-btn { height: 50px; font-size: 14.5px; }
    .tm2s-btn i { width: 38px; height: 38px; }
    .tm2s-check { padding: 24px 22px; }
    .tm2s-sec { padding-top: 84px; }
    .tm2s-h { font-size: 36px; }
    .tm2s-sub { font-size: 15px; }
    .tm2s-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .tm2s-cards article { min-height: 0; padding: 22px 20px; border-radius: 20px; }
    .tm2s-cards h3 { padding-top: 24px; font-size: 18px; }
    .tm2s-cards p { font-size: 13.5px; }
    .tm2s-flow { grid-template-columns: 1fr; border-top: 0; }
    .tm2s-flow li { padding: 20px 0; border-top: 1px solid #DADFDC; }
    .tm2s-flow li:first-child { border-top: 2px solid var(--tm2-ink); }
    .tm2s-flow b { font-size: 18px; }
    .tm2s-box { padding: 24px 20px; border-radius: 22px; }
    .tm2s-fields { grid-template-columns: 1fr; }
    .tm2s-opt .tm2-pill { height: 46px; padding: 0 14px; font-size: 13.5px; }
    .tm2s-submit { padding: 20px; border-radius: 22px; }
    .tm2s-submit .tm2s-btn { width: 100%; justify-content: space-between; }
}
