@font-face {
  font-family: "Pretendard";
  src: url("/font/Pretendard/Pretendard-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("/font/Pretendard/Pretendard-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("/font/Pretendard/Pretendard-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* 전역 디자인 토큰: 폭 체계 + 타이포 스케일 */
:root {
  --content-max-width: 1300px;
  --content-gutter: 24px;
  --fs-label: 17px;
  --fs-input: 16px;
  --fs-consent: 18px;
  --fs-footer-link: 13px;
  --fs-footer-text: 13px;
  --brand-blue: #5665ff;
  --bg-body: #f3f4f7;
  --border-soft: #e7e8ed;
  --text-default: #202028;
  --text-soft: #727784;
  --footer-bg: #16181d;
}

/* 기본 공통 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Pretendard", sans-serif;
  background: #ffffff;
  color: var(--text-default);
}

/* 공통 컨텐츠 컨테이너
   - 1920px 뷰포트 기준: 컨텐츠 1300px + 좌우 310px */
.shell {
  width: min(var(--content-max-width), calc(100% - (var(--content-gutter) * 2)));
  margin: 0 auto;
}

.page-content {
  min-height: calc(100vh - 64px);
}

/* 상단 내비게이션 */
.top-nav {
  background: #ffffff;
  border-bottom: 1px solid #eceef3;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 5;
}

.top-nav-inner {
  min-height: 80px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-wordmark-image {
  display: block;
  width: 188px;
  height: 38px;
  object-fit: contain;
}

.top-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/*.top-nav-product {*/
/*  color: #2e3139;*/
/*  font-size: 15px;*/
/*  font-weight: 600;*/
/*  text-decoration: none;*/
/*}*/
.top-nav-product {
  display: inline-flex;
  align-items: center;
  border: 1px solid #25AAB8;
  color: #25AAB8;
  border-radius: 18px;
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  border: 1px solid #25AAB8;
  color: #25AAB8;
  border-radius: 50px;
  height: 38px;
  padding: 0 14px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-wrap: nowrap;
}

.top-nav-inquiry {
  display: inline-flex;
  align-items: center;
  border: 1px solid #422D83;
  color: #422D83;
  border-radius: 18px;
  height: 38px;
  padding: 0 14px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-wrap: nowrap;
}

/* 문의 페이지 */
.reception-page {
  padding-bottom: 56px;
}

.reception-hero {
  margin-top: 0;
  min-height: 250px;
  padding: 62px 0 54px;
  text-align: center;
  background: #f5f6fa;
  position: relative;
  overflow: hidden;
}

.reception-hero-visual {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  pointer-events: none;
}

/* 폼 레이아웃 */
.reception-form-wrap {
  padding-top: 42px;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.reception-form-wrap h2 {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 700;
}

.reception-form {
  border-top: 2px solid #2f333c;
}

/* 2열 정보 입력 블록: 좌측 라벨 / 우측 입력 */
.form-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(640px, 1fr);
  border: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--border-soft);
}

.form-grid legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.field-label {
  padding: 30px 24px 0 0;
  font-size: 24px;
  font-weight: 700;
}

.field-area {
  padding: 24px 0 26px;
}

.field-row {
  display: grid;
  grid-template-columns: 176px minmax(260px, 500px);
  align-items: center;
  min-height: 61px;
  gap: 18px;
}

.field-row label {
  font-size: var(--fs-label);
  font-weight: 600;
  color: #2d3038;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  border: 1px solid #dcdee6;
  background: #ffffff;
  border-radius: 3px;
  color: #242833;
  font-family: "Pretendard", sans-serif;
  font-size: var(--fs-input);
  padding: 10px 13px;
}

input::placeholder,
textarea::placeholder {
  color: #a5a9b4;
}

textarea {
  resize: vertical;
  min-height: 146px;
  line-height: 1.45;
}

.line-item {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  border-bottom: 1px solid var(--border-soft);
}

.line-item-label {
  padding: 20px 24px 20px 0;
  font-size: var(--fs-label);
  font-weight: 600;
}

.line-item-value {
  padding: 14px 0;
}

/* 제품 선택 영역 (라디오 + 로고 이미지) */
.product-value {
  min-height: 58px;
  display: flex;
  align-items: center;
}

.product-choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.product-choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-radio {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #c2c8d6;
  display: inline-block;
  position: relative;
}

.product-choice input[type="radio"]:checked + .product-radio::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #4f65f2;
}

.product-logo-image {
  width: 182px;
  height: 30px;
  object-fit: contain;
}

/* 동의 라인 + 하단 버튼 */
.line-item-request .line-item-value {
  padding-bottom: 22px;
  max-width: 680px;
}

.consent-line {
  min-height: 54px;
  padding-top: 12px;
  border-bottom: 2px solid #afb2b9;
  font-size: var(--fs-consent);
  font-weight: 600;
}

.consent-line label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.consent-line input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.consent-line em {
  color: #ec2f58;
  font-style: normal;
  font-weight: 700;
}

.consent-line strong {
  color: #4056f3;
  font-weight: 700;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 40px 0 48px;
}

.btn {
  min-width: 180px;
  height: 54px;
  border-radius: 7px;
  font-family: "Pretendard", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.btn-secondary {
  border: 1px solid #dcdee4;
  color: #565d6a;
  background: #ffffff;
}

.btn-primary {
  border: 0;
  color: #ffffff;
  background: linear-gradient(90deg, #635fff 0%, #4068f1 100%);
}

/* 푸터 */
.site-footer {
  background: var(--footer-bg);
  color: #9298a6;
}

.site-footer-top {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 48px;
  border-bottom: 1px solid #4b5362;
}

.footer-link {
  color: #b9c0cd;
  text-decoration: none;
  font-size: var(--fs-footer-link);
  font-weight: 500;
}

.site-footer-main {
  padding: 20px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: start;
  column-gap: 18px;
}

.footer-brand {
  display: block;
  margin-top: 0;
}

.footer-wordmark-image {
  display: block;
  width: 138px;
  height: 30px;
  object-fit: contain;
}

.site-footer-main p {
  margin: 2px 0;
  font-size: var(--fs-footer-text);
  line-height: 1.55;
}

.footer-company {
  margin-top: 0;
  font-weight: 500;
}

.footer-copy {
  margin-top: 10px;
}

/* 홈 페이지: 상/하 이미지 + 탭 */
.home-page {
  padding: 0 0 40px;
}

.home-visual {
  padding: 0;
  background: #ffffff;
  overflow: hidden;
}

.home-hero-image,
.home-body-image {
  display: block;
  width: 100%;
  height: auto;
}

.home-tabs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 76px;
  background: #ffffff;
  border-bottom: 1px solid #d6dae3;
}

.home-tab {
  min-width: 176px;
  height: 56px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #1e2430;
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.home-tab.is-active {
  border-bottom-color: #2a2d34;
}

.home-panel {
  display: none;
}

.home-panel.is-active {
  display: block;
}

/* 반응형 규칙:
   - <=1200: 데스크톱/태블릿 간격 축소
   - <=1024: 폼 세로 스택 + 타이포 토큰 축소 */
@media (max-width: 1200px) {
  .top-nav-inner {
    min-height: 80px;
  }

  .brand-wordmark-image {
    width: 148px;
    height: 30px;
  }

  .top-nav-product {
    height: 35px;
    font-size: 15px;
  }

  .top-nav-inquiry {
    height: 35px;
    font-size: 15px;
  }


  .form-grid,
  .line-item {
    grid-template-columns: 240px 1fr;
  }

  .field-row {
    grid-template-columns: 160px minmax(220px, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --content-gutter: 17px;
    --fs-label: 15px;
    --fs-input: 14px;
    --fs-consent: 15px;
    --fs-footer-link: 12px;
    --fs-footer-text: 12px;
  }

  .top-nav-actions {
    gap: 8px;
  }

 /* .top-nav-product {
    display: none;
  }
*/
  .reception-hero {
    padding: 48px 0;
    min-height: 210px;
  }

  .form-grid,
  .line-item {
    grid-template-columns: 1fr;
  }

  .field-label,
  .line-item-label {
    padding: 20px 0 8px;
    font-size: 15px;
  }

  .field-area,
  .line-item-value {
    padding-top: 0;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    margin-bottom: 14px;
  }

  .line-item-request .line-item-value {
    max-width: 100%;
  }

  .consent-line {
    font-size: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .actions {
    padding-top: 28px;
  }

  .btn {
    min-width: 140px;
    height: 46px;
    font-size: 15px;
  }

  .home-page {
    padding-bottom: 24px;
  }

  .home-tab {
    min-width: 138px;
    height: 50px;
    font-size: 13px;
  }

  .home-tabs {
    gap: 36px;
  }
}
