:root {
  --black: #1a1a1a;
  --red: #E60012;
  --light-pink: #ffffff;
}

/* ── 패럴렉스 진입 애니메이션 ── */
.parallax-hidden {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.parallax-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .parallax-hidden {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =====================
   RESET / BASE
   ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #ffffff;
}

/* =====================
   GNB
   ===================== */
.gnb {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0 40px;
}

.gnb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1320px;
  margin: 0 auto;
}

.gnb-logo img {
  display: block;
  height: 37px;
  width: auto;
}

.gnb-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
}

.gnb-nav a {
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: rgba(25, 24, 29, 0.6);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.gnb-nav a:hover {
  color: var(--black);
}

.gnb-nav a.active {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica, sans-serif;
  font-weight: 600;
  color: var(--black);
}

.gnb-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── 언어 드롭다운 ── */
.gnb-lang {
  position: relative;
}

.gnb-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 16px;
  background-color: transparent;
  border: none;
  border-radius: 80px;
  cursor: pointer;
  font-family: "Pretendard-Medium", "Noto Sans KR", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--black);
  white-space: nowrap;
  transition: background-color 0.2s;
}

.gnb-lang-btn:hover {
  background-color: rgba(25, 24, 29, 0.1);
}

.gnb-lang.open .gnb-lang-btn {
  background-color: rgba(25, 24, 29, 0.1);
}

.gnb-lang-icon {
  flex-shrink: 0;
  color: var(--black);
}

.gnb-lang-chevron {
  flex-shrink: 0;
  color: var(--black);
  transition: transform 0.2s;
}

.gnb-lang.open .gnb-lang-chevron {
  transform: rotate(180deg);
}

/* 드롭다운 목록 */
.gnb-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  list-style: none;
  z-index: 2000;
  overflow: hidden;
}

.gnb-lang.open .gnb-lang-dropdown {
  display: block;
}

.gnb-lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 20px;
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: rgba(25, 24, 29, 0.5);
  cursor: pointer;
  transition: background-color 0.15s;
}

.gnb-lang-option:hover {
  background-color: rgba(25, 24, 29, 0.04);
}

.gnb-lang-option.active {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica, sans-serif;
  font-weight: 600;
  color: var(--black);
}

.gnb-lang-option.active::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 9px;
  border-left: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red);
  transform: rotate(-45deg) translateY(-2px);
  flex-shrink: 0;
}

.gnb-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 24px;
  background-color: #000;
  border-radius: 80px;
  border: none;
  outline: none;
  box-shadow: none;
  font-family: "Pretendard-Medium", "Noto Sans KR", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.gnb-cta:hover {
  background-color: var(--red);
}

/* =====================
   SCROLL TOP BUTTON
   ===================== */
.scroll-top-btn {
  position: fixed;
  right: 16px;
  right: max(16px, calc(env(safe-area-inset-right) + 16px));
  bottom: 24px;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 24px));
  z-index: 90;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(230, 0, 18, 0.92);
  color: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease,
    background-color 0.25s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #000;
}

.scroll-top-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.scroll-top-btn svg {
  width: 18px;
  height: 18px;
}

.scroll-top-btn span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

@media (max-width: 768px) {
  .scroll-top-btn {
    right: 12px;
    right: max(12px, calc(env(safe-area-inset-right) + 12px));
    bottom: 18px;
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px));
    width: 48px;
    height: 48px;
  }

  .scroll-top-btn span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top-btn {
    transition: opacity 0.01s linear, visibility 0.01s linear;
  }
}

/* =====================
   HERO
   ===================== */
.section-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-color: #ffffff;
  isolation: isolate;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.hero-content {
  position: relative;
  width: fit-content;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 90px;
  padding: 60px 0;
}
.hero-title-wrapper {
  display: flex;
  flex-direction: column;
}
.hero-regular-title {
  mix-blend-mode: difference;
  color: #ffffff;
}

/* 배경 이미지 — 오른쪽 끝 정렬, 높이 100% 맞춤 */
.gemini-generated {
  position: absolute;
  right: 0;
  top: 0;
  height: 115%; /* 패럴렉스 이동 여백 확보 */
  width: auto;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.a-trusted-digital {
  font-family: "Pretendard-Bold", "Noto Sans KR", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: clamp(28px, 4.2vw, 100px);
  letter-spacing: -2px;
  line-height: 1.15;
  white-space: nowrap;
  word-break: keep-all;
}

.mobile-br {
  display: none;
}
.hero-mo {
  display: none;
}
.sp-only {
  display: none;
}
.hero-title-red {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to right, var(--red) 0%, #000000 0%);
}

.hero-tagline {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  color: #ffffff;
  mix-blend-mode: difference;
  font-size: clamp(28px, 5.2vw, 70px);
  letter-spacing: -0.01em;
  line-height: 1.5;
}

/* =====================
   SLIDE (Projects Showcase)
   ===================== */
.slide {
  background-color: #ffffff;
  padding: 100px 40px 60px;
}

.slide-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 80px);
}

.slide-top {
  display: flex;
  align-items: center;
  gap: 40px;
}

.slide-info {
  flex: 0 0 clamp(420px, 45%, 600px);
  width: clamp(420px, 45%, 600px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.slide .div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slide .text-wrapper {
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
  font-size: clamp(18px, 2.3vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.slide .deep-in-detail {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  color: #000000;
  font-size: clamp(36px, 4.2vw, 54px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

:lang(ja) .slide .text-wrapper {
  font-size: clamp(16px, 2.1vw, 28px);
}

:lang(ja) .slide .deep-in-detail {
  font-size: clamp(30px, 3.3vw, 42px);
}

:lang(ja) .portfolio .from-micro-level {
  font-size: 38px;
}

:lang(ja) .portfolio .p {
  letter-spacing: -0.05em;
}

.slide .frame-2 {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.slide .frame-3,
.slide .frame-6 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slide .text-wrapper-2 {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  color: #000000;
  font-size: 20px;
  white-space: nowrap;
}

.slide .frame-4,
.slide .frame-7 {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.slide .frame-5,
.slide .frame-8 {
  display: flex;
  align-items: baseline;
}

.slide .text-wrapper-3,
.slide .text-wrapper-7 {
  font-family: "Pretendard-Bold", "Noto Sans KR", Helvetica;
  font-weight: 700;
  color: var(--red);
  font-size: 56px;
  white-space: nowrap;
  display: inline-block;
  min-width: 2ch;
  text-align: right;
}

.slide .text-wrapper-4,
.slide .text-wrapper-6 {
  font-family: "Pretendard-Bold", "Noto Sans KR", Helvetica;
  font-weight: 700;
  color: #000000;
  font-size: clamp(14px, 1.5vw, 24px);
  white-space: nowrap;
  align-self: flex-start;
}

.slide .text-wrapper-5 {
  font-family: "Pretendard-Medium", "Noto Sans KR", Helvetica;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.4);
  font-size: 14px;
  white-space: nowrap;
}

.slide .p {
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.8);
  font-size: 18px;
  line-height: 1.6;
}

.slide-map {
  flex: 1;
  min-width: 0;
  max-width: 668px;
  height: 400px;
  margin-left: auto;
  position: relative;
  border-radius: 20px;
  border: 1px solid #f4f4f4;
  overflow: hidden;
}

/* 모바일 전용 지도 — 기본 숨김 */
.slide-map-mobile {
  display: none;
}

.slide-map .layer-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slide-projects .text-wrapper-8,
.slide-projects .text-wrapper-9,
.slide-projects .text-wrapper-10,
.slide-projects .text-wrapper-11 {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.7);
  letter-spacing: -0.02em;
  line-height: 1.5;
  text-align: center;
}

.project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #d9d9d9;
  border-radius: 0;
  border: 1px solid #f4f4f4;
  overflow: hidden;
}

.slide .group,
.slide .group-2,
.slide .group-3,
.slide .group-4 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.slide .group img,
.slide .group-2 img,
.slide .group-3 img,
.slide .group-4 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide .text-wrapper-8,
.slide .text-wrapper-9,
.slide .text-wrapper-10,
.slide .text-wrapper-11 {
  font-family: "Pretendard-Medium", "Noto Sans KR", Helvetica;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

/* =====================
   PORTFOLIO
   ===================== */
.portfolio {
  background-color: #ffffff;
  padding: 60px 40px;
}

.portfolio-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pf-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio .div-wrapper {
  display: inline-flex;
  align-items: center;
  padding: 6px 24px;
  background-color: var(--red);
  border-radius: 90px;
  width: fit-content;
}

.portfolio .text-wrapper {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  color: var(--light-pink);
  font-size: clamp(19.5px, 1.5vw, 27px);
  white-space: nowrap;
  line-height: 1.5;
}

.portfolio .from-micro-level {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  font-size: 42px;
  letter-spacing: -0.02em;
  line-height: 1.5;
  color: transparent;
}

.portfolio .from-micro-level .span {
  color: #19181D;
}

.portfolio .from-micro-level .text-wrapper-2 {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to right, #E60012 0%, #000000 0%);
}

.portfolio .span {
  color: #000000;
}
.portfolio .text-wrapper-2 {
  color: var(--red);
}

.pf-carousel {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.portfolio .frame-3 {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 clamp(0px, 5vw, 74px);
  margin-bottom: 16px;
}

.portfolio .frame-4 {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-bottom: 2px solid #000000;
}

.portfolio .text-wrapper-3 {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  color: var(--black);
  font-size: clamp(14px, 1.2vw, 18px);
  white-space: nowrap;
}

.portfolio .frame-5 {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 90px;
}

.portfolio .text-wrapper-4 {
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.3);
  font-size: clamp(14px, 1.2vw, 18px);
  white-space: nowrap;
}

.portfolio .frame-6 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.portfolio .img {
  width: 28px;
  height: 28px;
}

.portfolio .frame-7 {
  position: relative;
  flex: 1;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.5);
}

.portfolio .frame-7 > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio .rectangle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background-color: #000000d9;
  border-radius: 20px 20px 0 0;
}

.portfolio .kia-KCVG-parts {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 19px 34px 18px 34px;
  font-family: "Pretendard-Medium", Helvetica;
  font-weight: 500;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 27px;
  white-space: normal;
  border-radius: 20px 20px 0 0;
}


/* ── 슬라이드 래퍼 ── */
.pf-slides-wrap {
  flex: 1;
  position: relative;
  min-width: 0;
}

.pf-slide {
  display: none;
  width: 100%;
}

.pf-slide.active {
  display: block;
}

/* ── 탭 공통 (JS가 active 토글) ── */
.pf-tab {
  cursor: pointer;
  user-select: none;
  transition:
    border-color 0.2s,
    opacity 0.2s;
}

.pf-tab.active {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-bottom: 2px solid #000000;
  border-radius: 0;
}

.pf-tab:not(.active) {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 90px;
  border-bottom: none;
}

.pf-tab.active .text-wrapper-3,
.pf-tab.active .text-wrapper-4 {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  color: var(--black);
  font-size: clamp(14px, 1.2vw, 18px);
}

.pf-tab:not(.active) .text-wrapper-3,
.pf-tab:not(.active) .text-wrapper-4 {
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.3);
  font-size: clamp(14px, 1.2vw, 18px);
}

/* ── 좌우 화살표 버튼 ── */
.pf-prev,
.pf-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    opacity 0.2s,
    background-color 0.2s;
}

.pf-prev img,
.pf-next img {
  display: block;
  width: 28px;
  height: 28px;
}

.pf-prev:hover:not(:disabled),
.pf-next:hover:not(:disabled) {
  background-color: #19181D;
}

.pf-prev:disabled,
.pf-next:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ── 하단 dots 네비게이션 ── */
.pf-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10px;
}

/* ── 도트 ── */
.pf-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 20px;
}

.pf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition:
    background-color 0.2s,
    width 0.2s,
    border-radius 0.2s;
  flex-shrink: 0;
}

.pf-dot.active {
  background-color: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
}

.pf-dot.active img {
  display: block;
  width: auto;
  height: 8px;
}

.portfolio .frame-8 {
  width: 100%;
  height: auto;
  display: block;
}

.pf-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.portfolio .frame-10,
.portfolio .frame-12 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.portfolio .frame-11 {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.portfolio .text-wrapper-5,
.portfolio .text-wrapper-6 {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  color: #000000;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.portfolio .p {
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
  font-size: clamp(13px, 1vw, 16px);
  letter-spacing: -0.02em;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .portfolio {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }

  .portfolio {
    padding-left: 20px;
    padding-right: 20px;
  }
  .portfolio .frame-10,
  .portfolio .frame-12 {
    flex-direction: column;
    gap: 14px;
  }
  .portfolio .chevron-backward-wrapper,
  .portfolio .chevron-forward-wrapper {
    width: 40px;
    height: 40px;
  }
  .portfolio .rectangle,
  .portfolio .kia-KCVG-parts {
    border-radius: 10px 10px 0 0;
  }
}


@media (max-width: 480px) {
  .portfolio {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* =====================
   AI SOLUTION
   ===================== */
.ai-solution {
  background-color: #ffffff;
  padding: 60px 40px;
}

.ai-solution-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ai-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 24px;
  background-color: var(--red);
  border-radius: 90px;
  width: fit-content;
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  font-size: clamp(19.5px, 1.5vw, 27px);
  color: var(--light-pink);
  white-space: nowrap;
  line-height: 1.5;
}

.ai-title {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  font-size: 42px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #000000;
}

.ai-highlight {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to right, #E60012 0%, #000000 0%);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.ai-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #f4f4f4;
  background-color: #f4f4f4;
}

.ai-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ai-card-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ai-card-title {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  color: #000000;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.ai-card-desc {
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
  font-size: clamp(13px, 1vw, 16px);
  letter-spacing: -0.02em;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .ai-solution {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .ai-solution {
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .ai-title {
    font-size: 26px;
  }
  .ai-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ai-solution {
    padding-left: 16px;
    padding-right: 16px;
  }
  .ai-badge {
    padding-left: 16px;
    margin-left: -16px;
  }
}

/* =====================
   CONTACT MODAL
   ===================== */
.contact-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  overscroll-behavior: none;
  touch-action: none;
}

.contact-overlay.open {
  display: flex;
}

.contact-modal {
  background-color: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 1220px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  touch-action: pan-y;
  overscroll-behavior: contain;
}

/* 헤더: 제목 + 닫기 */
.contact-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.contact-title {
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  font-size: 54px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #000000;
}

.contact-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.contact-close img {
  display: block;
  width: 44px;
  height: 44px;
}

.contact-close:hover {
  opacity: 1;
}

/* 바디: 설명 + 폼 */
.contact-body {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-desc {
  flex: 0 0 456px;
  width: 456px;
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 20px);
  color: #000000;
  line-height: 1.6;
}

.contact-form-wrap {
  flex: 0 0 640px;
  width: 640px;
  border: 1px solid #a2a2a2;
  border-radius: 30px;
  padding: clamp(24px, 3vw, 40px);
}

/* 폼 내부 */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cf-row {
  display: flex;
  gap: 24px;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.cf-field--full {
  flex: none;
  width: 100%;
}

.cf-label {
  font-family: "Pretendard-Bold", "Noto Sans KR", Helvetica;
  font-weight: 700;
  font-size: 16px;
  color: #000000;
  line-height: 1.4;
}

.cf-req {
  color: var(--red);
  margin-left: 1px;
}

.cf-field.error .cf-label {
  color: var(--red);
}

.cf-error-msg {
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica, sans-serif;
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
  display: none;
}

.cf-field.error .cf-error-msg {
  display: block;
}

/* 인풋 하단 border only */
.cf-input-wrap {
  display: flex;
  align-items: center;
  border-bottom: 0.5px solid #a2a2a2;
  padding-bottom: 8px;
  gap: 8px;
}

.cf-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  font-size: 14px;
  color: #000000;
  background: transparent;
  line-height: 1.4;
}

.cf-input::placeholder {
  color: #a2a2a2;
}

.cf-textarea {
  width: 100%;
  min-height: unset;
  height: 22px;
  resize: none;
  line-height: 1.6;
  padding-bottom: 8px;
  overflow: hidden;
}

/* 전화 국가코드 */
.cf-phone-wrap {
  gap: 0;
}

.cf-phone-code {
  position: relative;
  flex-shrink: 0;
  padding-right: 8px;
  border-right: 0.5px solid #a2a2a2;
  margin-right: 8px;
}

.cf-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.cf-phone-label {
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  font-size: 14px;
  color: #a2a2a2;
  white-space: nowrap;
}

.cf-phone-arrow {
  display: block;
  width: 12px;
  height: 12px;
  pointer-events: none;
  transition: transform 0.2s;
}

.cf-phone-code.open .cf-phone-arrow {
  transform: rotate(180deg);
}

/* 드롭다운 — 언어선택과 동일한 스타일 */
.cf-phone-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  max-height: 260px;
  overflow-y: auto;
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  list-style: none;
  z-index: 100;
  scrollbar-width: thin;
  scrollbar-color: #d9d9d9 transparent;
}

.cf-phone-dropdown::-webkit-scrollbar {
  width: 4px;
}

.cf-phone-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.cf-phone-dropdown::-webkit-scrollbar-thumb {
  background-color: #d9d9d9;
  border-radius: 50px;
}

.cf-phone-group {
  padding: 8px 16px 4px;
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-size: 11px;
  font-weight: 600;
  color: rgba(25, 24, 29, 0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.cf-phone-code.open .cf-phone-dropdown {
  display: block;
}

.cf-phone-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 20px;
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  font-size: 14px;
  color: rgba(25, 24, 29, 0.5);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s;
}

.cf-phone-option:hover {
  background-color: rgba(25, 24, 29, 0.04);
}

.cf-phone-option.active {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  color: var(--black);
}

.cf-phone-option.active::after {
  content: "";
  display: block;
  width: 14px;
  height: 9px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg) translateY(-2px);
  flex-shrink: 0;
}

/* 하단: 체크박스 + 버튼 */
.cf-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cf-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.cf-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cf-checkbox-box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 0.8px solid #16161666;
  border-radius: 4px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s,
    border-color 0.2s;
  margin-top: 2px;
}

.cf-checkbox:checked + .cf-checkbox-box {
  background-color: var(--red);
  border-color: var(--red);
}

.cf-checkbox:checked + .cf-checkbox-box::after {
  content: "";
  display: block;
  width: 11px;
  height: 7px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.cf-agree-text {
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  font-size: 15px;
  color: #000000;
  line-height: 1.6;
}

.cf-submit {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 1000px;
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  font-size: 18px;
  color: #ffffff;
  background-color: #000000;
  cursor: pointer;
  transition: background-color 0.2s;
}

.cf-submit.cf-inactive {
  background-color: #a7a7a7;
}

.cf-submit:not(.cf-inactive):hover {
  background-color: #2d2c32;
}

/* 반응형 */
@media (max-width: 900px) {
  .contact-body {
    flex-direction: column;
  }
  .contact-desc {
    flex: none;
    width: 100%;
  }
  .contact-form-wrap {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .contact-modal {
    border-radius: 16px;
    padding: 28px 20px;
  }
  .cf-row {
    flex-direction: column;
    gap: 28px;
  }
  .contact-form-wrap {
    border-radius: 12px;
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  /* bottom sheet */
  .contact-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .contact-modal {
    border-radius: 20px 20px 0 0;
    padding: 0 20px 18px;
    max-height: 90svh;
    gap: 16px;
    transition: max-height 0.3s ease, border-radius 0.3s ease;
  }
  .contact-modal.expanded {
    max-height: 100svh;
    border-radius: 0;
    overflow-y: auto;
  }
  /* drag handle */
  .contact-drag-handle {
    width: 88px;
    height: 4px;
    background-color: #d9d9d9;
    border-radius: 50px;
    margin: 12px auto 4px;
    flex-shrink: 0;
    cursor: pointer;
  }
  .contact-title {
    font-size: 26px;
    line-height: 1.25;
  }
  .contact-close img {
    width: 36px;
    height: 36px;
  }
  .contact-body {
    flex-direction: column;
    gap: 20px;
  }
  .contact-desc {
    flex: none;
    width: 100%;
    font-size: 16px;
    line-height: 1.5;
  }
  .contact-form-wrap {
    flex: none;
    width: 100%;
    border-radius: 8px;
    border: 0.52px solid #a2a2a2;
    padding: 12px 16px 18px;
  }
  .contact-form {
    gap: 16px;
  }
  .cf-row {
    flex-direction: column;
    gap: 16px;
  }
  .cf-label {
    font-size: 16px;
  }
  .cf-agree-text {
    font-size: 14px;
  }
  .cf-submit {
    height: 44px;
    font-size: 16px;
    border-radius: 80px;
  }
}

/* =====================
   FOOTER
   ===================== */
.section-footer {
  background-color: #19181d;
  padding: clamp(48px, 6vw, 80px) 40px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 56px);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 80px);
}

.footer-logo {
  flex-shrink: 0;
}

.footer-logo img {
  display: block;
  width: 430px;
  height: auto;
}

.footer-tagline {
  font-family: "Pretendard-Light", Helvetica;
  font-weight: 300;
  font-size: 43px;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.footer-muted {
  color: rgba(255, 255, 255, 0.35);
}

.footer-bright {
  color: #ffffff;
}

.footer-line {
  display: block;
  width: 100%;
  height: auto;
}

.footer-line--m {
  display: none;
}

@media (max-width: 480px) {
  .footer-line--pc {
    display: none;
  }
  .footer-line--m {
    display: block;
  }
}

.footer-bottom {
  display: flex;
  align-items: center;
}

.footer-copy {
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  font-size: clamp(12px, 0.9vw, 14px);
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .section-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .section-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .section-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* =====================
   RESPONSIVE: 태블릿 (≤1024px)
   ===================== */
@media (max-width: 1280px) {
  .gnb-nav {
    display: none;
  }
}

@media (max-width: 1024px) {
  .gnb {
    padding: 0 24px;
  }
  .hero-inner {
    padding: 80px 24px 0;
  }
  .hero-content {
    width: 400px;
  }
  .gemini-generated {
    will-change: auto;
    height: 100svh;
    transform: none;
  }
  .slide-top {
    flex-direction: column;
  }
  .slide-info {
    flex: none;
    width: 100%;
  }
  .slide-map {
    width: 100%;
    aspect-ratio: 16 / 7;
  }
  .slide-projects {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* =====================
   RESPONSIVE: 모바일 (≤768px)
   ===================== */
@media (max-width: 768px) {
  /* GNB */
  .gnb {
    padding: 0 20px;
  }
  .gnb-right {
    gap: 4px;
  }
  .gnb-nav {
    display: none;
  }
  .gnb-lang-label {
    display: none;
  }
  .gnb-lang-btn {
    padding: 0 10px;
    gap: 4px;
  }
  .gnb-lang-dropdown {
    min-width: fit-content;
  }
  .gnb-lang-option {
    gap: 12px;
    padding: 12px 16px;
    justify-content: flex-start;
    white-space: nowrap;
  }
  .gnb-lang-option.active::after {
    margin-left: 0;
  }

  /* Hero */
  .section-hero {
    min-height: 100svh;
  }
  .hero-inner {
    padding: 80px 20px 0;
    min-height: 100svh;
  }
  .hero-content {
    width: 100%;
    max-width: 70%;
    padding: 0;
  }
  .gemini-generated {
    will-change: auto;
    height: 100svh;
    transform: none;
  }

  /* Projects Showcase */
  .slide {
    padding-left: 20px;
    padding-right: 20px;
  }
  .slide-inner {
    gap: 20px;
  }
  .slide-top {
    flex-direction: column;
    gap: 16px;
  }
  .slide-info {
    gap: 12px;
  }
  .slide .div {
    gap: 6px;
  }
  :lang(ja) .slide .deep-in-detail {
    font-size: calc((100vw - 40px) / 14);
  }
  .slide-map {
    aspect-ratio: 16 / 9;
  }
  .slide .frame-2 {
    gap: 20px;
  }
  .slide-projects {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Portfolio */
  .portfolio .frame-3 {
    padding: 0;
    flex-wrap: wrap;
    gap: 8px;
  }
  .portfolio .text-wrapper-5,
  .portfolio .text-wrapper-6 {
    font-size: 18px;
  }
  .pf-features {
    gap: 16px;
  }
  .portfolio .frame-10,
  .portfolio .frame-12 {
    flex-direction: column;
    gap: 16px;
  }
  .portfolio .frame-7 {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    /* display: block 제거 — JS .pf-slide 제어를 덮어쓰지 않도록 */
  }
  .portfolio .frame-7 video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* AI Solution */
  .ai-grid {
    grid-template-columns: 1fr;
  }
  .ai-card-title {
    font-size: 18px;
  }

  /* Partnerships */
  .partnerships-cards {
    flex-wrap: wrap;
  }
  .partner-card {
    flex: 0 0 calc(50% - 5px);
  }
  .partner-card--wide {
    flex: 0 0 calc(50% - 5px);
  }
  .partnerships-row-divider {
    margin: 20px 0;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-logo img {
    width: 100%;
    max-width: 280px;
  }
  .footer-tagline {
    font-size: clamp(24px, 6vw, 36px);
  }
}

/* iOS 자동 확대 방지 */
@media (max-width: 768px) {
  .cf-input,
  .cf-textarea,
  .cf-input::placeholder,
  .cf-textarea::placeholder {
    font-size: 16px;
  }
}

/* =====================
   RESPONSIVE: 소형 모바일 (≤480px)
   ===================== */
@media (max-width: 480px) {
  /* GNB */
  .gnb {
    padding: 0 16px;
  }
  .gnb-logo img {
    height: 26px;
  }

  /* Hero */
  .hero-inner {
    padding: 104px 20px 0;
    align-items: flex-start;
  }
  .hero-content {
    max-width: 100%;
    padding: 0;
    gap: 16px;
  }
  .a-trusted-digital {
    font-size: calc((100vw - 40px) / 7.5);
    margin: 0;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: break-word;
  }
  .hero-tagline {
    font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica, sans-serif;
    font-size: 24px;
    color: #ffffff;
  }
  .mobile-br {
    display: inline;
  }
  .hero-pc {
    display: none;
  }
  .hero-mo {
    display: inline;
  }
  .hero-title-red {
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, var(--red) 0%, #000000 0%);
  }
  .gemini-generated {
    top: auto;
    bottom: 20px;
    left: 20px;
    right: 0;
    width: calc(100% - 20px);
    height: auto;
    object-fit: cover;
    object-position: center bottom;
    will-change: auto;
  }

  /* Projects Showcase */
  .slide {
    padding: 60px 0 32px 20px;
  }
  .slide-inner {
    gap: 48px;
    padding-right: 0;
  }
  .slide-top {
    flex-direction: column;
    gap: 32px;
    padding-right: 20px;
  }
  .slide-info {
    flex: none;
    width: 100%;
    gap: 0;
  }
  .slide .div {
    gap: 8px;
    margin-bottom: 32px;
  }
  .slide-stats-mobile-wrap {
    margin-bottom: 8px;
  }

  /* label → 모바일 주 타이틀 */
  .slide .text-wrapper {
    font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
    font-weight: 600;
    font-size: 26px;
    color: #000000;
    line-height: 1.25;
  }
  /* 큰 헤딩 숨김 */
  .slide .deep-in-detail {
    display: none;
  }
  /* 설명 */
  .slide .p {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.5;
  }
  /* 지도 숨김 */
  .slide-map {
    display: none;
  }
  /* 모바일 전용 지도+통계 오버레이 래퍼 */
  .slide-stats-mobile-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: rgba(226, 226, 226, 0.15);
    border-radius: 10px;
    overflow: hidden;
    border: 0.5px solid #f4f4f4;
    padding: 40px 0 12px 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .slide-map-mobile {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
  }
  .slide .frame-2 {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  /* 숫자+단위 세로 배치 */
  .slide .frame-4,
  .slide .frame-7 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  /* 통계 텍스트 크기 — Figma 기준 */
  .slide .text-wrapper-2 {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
  }
  .slide .text-wrapper-3,
  .slide .text-wrapper-7 {
    font-size: 26px;
    color: var(--red);
    line-height: 1.1;
    white-space: nowrap;
  }
  .slide .text-wrapper-4,
  .slide .text-wrapper-6 {
    font-size: 14px;
    line-height: 1.1;
    white-space: nowrap;
  }
  .slide .text-wrapper-5 {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.4);
    line-height: 1.3;
    white-space: nowrap;
  }
  /* 프로젝트 카드 — 가로 스크롤 */
  .slide-projects {
    display: flex;
    flex-direction: row;
    grid-template-columns: unset;
    gap: 8px;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-right: 20px;
  }
  .slide-projects::-webkit-scrollbar {
    display: none;
  }
  .project-card {
    flex: 0 0 278px;
    width: 278px;
  }
  .project-thumb {
    height: 178px;
    aspect-ratio: unset;
    border-radius: 0;
  }
  .slide .text-wrapper-8,
  .slide .text-wrapper-9,
  .slide .text-wrapper-10,
  .slide .text-wrapper-11 {
    font-size: 12px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.5;
  }

  .portfolio .from-micro-level {
    font-size: 26px;
    letter-spacing: -0.52px;
    line-height: 32.5px;
  }

  /* Portfolio */
  .portfolio {
    padding: 32px 0;
  }
  .portfolio-inner {
    gap: 16px;
  }
  .pf-head {
    padding: 0 20px;
  }
  .portfolio .div-wrapper {
    padding: 5.7px 22.8px 5.7px 20px;
    border-radius: 0 90px 90px 0;
    margin-left: -20px;
  }
  .portfolio .text-wrapper {
    font-size: 18.5px;
  }
  .ai-badge {
    padding: 5.7px 22.8px 5.7px 20px;
    border-radius: 0 90px 90px 0;
    font-size: 18.5px;
    margin-left: -20px;
  }
  /* 탭 바 */
  .portfolio .frame-3 {
    padding: 0 20px;
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .portfolio .frame-3::-webkit-scrollbar {
    display: none;
  }
  .pf-tab.active {
    padding: 6px 4px;
    border-bottom: 2px solid #000000;
    border-radius: 0;
  }
  .pf-tab:not(.active) {
    padding: 6px 4px;
    border-radius: 90px;
  }
  .pf-tab.active .text-wrapper-3,
  .pf-tab.active .text-wrapper-4 {
    font-size: 16px;
    color: var(--black);
    font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
    font-weight: 600;
  }
  .pf-tab:not(.active) .text-wrapper-3,
  .pf-tab:not(.active) .text-wrapper-4 {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.3);
    font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
    font-weight: 400;
  }
  /* 화살표 버튼 숨김 */
  .pf-prev,
  .pf-next {
    display: none;
  }
  /* 슬라이드 영역 */
  .portfolio .frame-6 {
    padding: 0 20px;
    gap: 0;
    margin-bottom: 4px;
    overflow: hidden;
  }
  .pf-carousel {
    gap: 0;
  }
  /* 가로 스크롤 swipe 래퍼 */
  .pf-slides-wrap {
    display: flex;
    flex-direction: row;
    overflow: visible;
    gap: 8px;
    will-change: transform;
  }
  /* 동영상 카드 */
  .portfolio .frame-7 {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.5);
    overflow: hidden;
    scroll-snap-align: none;
    position: relative;
  }
  .portfolio .frame-7 video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .portfolio .rectangle {
    display: none;
  }
  .portfolio .kia-KCVG-parts {
    height: auto;
    padding: 6px 16px;
    background-color: #000000d9;
    font-family: "Pretendard-Regular", Helvetica;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.3;
    white-space: normal;
  }
  /* dots */
  .pf-nav {
    padding: 0 20px;
  }
  .pf-dot {
    width: 6px;
    height: 6px;
  }
  .pf-dot.active img {
    height: 6px;
  }
  .pf-dots {
    gap: 4px;
  }
  /* Features */
  .pf-features {
    padding: 0 20px;
  }
  .portfolio .frame-10,
  .portfolio .frame-12 {
    flex-direction: column;
    gap: 20px;
  }

  /* AI Solution */
  .ai-solution {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Partnerships */
  .partnerships {
    padding-left: 16px;
    padding-right: 16px;
  }
  .partnerships-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
  }
  .partnerships-group-label {
    flex: 0 0 100%;
    font-size: 18px;
  }
  .partnerships-cards {
    display: contents;
  }
  .partnerships-row-divider {
    flex: 0 0 100%;
    margin: 4px 0;
  }
  .partner-card {
    flex: 0 0 calc(50% - 4px);
  }

  /* Footer */
  .section-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer-top {
    align-items: center;
    text-align: center;
  }
  .footer-bottom {
    justify-content: center;
  }
  .footer-tagline {
    font-size: 20px;
  }
  .footer-logo img {
    max-width: 200px;
  }
}

/* =====================
   PARTNERSHIPS
   ===================== */
.partnerships {
  background-color: #f4f4f4;
  padding: 100px 40px;
}

.partnerships-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.partnerships-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.partnerships-title {
  font-family: "Pretendard-SemiBold", "Noto Sans KR", Helvetica;
  font-weight: 600;
  font-size: 54px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #000000;
}

.partnerships-desc {
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
  font-size: 24px;
  line-height: 1.7;
}

/* 카테고리 리스트 */
.partnerships-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.partnerships-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 0 0;
}

.partnerships-group-label {
  font-family: "Pretendard-Medium", "Noto Sans KR", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.partnerships-cards {
  display: flex;
  align-items: stretch;
  gap: clamp(8px, 1vw, 12px);
  flex-wrap: nowrap;
  width: 100%;
}

/* International 13개 — 3행 래퍼 */
.partnerships-intl-wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 12px);
}

/* 파트너 카드 (로고 컨테이너) */
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(52px, 5vw, 72px);
  padding: 0 clamp(16px, 1.5vw, 24px);
  background-color: #ffffff;
  border-radius: 10px;
  flex: 1 1 0;
  min-width: 0;
}

.partner-card img {
  max-width: 75%;
  max-height: 32px;
  width: auto;
  height: auto;
  object-fit: cover;
  display: block;
}

.partnerships-group--large .partner-card img {
  max-height: 80px;
  max-width: 80%;
}

.partnerships-group--local .partner-card img {
  max-height: 50px;
  max-width: 60%;
}

.partnerships-group--public .partner-card img {
  max-height: 44px;
  max-width: 80%;
}

.partnerships-intl-wrap .partner-card img {
  max-width: 75%;
}

/* wide 카드 (International 첫 행 — 국가명+로고) */
.partner-card--wide {
  flex: 1 1 0;
}

.partnerships-divider {
  display: none;
}

/* International 섹션 내부 구분선 */
.partnerships-row-divider {
  display: none;
}

@media (max-width: 1024px) {
  .partnerships {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .partnerships {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .partnerships-title {
    font-size: 26px;
  }
  .partnerships-desc {
    font-size: 16px;
  }
  .partnerships-cards {
    flex-wrap: wrap;
  }
  .partner-card {
    flex: 0 0 calc(50% - 5px);
  }
  .partner-card--wide {
    flex: 0 0 calc(50% - 5px);
  }
}

@media (max-width: 480px) {
  .partnerships {
    padding-left: 16px;
    padding-right: 16px;
  }
  .partner-card {
    flex: 0 0 calc(50% - 4px);
  }
  .partnerships-intl-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .partnerships-intl-wrap .partnerships-cards {
    display: contents;
  }
}

.frame {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 90px;
  position: relative;
}

.frame .div {
  display: inline-flex;
  align-items: flex-start;
  gap: 205px;
  position: relative;
  flex: 0 0 auto;
}

.frame .element {
  position: relative;
  width: 432px;
  height: 78px;
}

.frame .data-everywhere {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-family: "Pretendard-Light", Helvetica;
  font-weight: 300;
  color: transparent;
  font-size: 43.5px;
  letter-spacing: -0.87px;
  line-height: 58.7px;
}

.frame .text-wrapper {
  color: #ffffff66;
  letter-spacing: -0.38px;
}

.frame .span {
  color: #ffffff;
  letter-spacing: -0.38px;
}

.frame .vector {
  position: relative;
  width: 1320px;
  height: 1px;
  object-fit: cover;
}

.frame .p {
  position: relative;
  align-self: stretch;
  font-family: "Pretendard-Regular", "Noto Sans KR", Helvetica;
  font-weight: 400;
  color: #ffffff99;
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
}

/* =====================
   JAPANESE FONT OVERRIDE
   일본어 선택 시 Noto Sans JP 전용 적용
   ===================== */
:lang(ja) body,
:lang(ja) div,
:lang(ja) p,
:lang(ja) span,
:lang(ja) h1,
:lang(ja) h2,
:lang(ja) h3,
:lang(ja) h4,
:lang(ja) h5,
:lang(ja) a,
:lang(ja) button,
:lang(ja) li,
:lang(ja) label,
:lang(ja) input,
:lang(ja) textarea {
  font-family: "Noto Sans JP", sans-serif;
}

/* =====================
   JAPANESE MOBILE FONT SIZE (-1px)
   모바일에서 일본어 폰트를 영문보다 1px 작게
   ===================== */

/* 768px 이하 */
@media (max-width: 768px) {
  :lang(ja) .portfolio .text-wrapper-5,
  :lang(ja) .portfolio .text-wrapper-6 {
    font-size: 17px;
  }
  :lang(ja) .ai-card-title {
    font-size: 17px;
  }
}

:lang(ja) .hero-title-wrapper {
  flex-direction: column-reverse;
}

/* 480px 이하 */
@media (max-width: 480px) {
  :lang(ja) .a-trusted-digital {
    font-size: calc((100vw - 40px) / 9.2);
  }
  :lang(ja) .hero-tagline {
    font-size: 23px;
  }
  :lang(ja) .contact-title {
    font-size: 25px;
  }
  :lang(ja) .contact-desc {
    font-size: 15px;
  }
  :lang(ja) .cf-label {
    font-size: 15px;
  }
  :lang(ja) .cf-agree-text {
    font-size: 13px;
  }
  :lang(ja) .cf-submit {
    font-size: 15px;
  }
  :lang(ja) .slide .text-wrapper {
    font-size: 25px;
  }
  :lang(ja) .slide .p {
    font-size: 15px;
  }
  :lang(ja) .slide .text-wrapper-2 {
    font-size: 10px;
  }
  :lang(ja) .slide .text-wrapper-3,
  :lang(ja) .slide .text-wrapper-7 {
    font-size: 25px;
  }
  :lang(ja) .slide .text-wrapper-4,
  :lang(ja) .slide .text-wrapper-6 {
    font-size: 13px;
  }
  :lang(ja) .slide .text-wrapper-5 {
    font-size: 10px;
  }
  :lang(ja) .slide .text-wrapper-8,
  :lang(ja) .slide .text-wrapper-9,
  :lang(ja) .slide .text-wrapper-10,
  :lang(ja) .slide .text-wrapper-11 {
    font-size: 11px;
  }
  :lang(ja) .portfolio .from-micro-level {
    font-size: 25px;
  }
  :lang(ja) .pf-tab.active .text-wrapper-3,
  :lang(ja) .pf-tab.active .text-wrapper-4 {
    font-size: 15px;
  }
  :lang(ja) .pf-tab:not(.active) .text-wrapper-3,
  :lang(ja) .pf-tab:not(.active) .text-wrapper-4 {
    font-size: 15px;
  }
  :lang(ja) .portfolio .kia-KCVG-parts {
    font-size: 11px;
  }
  :lang(ja) .footer-tagline {
    font-size: 21px;
  }
}
