:root {
  --home-wine: #74171a;
  --home-wine-dark: #561012;
  --home-ink: #161310;
  --home-line: #d6c4ad;
  --home-ivory: #fbf8f3;
}

.design06-header {
  width: 100%;
  border-bottom: 1px solid #ded8d0;
}

.design06-header-line {
  display: none;
}

.design06-header-inner,
.design06-header-inner-sub {
  width: min(1200px, calc(100% - 48px));
}

.main-layout-logo {
  width: 330px !important;
  height: auto !important;
}

.sub-layout-logo {
  width: 260px !important;
  height: 70px !important;
  object-fit: contain;
  object-position: left center;
}

.home-new-hero {
  min-height: 680px;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.99) 0%, rgba(255, 253, 249, 0.96) 34%, rgba(255, 253, 249, 0.42) 56%, rgba(255, 253, 249, 0.08) 100%),
    url("../images/home-hero-study-v4_new.png") center / cover no-repeat;
}

.home-new-hero-inner {
  display: grid;
  grid-template-columns: 520px minmax(0, 1fr);
  gap: 176px;
  width: min(1200px, calc(100% - 48px));
  min-height: 680px;
  margin: 0 auto;
  padding: 68px 0 46px;
}

.home-new-copy {
  align-self: center;
}

.home-new-eyebrow {
  margin: 0 0 28px;
  color: #27211d;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.home-new-eyebrow strong {
  color: var(--home-wine);
  font-weight: 800;
}

.home-new-copy h1 {
  margin: 0;
  color: #171717;
  font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.065em;
  word-break: keep-all;
}

.home-new-copy h1 em {
  display: inline-block;
  margin-top: 6px;
  color: #7b2022;
  font-family: inherit;
  font-size: 52px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.home-new-description {
  margin: 24px 0 0;
  color: #423b35;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
}

.home-new-actions {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.home-new-primary,
.home-new-secondary {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border: 1px solid var(--home-wine);
  border-radius: 5px;
  font-size: 20px;
  font-weight: 800;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-new-primary {
  color: #fff !important;
  background: var(--home-wine);
}

.home-new-secondary {
  color: var(--home-wine) !important;
  background: rgba(255, 255, 255, 0.74);
}

.home-new-primary:hover,
.home-new-secondary:hover {
  color: #fff !important;
  background: var(--home-wine-dark);
  transform: translateY(-2px);
}

.home-new-primary img,
.home-new-secondary img,
.home-new-menu img {
  width: 20px;
  height: 20px;
  transform: rotate(180deg);
}

.home-new-quick-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 20px;
  color: #2f2924;
  font-size: 14px;
  font-weight: 700;
}

.home-new-quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.home-new-quick-links i {
  width: 1px;
  height: 20px;
  background: #cfc4b7;
}

.home-new-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 0;
  color: #514943;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.home-new-trust img {
  width: 40px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
}

.home-new-trust p {
  margin: 0;
}
.home-new-menu {
  display: grid;
  align-content: center;
  gap: 6px;
}

.home-new-menu a {
  display: grid;
  grid-template-columns: 44px auto minmax(0, 1fr) 32px;
  min-height: 95px;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  border: 1px solid var(--home-line);
  background: rgba(255, 253, 250, 0.9);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.home-new-menu a:hover,
.home-new-menu a:focus-visible {
  border-color: var(--home-wine);
  background: #fff;
  outline: none;
  transform: translateX(-5px);
}

.home-new-menu span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.home-new-menu strong {
  color: #191512;
  font-family: "Noto Serif KR", "Batang", serif;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.home-new-menu small {
  justify-self: start;
  color: #5f5146;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  white-space: nowrap;
}

.home-new-steps {
  background: var(--home-ivory);
  min-height: 195px;
  border-top: 1px solid #ece4da;
}

.home-new-steps-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 29px;
}

.home-new-steps header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: -0.04em;
}

.home-new-steps header h2 strong {
  color: var(--home-wine);
}

.home-new-steps header > span {
  display: block;
  width: 25px;
  height: 2px;
  margin-top: 22px;
  background: var(--home-wine);
}

.home-new-steps ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-new-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding-top: 45px;
  word-break: keep-all;
}

.home-new-steps li > span {
  position: absolute;
  top: 0;
  left: 20px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--home-wine);
  box-shadow: inset 0 0 0 1px rgba(70, 0, 4, 0.22);
  font-size: 18px;
  font-weight: 700;
}

.home-new-step-icon {
  width:84px;
  height: 88px;
  object-fit: contain;
}

.home-new-step-arrow {
  position: absolute;
  top: 66px;
  right: -31px;
  width: 42px;
  height: 42px;
  object-fit: contain;
  opacity: 0.7;
  transform: rotate(135deg);
}

.home-new-steps li strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.home-new-steps li p {
  margin: 9px 0 0;
  color: #635d58;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 960px) {
  .home-new-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .home-new-copy {
    max-width: 600px;
  }

  .home-new-menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-new-steps-inner {
    grid-template-columns: 1fr;
  }

  .home-new-step-arrow {
    display: none;
  }
}

@media (max-width: 600px) {
  html,
  body,
  main {
    max-width: 100%;
    overflow-x: hidden;
  }

  .design06-header-inner,
  .design06-header-inner-sub,
  .home-new-hero-inner,
  .home-new-steps-inner {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .main-layout-logo,
  .sub-layout-logo {
    width: min(220px, 68vw) !important;
    height: auto !important;
  }

  .home-new-hero {
    min-height: 0;
    background-position: 62% center;
  }

  .home-new-hero-inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 34px 0 38px;
  }

  .home-new-copy {
    width: 100%;
    min-width: 0;
  }

  .home-new-eyebrow {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
  }

  .home-new-copy h1 {
    max-width: 100%;
    font-size: clamp(30px, 9.2vw, 38px);
    line-height: 1.18;
    letter-spacing: -0.065em;
  }

  .home-new-copy h1 em {
    display: block;
    max-width: 100%;
    margin-top: 4px;
    font-size: clamp(27px, 8.3vw, 35px);
    line-height: 1.2;
    letter-spacing: -0.075em;
    white-space: normal;
  }

  .home-new-description {
    max-width: 100%;
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .home-new-actions {
    width: 100%;
    margin-top: 26px;
  }

  .home-new-primary,
  .home-new-secondary {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    font-size: 16px;
  }

  .home-new-quick-links {
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 17px;
    font-size: 12px;
  }

  .home-new-quick-links a {
    gap: 8px;
  }

  .home-new-trust {
    margin-top: 24px;
    font-size: 10px;
  }

  .home-new-trust img {
    width: 34px;
    height: 40px;
  }

  .home-new-menu {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .home-new-menu a {
    width: 100%;
    min-width: 0;
    min-height: 72px;
    grid-template-columns: 28px minmax(0, auto) minmax(0, 1fr) 18px;
    gap: 8px;
    padding: 0 14px;
  }

  .home-new-menu span {
    font-size: 13px;
  }

  .home-new-menu strong {
    min-width: 0;
    font-size: 20px;
    white-space: nowrap;
  }

  .home-new-menu small {
    min-width: 0;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-new-menu img {
    width: 16px;
    height: 16px;
  }

  .home-new-steps {
    min-height: 0;
  }

  .home-new-steps-inner {
    gap: 22px;
    padding: 28px 0 32px;
  }

  .home-new-steps header h2 {
    font-size: 22px;
    line-height: 1.45;
  }

  .home-new-steps header > span {
    margin-top: 14px;
  }

  .home-new-steps ol {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .home-new-steps li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    min-height: 82px;
    padding: 0 0 0 42px;
  }

  .home-new-steps li > span {
    top: 50%;
    left: 0;
    width: 28px;
    height: 28px;
    font-size: 14px;
    transform: translateY(-50%);
  }

  .home-new-step-icon {
    width: 64px;
    height: 66px;
  }

  .home-new-steps li strong {
    font-size: 15px;
  }

  .home-new-steps li p {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.55;
  }
}
/* 언어 선택은 메인 히어로 오른쪽 위에만 표시 */
.home-new-hero {
  position: relative;
}

.home-new-language {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: max(24px, calc((100% - 1200px) / 2));
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
/* 공통 헤더 언어 설정 */
.design06-actions {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.design06-action-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.design06-language-setting {
  display: flex;
  align-items: center;
  gap: 7px;
}

.design06-language-setting label {
  color: #5f554d;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.design06-language-select {
  width: 150px;
  height: 31px;
  padding: 0 28px 0 10px;
  border: 1px solid #d6c4ad;
  border-radius: 4px;
  background-color: #fff;
  color: #28211d;
  font-size: 13px;
  cursor: pointer;
}

.design06-language-select:focus-visible {
  border-color: #86152c;
  outline: 2px solid rgba(134, 21, 44, .15);
}

@media (max-width: 600px) {
  .home-new-language {
    top: 10px;
    right: 16px;
  }

  .home-new-hero-inner {
    padding-top: 78px;
  }
  .design06-actions { flex-direction: row; align-items: center; gap: 5px; }
  .design06-language-setting label { display: none; }
  .design06-language-select { width: 105px; height: 29px; font-size: 11px; }
  .design06-action-buttons { gap: 6px; }
}
/* 메인 카드 메뉴: 선택 언어에 따라 한글/영문 순서만 변경 */
.home-new-menu .home-menu-ko { grid-column: 2; grid-row: 1; }
.home-new-menu .home-menu-en { grid-column: 3; grid-row: 1; }
.home-new-menu a > img { grid-column: 4; grid-row: 1; }

html[lang="en"] .home-new-menu .home-menu-en {
  grid-column: 2;
  color: #191512;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

html[lang="en"] .home-new-menu .home-menu-ko {
  grid-column: 3;
  justify-self: start;
  color: #5f5146;
  font-family: "Noto Serif KR", "Batang", serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}