@import url(sub/about.css);
@import url(sub/business.css);
@import url(sub/promo.css);
@import url(sub/cs.css);

.sv .layout__basic {
  height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  position: relative;
}

.sv h2 {
  font-size: 3.25rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.sv p {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
}

/* ≤1600 */
@media (max-width: 1600px) {
  .sv .layout__basic {
    height: 600px;
  }

  .sv h2 {
    font-size: 3rem;
  }

  .sv p {
    font-size: 1.2rem;
  }
}

/* ≤1440 */
@media (max-width: 1440px) {
  .sv .layout__basic {
    height: 560px;
  }

  .sv h2 {
    font-size: 2.75rem;
  }

  .sv p {
    font-size: 1.125rem;
  }
}

/* ≤1280 */
@media (max-width: 1280px) {
  .sv .layout__basic {
    height: 520px;
  }

  .sv h2 {
    font-size: 2.5rem;
  }

  .sv p {
    font-size: 1.0625rem;
  }
}

/* ≤1024 */
@media (max-width: 1024px) {
  .sv .layout__basic {
    height: 480px;
  }

  .sv h2 {
    font-size: 2.25rem;
    line-height: 1.2;
  }

  .sv p {
    font-size: 1rem;
  }
}

/* ≤768 */
@media (max-width: 768px) {
  .sv .layout__basic {
    height: 400px;
  }

  .sv h2 {
    font-size: 2rem;
    line-height: 1.25;
  }

  .sv p {
    font-size: 0.9375rem;
  }
}

/* ≤390 */
@media (max-width: 390px) {
  .sv .layout__basic {
    height: 340px;
  }

  .sv h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .sv p {
    font-size: 0.875rem;
  }
}

.sub__tabnav {
  position: absolute;
  left: 50px;
  bottom: 80px;
}

.sub__tabnav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.sub__tabnav li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  position: relative;
}

.sub__tabnav li a {
  display: flex;
  align-items: center;
  gap: 3rem;
  line-height: 1;
  text-decoration: none;
  color: inherit;
}

.sub__tabnav li:not(:last-child)::after {
  content: "│";
  margin: 0 8px;
  opacity: 0.6;
  font-size: 12px;
  pointer-events: none;
}

.sub__tabnav .ico {
  width: 12px;
  height: 12px;
  display: block;
  flex: 0 0 auto;
  color: #fff;
  transition: transform .18s ease, opacity .18s ease;
  transform-origin: center;
  opacity: .95;
}

.sub__tabnav .ico.home {
  width: 20px;
  height: 20px;
}

/* ===== 드롭다운 ===== */
.sub__tabnav .dropdown {
  position: absolute;
  left: 50%;
  top: 100%;
  min-width: 180px;

  display: flex;
  flex-direction: column;

  background: transparent;
  border: none;
  box-shadow: none;

  padding: 30px 8px 18px;

  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
  z-index: 30;
}

.sub__tabnav .dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  bottom: 0;
  background: #fff;
  color: #1f2328;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .16),
    0 2px 8px rgba(16, 24, 40, .08);
  z-index: 0;
}

.sub__tabnav .dropdown > li,
.sub__tabnav .dropdown > li > a {
  position: relative;
  z-index: 1;
}

.sub__tabnav .dropdown a {
  display: block;
  padding: 10px 12px;
  color: #1f2328;
  white-space: nowrap;
  font-weight: 500;
}

.sub__tabnav .dropdown a:hover,
.sub__tabnav .dropdown a:focus {
  background: #f6f8fa;
}

.sub__tabnav li.has-sub:hover > .dropdown,
.sub__tabnav li.has-sub:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0px);
  pointer-events: auto;
}

.sub__tabnav .dropdown li:not(:last-child)::after {
  content: none;
}

.sub__tabnav .has-sub:hover > a .ico,
.sub__tabnav .has-sub:focus-within > a .ico {
  transform: rotate(180deg);
  opacity: 1;
}

/* ≤1600 */
@media (max-width: 1600px) {
  .sub__tabnav {
    left: 40px;
    bottom: 80px;
  }

  /* 위치는 여전히 absolute */
  .sub__tabnav ul {
    font-size: 13.5px;
    gap: 7px;
  }

  .sub__tabnav li a {
    gap: 2.25rem;
  }
}

/* ≤1440 */
@media (max-width: 1440px) {
  .sub__tabnav {
    left: 36px;
    bottom: 80px;
  }

  .sub__tabnav ul {
    font-size: 13px;
    gap: 6px;
  }

  .sub__tabnav li a {
    gap: 2rem;
  }

  .sub__tabnav .ico.home {
    width: 18px;
    height: 18px;
  }
}

/* ≤1280 */
@media (max-width: 1280px) {
  .sub__tabnav {
    left: 30px;
    bottom: 72px;
  }

  .sub__tabnav ul {
    font-size: 12.5px;
    gap: 6px;
  }

  .sub__tabnav li a {
    gap: 1.5rem;
  }

  .sub__tabnav .ico {
    width: 11px;
    height: 11px;
  }
}

/* ≤1024 */
@media (max-width: 1024px) {
  .sub__tabnav {
    left: 24px;
    bottom: 60px;
  }

  /* 여전히 absolute */
  .sub__tabnav ul {
    font-size: 12px;
    gap: 5px;
    flex-wrap: wrap;
  }

  .sub__tabnav li a {
    gap: 1rem;
  }

  .sub__tabnav .ico.home {
    width: 16px;
    height: 16px;
  }

  .sub__tabnav .dropdown {
    min-width: 160px;
    padding: 22px 6px 14px;
  }
}

/* ≤768 */
@media (max-width: 768px) {
  .sub__tabnav {
    left: 18px;
    bottom: 40px;
  }

  /* absolute 유지 */
  .sub__tabnav ul {
    font-size: 11.5px;
    gap: 4px;
  }

  .sub__tabnav li a {
    gap: .75rem;
  }

  .sub__tabnav .ico {
    width: 10px;
    height: 10px;
  }

  .sub__tabnav li:not(:last-child)::after {
    margin: 0 6px;
  }

  .sub__tabnav .dropdown {
    min-width: 150px;
  }
}

/* ≤390 */
@media (max-width: 390px) {
  .sub__tabnav {
    left: 14px;
    bottom: 36px;
  }

  /* absolute 유지 */
  .sub__tabnav ul {
    font-size: 11px;
    gap: 3px;
  }

  .sub__tabnav li a {
    gap: .5rem;
  }

  .sub__tabnav li:not(:last-child)::after {
    margin: 0 4px;
  }

  .sub__tabnav .dropdown {
    min-width: 140px;
    padding: 18px 6px 12px;
  }
}

/* 상단 카피 */
.sub__title {
  margin-bottom: 100px;
}

.sub__title .eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #10258e;
  margin-bottom: 3rem;
}

.sub__title .headline {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #0a0a0a;
}

.headline[lang="ko"],
.headline [lang="ko"] {
  font-family: 'Pretendard', sans-serif;
  font-style: normal;
}

.headline[lang="en"],
.headline [lang="en"] {
  font-family: 'Roboto', sans-serif;
  font-style: italic;
}

.sub__title .headline + .lead {
  margin-top: 2rem;
}

.sub__title .lead {
  color: #808080;
  line-height: 1.4;
  font-size: 1rem;
}

/* ====== Responsive: sub__title ====== */

/* ≤1600 */
@media (max-width: 1600px) {
  .sub__title .eyebrow {
    font-size: 0.8125rem;
    margin-bottom: 2.5rem;
  }

  .sub__title .headline {
    font-size: clamp(32px, 5vw, 60px);
  }

  .sub__title .lead {
    font-size: 0.95rem;
  }
}

/* ≤1440 */
@media (max-width: 1440px) {
  .sub__title .eyebrow {
    font-size: 0.8rem;
    margin-bottom: 2.25rem;
  }

  .sub__title .headline {
    font-size: clamp(30px, 5.2vw, 56px);
  }

  .sub__title .lead {
    font-size: 0.9375rem;
  }
}

/* ≤1280 */
@media (max-width: 1280px) {
  .sub__title .eyebrow {
    font-size: 0.75rem;
    margin-bottom: 2rem;
  }

  .sub__title .headline {
    font-size: clamp(28px, 5vw, 52px);
  }

  .sub__title .lead {
    font-size: 0.9rem;
    line-height: 1.45;
  }
}

/* ≤1024 */
@media (max-width: 1024px) {
  .sub__title .eyebrow {
    font-size: 0.75rem;
    margin-bottom: 1.75rem;
  }

  .sub__title .headline {
    font-size: clamp(26px, 6vw, 48px);
    line-height: 1.1;
  }

  .sub__title .lead {
    font-size: 0.875rem;
    line-height: 1.5;
  }
}

/* ≤768 */
@media (max-width: 768px) {
  .sub__title .eyebrow {
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
  }

  .sub__title .headline {
    font-size: clamp(22px, 7vw, 40px);
    line-height: 1.2;
  }

  .sub__title .lead {
    font-size: 0.85rem;
    line-height: 1.55;
  }
}

/* ≤390 */
@media (max-width: 390px) {
  .sub__title .eyebrow {
    font-size: 0.6875rem;
    margin-bottom: 1.25rem;
  }

  .sub__title .headline {
    font-size: clamp(20px, 8vw, 32px);
    line-height: 1.25;
  }

  .sub__title .lead {
    font-size: 0.8125rem;
    line-height: 1.6;
  }
}

.sub__section {
  margin-top: -50px;
  padding-bottom: 50px;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  background: #ffffff;
}

.sub__section:last-child {
  padding-bottom: 0;
}

/* ≤1600 */
@media (max-width: 1600px) {
  .sub__section {
    margin-top: -40px;
    padding-bottom: 48px;
    border-top-left-radius: 44px;
    border-top-right-radius: 44px;
  }
}

/* ≤1440 */
@media (max-width: 1440px) {
  .sub__section {
    margin-top: -36px;
    padding-bottom: 44px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
  }
}

/* ≤1280 */
@media (max-width: 1280px) {
  .sub__section {
    margin-top: -32px;
    padding-bottom: 40px;
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
  }
}

/* ≤1024 */
@media (max-width: 1024px) {
  .sub__section {
    margin-top: -28px;
    padding-bottom: 36px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }
}

/* ≤768 */
@media (max-width: 768px) {
  .sub__section {
    margin-top: -20px;
    padding-bottom: 28px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }
}

/* ≤390 */
@media (max-width: 390px) {
  .sub__section {
    margin-top: -16px;
    padding-bottom: 24px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
}