@charset "UTF-8";
/* =========================================================
   EcoFlex - Contact (CNT-01 ~ CNT-04)
   Figma: CNT-01 65:427 / CNT-02 65:584 / CNT-03 65:743 / CNT-04 65:295
   Mobile form: MOB-01 66:100
   ========================================================= */

/* ---------- Inquiry section layout ---------- */
.cnt-section { padding: 100px 0 120px; background: #f7f7f5; }
.cnt-layout { display: flex; align-items: flex-start; gap: 32px; }
.cnt-form { flex: 0 1 740px; min-width: 0; padding: 40px 40px 44px; background: #fff; border-radius: 10px; }
.cnt-aside { flex: 0 0 348px; display: flex; flex-direction: column; gap: 40px; }

/* ---------- Inquiry type (radio cards) ---------- */
.cnt-type__title, .cnt-info .eyebrow, .loc-addr .eyebrow { display: flex; }
.cnt-type__title { color: var(--c-black); }
.cnt-type__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.cnt-type__item { position: relative; display: block; cursor: pointer; }
.cnt-type__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cnt-type__box { display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 15px; border: 1px solid #dadada; border-radius: 8px; background: #fff; font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--c-body); white-space: nowrap; transition: border-color .2s, background .2s; }
.cnt-type__item:hover .cnt-type__box { border-color: #b5b5b5; }
.cnt-type__item input:checked + .cnt-type__box { background: var(--c-black); border-color: var(--c-black); color: #fff; font-weight: 700; }
.cnt-type__item input:checked + .cnt-type__box::before { content: ""; flex: none; width: 12px; height: 12px; background: url("../images/cnt/ic-type-dot.svg") center / 12px 12px no-repeat; }
.cnt-type__item input:focus-visible + .cnt-type__box { outline: 2px solid var(--c-green); outline-offset: 2px; }

/* ---------- Fields ---------- */
.cnt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; margin-top: 40px; }
.cnt-field { min-width: 0; }
.cnt-field--full { grid-column: 1 / -1; }
.cnt-label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--c-black); }
.cnt-form .form-control { border-color: #dadada; color: var(--c-black); }
.cnt-form .form-control::placeholder { color: #9a9a9a; opacity: 1; }
.cnt-form input[type="email"].form-control { font-family: var(--f-en); }
.cnt-form .form-control.is-placeholder { color: #9a9a9a; }
.cnt-form .form-control option { color: var(--c-black); }
.cnt-form select.form-control { padding-left: 15px; }
.cnt-form .form-control.is-auto { background-color: #f3faf5; border-color: #9fd3ae; color: var(--c-green); font-weight: 500; }
.cnt-form .form-control.is-error, .cnt-doc.is-error, .cnt-check.is-error { border-color: #d94a3d; }
.cnt-form textarea.form-control { display: block; height: 140px; padding: 13px 15px; line-height: 1.6; }
.cnt-form textarea.form-control.is-short { height: 120px; }

/* ---------- Attachment (file input) ---------- */
.cnt-file { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; margin-top: 20px; padding: 0 19px; border: 1px dashed #c8c8c8; border-radius: 6px; background: #fafafa; cursor: pointer; transition: border-color .2s; }
.cnt-file:hover, .cnt-file:focus-within { border-color: var(--c-green); }
.cnt-file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cnt-file__label { font-size: 15px; font-weight: 500; line-height: 1.6; color: #555; white-space: pre; }
.cnt-file__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 1.6; color: #9a9a9a; }
.cnt-file__name.is-selected { color: var(--c-green); font-weight: 500; }

/* ---------- Requested documents (CNT-03) ---------- */
.cnt-docs { min-width: 0; margin: 40px 0 0; padding: 0; border: 0; }
.cnt-docs legend { padding: 0; }
.cnt-docs .cnt-label { margin-bottom: 13px; }
.cnt-docs__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.cnt-doc { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 13px; border: 1px solid #e5e5e5; border-radius: 6px; background: #fff; font-size: 15px; line-height: 1.6; color: var(--c-black); cursor: pointer; transition: background .2s, border-color .2s; }
.cnt-doc:has(input:checked) { background: #f3faf5; border-color: #9fd3ae; }
.cnt-doc__text { min-width: 0; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.cnt-docs + .cnt-grid { margin-top: 32px; }
.cnt-note { margin-top: 24px; font-size: 13px; line-height: 1.6; color: var(--c-mute); }

/* ---------- Custom checkbox ---------- */
.cnt-check { flex: none; appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border: 1px solid #c8c8c8; border-radius: 4px; background: #fff center / 13px 13px no-repeat; cursor: pointer; transition: background-color .2s, border-color .2s; }
.cnt-check:checked { background-color: var(--c-green); border-color: var(--c-green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M2.5 6.8l2.6 2.6 5.4-5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cnt-check:focus-visible { outline: 2px solid var(--c-green); outline-offset: 2px; }

/* ---------- Consent / captcha / submit ---------- */
.cnt-agree { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.cnt-note + .cnt-agree { margin-top: 17px; }
.cnt-agree__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-right: 24px; }
.cnt-agree__label { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--c-black); cursor: pointer; }
.cnt-agree__view { font-size: 14px; font-weight: 700; line-height: 1.6; color: #777; }
.cnt-agree__view:hover { color: var(--c-black); }
.cnt-agree__detail { margin-top: 12px; padding: 14px 16px; border-radius: 6px; background: #fafafa; font-size: 13px; line-height: 1.7; color: var(--c-body); }
.cnt-agree__detail a { text-decoration: underline; color: var(--c-text); }
.cnt-submit { width: 100%; justify-content: space-between; margin-top: 30px; }
.cnt-submit:hover { background: #278a45; }

/* ---------- Aside: contact info (dark) ---------- */
.cnt-info { min-height: 460px; padding: 36px 32px 29px; border-radius: 10px; background: var(--c-black); color: #fff; }
.cnt-info .eyebrow { color: #fff; }
.cnt-info__block { padding-top: 22px; }
.cnt-info__block + .cnt-info__block { margin-top: 44px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.2); }
.cnt-info__block + .cnt-info__block--last { margin-top: 36px; }
.cnt-info__name { font-family: var(--f-en); font-size: 18px; font-weight: 600; line-height: 1.6; }
.cnt-info__text { margin-top: 3px; font-size: 14px; line-height: 1.6; opacity: .75; }
.cnt-info__sub { font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--c-green-light); }
.cnt-info__desc { margin-top: 4px; font-size: 13px; line-height: 1.6; opacity: .7; }

/* ---------- Aside: submitted state ---------- */
.cnt-done { min-height: 250px; padding: 30px; border: 2px solid #9fd3ae; border-radius: 10px; background: #fff; }
.cnt-done__ico { position: relative; width: 48px; height: 48px; }
.cnt-done__ico img { width: 48px; height: 48px; }
.cnt-done__ico span { position: absolute; left: 14px; top: 13px; font-family: var(--f-en); font-size: 22px; font-weight: 700; line-height: 1; color: #fff; }
.cnt-done__title { margin-top: 20px; font-size: 22px; font-weight: 500; line-height: 1.6; color: var(--c-black); }
.cnt-done__text { margin-top: 5px; font-size: 14px; line-height: 1.6; color: #555; }

/* =========================================================
   CNT-04 Location
   ========================================================= */
.loc-section { padding: 110px 0 120px; background: #fff; }
.loc-tabs { display: flex; gap: 12px; }
.loc-tab { display: flex; align-items: center; justify-content: center; height: 56px; border: 1px solid #dadada; border-radius: 28px; font-family: var(--f-en); font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--c-body); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.loc-tab--hq { width: 360px; }
.loc-tab--us { width: 320px; }
.loc-tab:hover { border-color: var(--c-black); color: var(--c-black); }
.loc-tab.is-active { background: var(--c-black); border-color: var(--c-black); color: #fff; font-weight: 600; }
.loc-panel { display: flex; gap: 32px; margin-top: 34px; }
.loc-panel[hidden] { display: none; }
.loc-map { position: relative; flex: 0 1 700px; min-width: 0; height: 520px; border-radius: 6px; overflow: hidden; background: #e9eeea; }
.loc-map iframe { display: block; width: 100%; height: 100%; border: 0; }
/* Livonia: no map exported in Figma -> neutral placeholder with pin */
.loc-addr { flex: 0 0 388px; min-height: 520px; padding: 36px 32px 28px; border-radius: 8px; background: #f7f7f5; }
.loc-addr .eyebrow { color: var(--c-black); }
.loc-addr__title { margin-top: 12px; font-family: var(--f-en); font-size: 30px; font-weight: 600; line-height: 1.32; letter-spacing: -0.6px; color: var(--c-black); }
.loc-addr__address { margin-top: 20px; font-family: var(--f-en); font-size: 15px; font-style: normal; line-height: 1.6; color: #444; }
.loc-addr__list { margin-top: 28px; }
.loc-addr__row { display: flex; align-items: center; min-height: 48px; padding: 13px 0 10px; border-top: 1px solid var(--c-line); }
.loc-addr__row dt { flex: 0 0 68px; font-family: var(--f-en); font-size: 13px; font-weight: 600; line-height: 1.6; color: #777; }
.loc-addr__row dd { font-family: var(--f-en); font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--c-black); }
.loc-addr__row dd.kr { font-family: var(--f-kr); }
.loc-addr__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.loc-addr__btns .btn--dark { padding: 13px 24px; }
.loc-addr__btns .btn--dark:hover { background: #333; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .cnt-layout { flex-direction: column; align-items: stretch; }
  .cnt-form { flex-basis: auto; }
  .cnt-aside { flex-basis: auto; flex-direction: row; gap: 20px; }
  .cnt-aside > * { flex: 1 1 0; min-width: 0; }
  .cnt-info { min-height: 0; }
  .loc-panel { flex-direction: column; }
  .loc-map { flex-basis: auto; height: auto; aspect-ratio: 700 / 520; }
  .loc-addr { flex-basis: auto; min-height: 0; }
  .loc-tab--hq, .loc-tab--us { width: auto; flex: 1 1 0; padding: 0 16px; }
}

/* Mobile - MOB-01 (66:100): single column, 20px gutter, full-width fields */
@media (max-width: 768px) {
  .cnt-section { padding: 0 0 48px; background: #fff; }
  .cnt-section > .inner { padding: 0; }
  .cnt-form { padding: 32px 20px 50px; border-radius: 0; }
  .cnt-type__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cnt-type__box { height: 52px; font-size: 14px; }
  .cnt-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 28px; }
  .cnt-docs { margin-top: 28px; }
  .cnt-docs__list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cnt-docs + .cnt-grid { margin-top: 28px; }
  .cnt-file { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; height: auto; min-height: 56px; padding: 10px 16px; }
  .cnt-agree { margin-top: 24px; padding-top: 24px; }
  .cnt-agree__row { padding-right: 0; }
  .cnt-agree__label { font-size: 15px; }
  .cnt-submit { margin-top: 24px; }
  .cnt-aside { flex-direction: column; padding: 0 20px; gap: 20px; }
  .cnt-info { padding: 28px 24px; }
  .cnt-done { min-height: 0; }

  .loc-section { padding: 48px 0 72px; }
  .loc-tabs { flex-direction: column; gap: 8px; }
  .loc-tab { height: 48px; font-size: 14px; }
  .loc-panel { margin-top: 24px; gap: 20px; }
  .loc-addr { padding: 28px 24px; }
  .loc-addr__title { font-size: 24px; letter-spacing: -0.48px; }
  .loc-addr__address { font-size: 14px; }
}
