/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui,
    Roboto, sans-serif;
}

/* 글라스모피즘 헤더 */
.glass-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1920px;
  z-index: 9999;
  padding: 0;
  transition: all 0.4s ease;
}

.header-container {
  /* border-radius: 100px; */
  padding: 22px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: all 0.4s ease;
}

.header-logo img {
  height: 30px;
  width: auto;
  display: block;
  transition: all 0.4s ease;
}

.header-logo {
  margin-left: 0;
}

.header-nav {
  display: flex;
  gap: 80px;
  align-items: center;
  position: relative;
  left: auto;
  transform: none;
  margin-left: auto;
  margin-right: 0;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.4s ease;
  position: relative;
  padding: 2px 0;
  letter-spacing: 0.6px;
}

.header-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.header-nav a:hover {
  color: rgba(255, 255, 255, 1);
}

.header-nav a:hover::after {
  width: 100%;
}

/* 흰색 배경용 검정 헤더 */
.glass-header.dark-mode .header-container {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.glass-header.dark-mode .header-logo img {
  filter: invert(1) brightness(0);
}

.glass-header.dark-mode .header-nav a {
  color: rgba(0, 0, 0, 0.7);
}

.glass-header.dark-mode .header-nav a:hover {
  color: rgba(0, 0, 0, 1);
}

.glass-header.dark-mode .header-nav a::after {
  background: #000;
}

/* 햄버거 버튼 - 데스크탑에서 숨김 */
.hamburger {
  display: none;
}

.nav-overlay {
  display: none;
}

main {
  width: 100%;
}

section {
  width: 100%;
}

/* 메인배너 섹션 */
.s1 {
  height: 100vh;
  position: relative;
  background-color: #000;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.main-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.main-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.main-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.main-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.8s ease;
  display: flex;
  align-items: center;
  transform: translateY(50px);
}

.main-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.main-content {
  width: 92%;
  max-width: 1920px;
  margin: 0 auto;
  padding-left: 60px;
  padding-right: 60px;
  padding-top: clamp(150px, 12vw, 230px);
  text-align: left;
  position: relative;
  z-index: 1;
}

.main-slide .main-subtitle,
.main-slide .main-title {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.main-slide.active .main-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.main-slide.active .main-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.main-subtitle {
  font-size: clamp(18px, 1.56vw, 30px);
  font-weight: 500;
  color: rgba(255, 255, 255);
  margin-bottom: clamp(15px, 1.3vw, 25px);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-title {
  font-size: clamp(32px, 3.125vw, 60px);
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: clamp(20px, 1.56vw, 30px);
}

.main-title-highlight {
  font-weight: 700;
}

.main-pagination {
  position: absolute;
  bottom: clamp(100px, 11vw, 160px);
  left: max(calc(4% + 60px), calc((100vw - 1920px) / 2 + 60px));
  display: flex;
  align-items: center;
  gap: clamp(10px, 0.78vw, 15px);
  z-index: 10;
}

.main-pagination .current-page {
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 700;
  color: #fff;
}

.page-divider-container {
  position: relative;
  width: clamp(80px, 7.29vw, 140px);
  height: 2px;
}

.page-divider-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
}

.page-divider-fill {
  position: absolute;
  width: 0%;
  height: 100%;
  background: #fff;
  transition: width 0.8s ease;
}

.main-pagination .total-page {
  font-size: clamp(16px, 1.04vw, 20px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.main-pagination button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255);
  font-size: clamp(18px, 1.25vw, 24px);
  cursor: pointer;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.main-pagination .page-prev {
  margin-left: 10px;
}

/* 트랜지션 섹션 s2 */
.s2 {
  min-height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.s2 .contents {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.s2 .txt {
  overflow: visible;
  max-height: 2em;
  color: #fff;
  font-size: clamp(36px, 3.125vw, 60px);
}

.s2 .txt h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-weight: 700;
  white-space: nowrap;
  overflow: visible;
  line-height: 1.5;
}

.s2 .txt h2 .first {
  font-family: "Pretendard";
  flex-shrink: 0;
  margin-right: 10px;
  overflow: hidden;
}

.s2 .txt h2 .first > div {
  overflow: hidden;
}

.s2 .txt h2 .txt_scroll {
  overflow: hidden;
  max-height: 1.5em;
  width: fit-content;
  font-size: 1em;
}

.s2 .txt h2 .txt_scroll > div {
  overflow: hidden;
  transform: translateY(0);
  line-height: 1.5;
}

.s2 .bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: clamp(30px, 2.08vw, 40px);
  position: relative;
}

.s2 .bottom .imgBx {
  border-radius: 27px;
  overflow: hidden;
  width: clamp(320px, 24.95vw, 479px);
  position: relative;
  height: clamp(180px, 14.27vw, 274px);
  filter: brightness(1);
}

.s2 .bottom .imgBx img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.s2 .bottom .smallTxt {
  font-size: clamp(18px, 1.35vw, 26px);
  color: #c0c0c0;
  font-family: "Pretendard";
  font-weight: 700;
  padding-top: clamp(15px, 1.3vw, 25px);
  overflow: hidden;
  position: absolute;
  bottom: -50px;
}

.s2 .bottom .smallTxt small {
  display: inline-block;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, #00316c 0%, #888 0%);
}

/* s2 .second - TRUSTED BY 문구 */
.s2 .second {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: clamp(60px, 4.17vw, 80px);
  padding-bottom: clamp(150px, 10.42vw, 200px);
}

.s2 .second .txtBx > div {
  overflow: hidden;
}

.s2 .second .txtBx p {
  color: #666977;
  text-align: center;
  font-size: clamp(40px, 3.65vw, 70px);
  font-weight: 700;
  font-family: "Pretendard";
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, #ffffff 0%, #666977 0%);
}

.s2 .second .txtBx2 {
  padding-top: clamp(15px, 1.04vw, 20px);
  overflow: hidden;
}

.s2 .second .txtBx2 p {
  font-family: "Pretendard";
  font-size: clamp(14px, 0.94vw, 18px);
  color: #ffffff;
  text-align: center;
  font-weight: 200;
  line-height: 1.5;
  opacity: 0.8;
}

.s2 .second .txtBx2 p br {
  display: none;
}

/* 클라이언트 로고 슬라이더 */
.s2 .second .clients-slider {
  width: 100%;
  overflow: hidden;
  position: absolute;
  bottom: clamp(30px, 2.08vw, 40px);
  left: 0;
  opacity: 0;
}

.s2 .second .clients-slider::before,
.s2 .second .clients-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: clamp(150px, 15.625vw, 300px);
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.s2 .second .clients-slider::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9), transparent);
}

.s2 .second .clients-slider::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.9), transparent);
}

.s2 .second .clients-track {
  display: flex;
  gap: 10px;
  animation: slideLeft 40s linear infinite;
  width: fit-content;
}

.s2 .second .client-logo {
  flex-shrink: 0;
  width: clamp(150px, 10.42vw, 200px);
  height: clamp(60px, 4.17vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.s2 .second .client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.s2 .second .client-logo:hover img {
  opacity: 1;
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 솔루션 섹션 s3 */
.s3 {
  min-height: 100vh;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 5.73vw, 110px) 0 clamp(70px, 4.69vw, 90px) 0;
}

.solution-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 0px;
}

.solution-header {
  text-align: center;
  margin-bottom: clamp(40px, 2.6vw, 50px);
  margin-top: clamp(40px, 2.6vw, 50px);
}

.solution-header h2 {
  font-size: clamp(32px, 2.5vw, 48px);
  font-weight: 700;
  color: #000;
  line-height: 1.4;
  margin-bottom: clamp(12px, 0.78vw, 15px);
}

.solution-header p {
  font-size: clamp(14px, 0.94vw, 18px);
  font-weight: 300;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.4;
}

.solution-cards-wrapper {
  width: 100%;
  height: clamp(280px, 18.23vw, 350px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: clamp(25px, 1.56vw, 30px);
}

.solution-cards {
  display: flex;
  gap: clamp(15px, 1.04vw, 20px);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card {
  position: relative;
  width: clamp(150px, 10.42vw, 200px);
  height: clamp(280px, 18.23vw, 350px);
  background: #111;
  border-radius: clamp(15px, 1.04vw, 20px);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card.active {
  width: clamp(900px, 62.5vw, 1200px);
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  z-index: 0;
}

.card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 85% center;
  opacity: 1;
  transition: opacity 0.4s ease,
    object-position 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:not(.active) .card-bg img {
  object-position: 85% center;
  opacity: 1;
}

.card-content {
  position: relative;
  z-index: 1;
  padding: clamp(30px, 2.08vw, 40px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.solution-card.active .card-content {
  opacity: 1;
  transition: opacity 0.4s ease 0.3s;
}

.card-content h3 {
  font-size: clamp(26px, 1.875vw, 36px);
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.2;
}

.card-content .card-subtitle {
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 200;
  color: #ffffff;
  margin-bottom: clamp(20px, 1.56vw, 30px);
}

.card-content .card-description {
  font-size: clamp(14px, 0.94vw, 18px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.solution-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 1.56vw, 30px);
  flex-wrap: wrap;
}

.solution-nav button {
  background: transparent;
  border: none;
  color: #cccccc;
  font-size: clamp(16px, 1.04vw, 20px);
  font-weight: 700;
  font-family: "Pretendard";
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.solution-nav button.active {
  color: #000;
}

/* 미션 섹션 s4 */
.s4 {
  min-height: 100vh;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 5.21vw, 100px) clamp(50px, 4.17vw, 80px);
}

.mission-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(30px, 2.08vw, 40px);
}

.mission-header {
  text-align: center;
  margin-bottom: clamp(50px, 3.125vw, 60px);
  margin-top: clamp(30px, 2.08vw, 40px);
}

.mission-header h2 {
  font-size: clamp(32px, 2.5vw, 48px);
  font-weight: 700;
  color: #000;
  line-height: 1.4;
  margin-bottom: clamp(12px, 0.78vw, 15px);
}

.mission-header p {
  font-size: clamp(14px, 0.94vw, 18px);
  font-weight: 300;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.4;
}

.mission-cards {
  display: flex;
  gap: clamp(20px, 1.56vw, 30px);
  justify-content: center;
  flex-wrap: wrap;
}

.mission-card {
  width: clamp(300px, 23.96vw, 460px);
  height: clamp(320px, 20.83vw, 400px);
  background: #000;
  border-radius: clamp(15px, 1.04vw, 20px);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.card-text {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: clamp(30px, 2.08vw, 40px);
  color: #fff;
}

.card-text h3 {
  font-size: clamp(26px, 1.875vw, 36px);
  font-weight: 600;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  transition: all 0.4s ease;
}

.card-text .card-desc {
  font-size: clamp(14px, 0.94vw, 18px);
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  margin-top: clamp(130px, 7.81vw, 150px);
}

.mission-card:hover .card-text h3 {
  transform: translate(-50%, -80px);
}

.mission-card:hover .card-text .card-desc {
  opacity: 1;
  transform: translateY(0);
}

.mission-card:hover .card-image img {
  opacity: 0.2;
  transition: opacity 0.4s ease;
}

/* 푸터 섹션 s5 */
.s5 {
  min-height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(200px, 10.42vw, 200px) 0 clamp(56px, 3.65vw, 70px) 0;
}

.footer-container {
  width: 92%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.footer-banner {
  width: calc(100% - 120px);
  height: clamp(300px, 20.83vw, 400px);
  background: #666;
  border-radius: clamp(15px, 1.04vw, 20px);
  margin: 0 60px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.footer-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.footer-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transform-origin: center center;
}

.footer-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 0 30px;
}

.footer-banner-text h2 {
  font-size: clamp(28px, 2.5vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.footer-divider {
  width: calc(100% - 120px);
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: clamp(120px, 6.25vw, 120px) 60px 0 60px;
}

.footer-info {
  width: calc(100% - 120px);
  margin: 0 60px;
  margin-top: clamp(50px, 2.6vw, 50px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: clamp(25px, 1.82vw, 35px);
}

.footer-logo {
  width: clamp(120px, 7.81vw, 150px);
  height: auto;
}

.footer-contact p {
  font-size: clamp(12px, 0.73vw, 14px);
  font-weight: 300;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}

.footer-contact p:first-child {
  font-size: clamp(14px, 0.83vw, 16px);
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-right {
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.footer-right p {
  font-size: clamp(12px, 0.73vw, 14px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* 맨 위로 버튼 */
.scroll-to-top {
  position: fixed;
  right: clamp(20px, 1.56vw, 30px);
  bottom: clamp(20px, 1.56vw, 30px);
  width: clamp(40px, 2.29vw, 44px);
  height: clamp(40px, 2.29vw, 44px);
  background: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 6px;
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: rgba(255, 255, 255, 0.7);
}

.scroll-to-top svg {
  width: clamp(20px, 1.25vw, 24px);
  height: clamp(20px, 1.25vw, 24px);
}

/* ========================================
   1919px 이하 ~ 1024px (노트북)
======================================== */
@media (max-width: 1919px) and (min-width: 1024px) {
  .header-nav {
    gap: clamp(40px, 5vw, 80px);
  }

  .header-nav a {
    font-size: clamp(14px, 1.1vw, 16px);
  }
}

/* ========================================
   세로 높이 800px 이하
======================================== */
@media (max-height: 800px) and (min-width: 1024px) {
  .s5 {
    min-height: 100vh;
    padding: 60px 0 60px 0;
  }

  .footer-container {
    padding-top: 50px;
  }

  .footer-banner {
    height: 250px;
  }

  .footer-divider {
    margin: 80px 60px 0 60px;
  }

  .footer-info {
    margin-top: 35px;
  }
}

/* ========================================
   세로 높이 720px 이하 - 메인 배너 조정
======================================== */
@media (max-height: 720px) and (min-width: 1024px) {
  .main-content {
    padding-top: 120px;
  }

  .main-pagination {
    bottom: 100px;
  }

  /* 솔루션 섹션 */
  .s3 {
    padding: 50px 0 40px 0;
  }

  .solution-container {
    padding-top: 60px;
  }

  .solution-header {
    margin-top: 20px;
    margin-bottom: 25px;
  }

  .solution-cards-wrapper {
    height: 260px;
    margin-bottom: 20px;
  }

  .solution-card {
    height: 260px;
  }

  /* 미션 섹션 */
  .s4 {
    padding: 50px 40px;
  }

  .mission-container {
    padding-top: 50px;
  }

  .mission-header {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .mission-card {
    height: 300px;
  }

  /* 미션 카드 호버 간격 조정 */
  .mission-card .card-text .card-desc {
    margin-top: 80px;
  }

  .mission-card .card-text {
    padding-top: 60px;
    padding-bottom: 50px;
  }

  .footer-container {
    position: relative;
  }

  .footer-banner {
    height: 300px;
    position: relative;
    top: 30px;
  }
}

/* ========================================
   1024px~1199px - 작은 데스크탑 최적화
======================================== */
@media (min-width: 1024px) and (max-width: 1199px) {
  .main-content {
    padding-top: 180px;
  }

  .main-pagination {
    bottom: 150px;
  }

  .s3 {
    padding-top: 80px;
  }

  .solution-container {
    padding-top: 50px;
  }

  .solution-card.active {
    width: 700px;
  }

  .solution-card {
    width: 130px;
  }

  .s4 {
    padding-top: 80px;
  }

  .mission-container {
    padding-top: 40px;
  }

  .mission-header {
    margin-bottom: 30px;
  }

  .mission-cards {
    gap: 15px;
    justify-content: center;
  }

  .mission-card {
    width: 270px;
    height: 330px;
  }

  .mission-card .card-desc br {
    display: none;
  }

  .mission-card .card-desc {
    font-size: 14px;
    line-height: 1.6;
    word-break: keep-all;
    white-space: normal;
  }

  .mission-card .card-text h3 {
    font-size: 22px;
  }
}

/* ========================================
   768px ~ 1023px (태블릿/창모드)
======================================== */
@media (min-width: 768px) and (max-width: 1023.98px) {
  body {
    font-size: 15px;
  }

  /* ==================== 헤더 ==================== */
  .glass-header {
    width: 96% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .header-container {
    padding: 22px 30px !important;
  }

  .header-logo img {
    height: 24px;
  }

  /* 헤더 네비게이션 */
  .header-nav {
    position: fixed !important;
    top: 0 !important;
    right: -320px !important;
    left: auto !important;
    width: 320px !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
    padding: 120px 50px !important;
    margin: 0 !important;
    transition: right 0.4s ease !important;
    z-index: 9998 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  .header-nav.active {
    right: 0 !important;
  }

  .header-nav a {
    font-size: 20px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 10px 0 !important;
  }

  .header-nav a::after {
    background: #fff !important;
  }

  .glass-header.dark-mode .header-nav a {
    color: rgba(255, 255, 255, 0.8) !important;
  }

  /* 햄버거 버튼 */
  .hamburger {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 9999 !important;
    order: 2 !important;
    padding: 8px !important;
    margin-right: 0 !important;
  }

  .hamburger span {
    width: 24px !important;
    height: 2px !important;
    background: #fff !important;
    transition: all 0.3s ease !important;
    display: block !important;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px) !important;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0 !important;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px) !important;
  }

  .glass-header.dark-mode .hamburger span {
    background: #000 !important;
  }

  .nav-overlay {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.7) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.4s ease, visibility 0.4s ease !important;
    z-index: 9997 !important;
  }

  .nav-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* ==================== S1: 메인 배너 섹션 ==================== */
  .s1 {
    height: 100vh;
  }

  .main-content {
    width: 96% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
  }

  .main-subtitle {
    font-size: clamp(16px, 2.15vw, 22px);
  }

  .main-title {
    font-size: clamp(30px, 3.91vw, 40px);
  }

  .main-pagination {
    left: calc(2% + 30px) !important;
    bottom: 160px !important;
  }

  .main-pagination .current-page {
    font-size: clamp(18px, 2.15vw, 22px);
  }

  .main-pagination .total-page {
    font-size: clamp(15px, 1.76vw, 18px);
  }

  .main-pagination button {
    font-size: clamp(18px, 2.15vw, 22px);
  }

  /* ==================== S2: 트랜지션 섹션 ==================== */
  .s2 {
    min-height: 100vh;
  }

  .s2 .txt h2 {
    font-size: clamp(30px, 3.91vw, 40px);
  }

  .s2 .second .txtBx p {
    font-size: clamp(46px, 6.06vw, 62px);
  }

  .s2 .second .txtBx2 p {
    font-size: clamp(14px, 1.56vw, 16px);
  }

  .s2 .bottom .smallTxt {
    font-size: clamp(18px, 2.25vw, 23px);
  }

  /* ==================== S3: 솔루션 섹션 ==================== */
  .s3 {
    min-height: 100vh;
    padding: clamp(60px, 7.81vw, 80px) 0 clamp(50px, 6.51vw, 70px) 0;
  }

  .solution-container {
    padding: 0;
  }

  .solution-header {
    text-align: center;
    margin-bottom: clamp(30px, 3.91vw, 40px);
    margin-top: clamp(30px, 3.91vw, 40px);
  }

  .solution-header h2 {
    font-size: clamp(30px, 3.91vw, 40px);
  }

  .solution-header p {
    font-size: clamp(14px, 1.56vw, 16px);
  }

  .solution-cards-wrapper {
    height: clamp(240px, 27.34vw, 280px) !important;
    margin-bottom: clamp(20px, 2.44vw, 25px);
  }

  .solution-card {
    width: clamp(100px, 11.72vw, 120px) !important;
    height: clamp(240px, 27.34vw, 280px) !important;
  }

  .solution-card.active {
    width: clamp(550px, 68.36vw, 700px) !important;
  }

  .card-content h3 {
    font-size: clamp(22px, 2.54vw, 26px);
  }

  .card-content .card-subtitle {
    font-size: clamp(14px, 1.56vw, 16px);
  }

  .card-content .card-description {
    font-size: clamp(11px, 1.17vw, 12px);
  }

  .solution-nav {
    gap: clamp(15px, 1.95vw, 20px);
  }

  .solution-nav button {
    font-size: clamp(16px, 1.76vw, 18px);
  }

  /* ==================== S4: 미션 섹션 ==================== */
  .s4 {
    min-height: 100vh;
    padding: clamp(60px, 7.81vw, 80px) clamp(30px, 3.91vw, 40px);
  }

  .mission-container {
    padding: 0 clamp(20px, 2.6vw, 30px);
  }

  .mission-header {
    text-align: center;
    margin-bottom: clamp(40px, 4.88vw, 50px);
    margin-top: clamp(20px, 2.6vw, 30px);
  }

  .mission-header h2 {
    font-size: clamp(30px, 3.91vw, 40px);
  }

  .mission-header p {
    font-size: clamp(14px, 1.56vw, 16px);
  }

  /* 미션 카드 */
  .mission-cards {
    gap: clamp(8px, 1.46vw, 15px) !important;
  }

  .mission-card {
    width: clamp(210px, 25.39vw, 260px) !important;
    height: clamp(250px, 29.3vw, 300px) !important;
  }

  .mission-card .card-text h3 {
    font-size: clamp(22px, 2.54vw, 26px);
  }

  .mission-card .card-text .card-desc {
    font-size: clamp(14px, 1.56vw, 16px);
  }

  /* ==================== S5: 푸터 섹션 ==================== */
  .s5 {
    min-height: 100vh;
    padding: 120px 0 40px 0 !important;
  }

  .footer-container {
    width: 92%;
  }

  .footer-banner {
    width: calc(100% - 60px);
    height: clamp(250px, 29.3vw, 300px);
    margin: 0 30px;
    margin-top: 0 !important;
  }

  .footer-banner-text h2 {
    font-size: clamp(30px, 3.91vw, 40px);
  }

  .footer-divider {
    width: calc(100% - 60px);
    margin: 60px 30px 0 30px !important;
  }

  .footer-info {
    width: calc(100% - 60px);
    margin: 0 30px;
    margin-top: 30px !important;
    gap: 25px;
  }

  .footer-logo {
    width: clamp(100px, 11.72vw, 120px);
  }

  .footer-contact p {
    font-size: clamp(11px, 1.17vw, 12px);
  }

  .footer-contact p:first-child {
    font-size: clamp(13px, 1.46vw, 15px);
  }

  .footer-right p {
    font-size: clamp(11px, 1.17vw, 12px);
  }

  .scroll-to-top {
    right: clamp(15px, 1.95vw, 20px);
    bottom: clamp(15px, 1.95vw, 20px);
    width: clamp(36px, 4.3vw, 44px);
    height: clamp(36px, 4.3vw, 44px);
  }

  .scroll-to-top svg {
    width: clamp(18px, 2.15vw, 22px);
    height: clamp(18px, 2.15vw, 22px);
  }

  /* ==================== 세로 모드 전용 조정 ==================== */
  @media (min-width: 768px) and (max-width: 1023.98px) and (orientation: portrait) {
    .main-content {
      transform: translateY(120px) !important;
    }

    /* 솔루션 섹션 */
    .s3 {
      min-height: auto !important;
      padding: 50px 0 40px 0 !important;
    }

    .solution-header {
      margin-top: 20px !important;
      margin-bottom: 25px !important;
    }

    /* 미션 섹션 */
    .s4 {
      min-height: auto !important;
      padding: 50px 30px !important;
    }

    .mission-header {
      margin-top: 15px !important;
      margin-bottom: 30px !important;
    }

    /* 푸터 섹션 */
    .s5 {
      min-height: 70vh !important;
      padding: 80px 0 60px 0 !important;
    }

    .footer-banner {
      height: 280px !important;
    }

    .footer-divider {
      margin: 50px 30px 0 30px !important;
    }
  }
}

/* ========================================
   767px 이하 (모바일)
======================================== */
@media (max-width: 767.98px) {
  body {
    font-size: clamp(13px, 1.8vw, 14px);
    overflow-x: hidden;
  }

  .glass-header {
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
  }

  .header-container {
    padding: clamp(16px, 2.3vw, 18px) clamp(18px, 2.6vw, 20px) !important;
    border-radius: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .header-logo {
    order: 1;
    z-index: 10000;
    padding-left: clamp(14px, 2.1vw, 16px) !important;
  }

  .header-logo img {
    height: clamp(18px, 2.9vw, 22px);
  }

  .hamburger {
    display: flex !important;
    flex-direction: column !important;
    gap: clamp(5px, 0.8vw, 6px) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 9999 !important;
    order: 2 !important;
    padding: clamp(12px, 2.1vw, 16px) !important;
    margin-right: 0 !important;
  }

  .hamburger span {
    width: clamp(20px, 3.1vw, 24px) !important;
    height: 2px !important;
    background: #fff !important;
    transition: all 0.3s ease !important;
    display: block !important;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px) !important;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0 !important;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px) !important;
  }

  .glass-header.dark-mode .hamburger span {
    background: #000 !important;
  }

  .header-nav {
    position: fixed !important;
    top: 0 !important;
    right: -320px !important;
    left: auto !important;
    width: 320px !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: clamp(28px, 4.6vw, 35px) !important;
    padding: clamp(70px, 10.4vw, 80px) clamp(35px, 5.2vw, 40px) !important;
    margin: 0 !important;
    transition: right 0.4s ease !important;
    z-index: 9998 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  .header-nav.active {
    right: 0 !important;
  }

  .header-nav a {
    font-size: clamp(18px, 2.6vw, 20px) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: clamp(8px, 1.3vw, 10px) 0 !important;
  }

  .header-nav a::after {
    background: #fff !important;
  }

  /* 오버레이 */
  .nav-overlay {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.7) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.4s ease, visibility 0.4s ease !important;
    z-index: 9997 !important;
  }

  .nav-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* ==================== S1: 메인 배너 섹션 ==================== */
  .s1 {
    height: 100vh;
    overflow: hidden !important;
  }
  
  /* 🔥 기본 설정 (모든 배경 이미지/비디오) 🔥 */
  .s1 .main-bg-video,
  .s1 .main-bg-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: none !important;
  }

  /* 🔥 1번째 슬라이드 🔥 */
  .main-slide:nth-child(1) .main-bg-image,
  .main-slide:nth-child(1) .main-bg-video {
    object-position: 60% center !important;  /* 오른쪽 더 보임 */
  }

  /* 🔥 2번째 슬라이드 - 원하는 값으로 변경하세요 🔥 */
  .main-slide:nth-child(2) .main-bg-image,
  .main-slide:nth-child(2) .main-bg-video {
    object-position: 62% center !important;  /* 중앙 정렬 (예시) */
  }

  /* 🔥 3번째 슬라이드 - 원하는 값으로 변경하세요 🔥 */
  .main-slide:nth-child(3) .main-bg-image,
  .main-slide:nth-child(3) .main-bg-video {
    object-position: 74% center !important;  /* 왼쪽 더 보임 (예시) */
  }

  .main-content {
    width: 100% !important;
    padding-left: calc(clamp(18px, 2.6vw, 20px) + clamp(14px, 2.1vw, 16px)) !important;
    padding-right: calc(clamp(18px, 2.6vw, 20px) + clamp(14px, 2.1vw, 16px)) !important;
    padding-top: clamp(350px, 65vw, 500px) !important;
  }

  .main-content {
    width: 100% !important;
    padding-left: calc(
      clamp(18px, 2.6vw, 20px) + clamp(14px, 2.1vw, 16px)
    ) !important;
    padding-right: calc(
      clamp(18px, 2.6vw, 20px) + clamp(14px, 2.1vw, 16px)
    ) !important;
    padding-top: clamp(350px, 65vw, 500px) !important;
  }

  .main-subtitle {
    font-size: clamp(14px, 2.6vw, 20px) !important;
    margin-bottom: clamp(10px, 1.6vw, 12px) !important;
    gap: clamp(8px, 1.3vw, 10px) !important;
  }

  .main-title {
    font-size: clamp(20px, 3.8vw, 30px) !important;
    line-height: 1.4 !important;
    margin-bottom: clamp(14px, 2.3vw, 18px) !important;
  }

  .main-pagination {
    left: calc(clamp(18px, 2.6vw, 20px) + clamp(14px, 2.1vw, 16px)) !important;
    bottom: clamp(100px, 17vw, 130px) !important;
    gap: clamp(6px, 1vw, 8px) !important;
  }

  .main-pagination .current-page {
    font-size: clamp(15px, 2.3vw, 18px) !important;
  }

  .page-divider-container {
    width: clamp(50px, 7.8vw, 60px) !important;
  }

  .main-pagination .total-page {
    font-size: clamp(15px, 2.3vw, 18px) !important;
  }

  .main-pagination button {
    font-size: clamp(15px, 2.3vw, 18px) !important;
    padding: clamp(4px, 0.7vw, 5px) clamp(6px, 1vw, 8px) !important;
  }

  /* ==================== S2: 트랜지션 섹션 ==================== */
  .s2 {
    min-height: 100vh !important;
  }

  .s2 .txt h2 {
    font-size: clamp(20px, 3.8vw, 32px) !important;
    padding: 0 clamp(16px, 2.6vw, 20px) !important;
  }

  .s2 .bottom .imgBx {
    border-radius: clamp(12px, 2.1vw, 16px);
  }

  .s2 .bottom .smallTxt {
    font-size: clamp(16px, 2.6vw, 20px) !important;
  }

  .s2 .second .txtBx p {
    font-size: clamp(30px, 5.5vw, 42px) !important;
    padding: 0 clamp(16px, 2.6vw, 20px) !important;
  }

  .s2 .second .txtBx2 p {
    font-size: clamp(12px, 2vw, 15px) !important;
    padding: 0 clamp(20px, 3.3vw, 25px) !important;
    line-height: 1.6 !important;
  }

  /* 클라이언트 로고 슬라이더 */
  .s2 .second .clients-slider {
    bottom: clamp(20px, 3.3vw, 25px) !important;
  }

  .s2 .second .clients-slider::before,
  .s2 .second .clients-slider::after {
    width: clamp(60px, 10.4vw, 80px) !important;
  }

  .s2 .second .client-logo {
    width: clamp(80px, 13vw, 100px) !important;
    height: clamp(32px, 5.2vw, 40px) !important;
  }

  /* ==================== S3: 솔루션 섹션 (아코디언) ==================== */
  .s3 {
    min-height: auto !important;
    padding: clamp(40px, 6.5vw, 50px) 0 clamp(40px, 6.5vw, 50px) 0 !important;
    margin-top: clamp(40px, 6.5vw, 50px) !important;
  }

  .solution-container {
    padding: 0 clamp(24px, 4.7vw, 36px) !important;
  }

  .solution-header {
    margin-top: clamp(16px, 2.6vw, 20px) !important;
    margin-bottom: clamp(20px, 3.3vw, 25px) !important;
  }

  .solution-header h2 {
    font-size: clamp(20px, 3.8vw, 28px) !important;
    margin-bottom: clamp(8px, 1.3vw, 10px) !important;
  }

  .solution-header p {
    font-size: clamp(12px, 2vw, 15px) !important;
  }

  /* 세로 아코디언 레이아웃 */
  .solution-cards-wrapper {
    height: auto !important;
    flex-direction: column !important;
  }

  .solution-cards {
    flex-direction: column !important;
    gap: clamp(12px, 2vw, 15px) !important;
    width: 100% !important;
    transform: none !important;
    margin-top: clamp(16px, 2.6vw, 20px) !important;
  }

  .solution-card {
    width: 100% !important;
    height: clamp(110px, 18.2vw, 140px) !important;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: clamp(10px, 1.6vw, 12px) !important;
  }

  .solution-card.expanded {
    height: clamp(170px, 26vw, 200px) !important;
  }

  .card-bg img {
    object-position: center !important;
  }

  .card-content {
    padding: clamp(16px, 2.6vw, 20px) !important;
    opacity: 1 !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  .card-content h3 {
    font-size: clamp(17px, 2.9vw, 22px) !important;
    margin-bottom: clamp(5px, 0.8vw, 6px) !important;
  }

  .card-content .card-subtitle {
    font-size: clamp(13px, 2.1vw, 16px) !important;
    margin-bottom: 0 !important;
  }

  .card-content .card-description {
    font-size: clamp(12px, 1.8vw, 14px) !important;
    line-height: 1.5 !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    transition: opacity 0.4s ease, height 0.4s ease, margin-top 0.4s ease !important;
  }

  .card-content .card-description br {
    display: none !important;
  }

  .solution-card.expanded .card-content h3 {
    font-size: clamp(17px, 2.6vw, 20px) !important;
    margin-bottom: clamp(6px, 1vw, 8px) !important;
  }

  .solution-card.expanded .card-content .card-subtitle {
    font-size: clamp(12px, 1.8vw, 14px) !important;
    margin-bottom: clamp(12px, 2vw, 15px) !important;
  }

  .solution-card.expanded .card-content .card-description {
    opacity: 1 !important;
    height: auto !important;
    margin-top: 0 !important;
  }

  /* 네비게이션 숨김 */
  .solution-nav {
    display: none !important;
  }

  /* ==================== S4: 미션 섹션 ==================== */
  .s4 {
    min-height: auto !important;
    padding: clamp(40px, 6.5vw, 50px) 0 !important;
    overflow: visible !important;
    width: 100% !important;
    margin-bottom: clamp(80px, 13vw, 100px) !important;
  }

  .mission-container {
    padding: 0 clamp(24px, 4.7vw, 36px) !important;
    overflow: visible !important;
    width: 100% !important;
  }

  .mission-header {
    margin-top: clamp(12px, 2vw, 15px) !important;
    margin-bottom: clamp(20px, 3.3vw, 25px) !important;
    padding: 0 !important;
  }

  .mission-header h2 {
    font-size: clamp(20px, 3.8vw, 28px) !important;
    margin-bottom: clamp(8px, 1.3vw, 10px) !important;
  }

  .mission-header p {
    font-size: clamp(12px, 2vw, 15px) !important;
  }

  .mission-cards {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: clamp(8px, 1.6vw, 12px) !important;
    padding: 0 !important;
    padding-top: clamp(16px, 2.6vw, 20px) !important;
    overflow: visible !important;
  }

  .mission-cards::-webkit-scrollbar {
    display: none !important;
  }

  .mission-cards::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }

  .mission-cards::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
  }

  .mission-card {
    flex: 1 !important;
    max-width: calc(33.333% - 8px) !important;
    height: clamp(180px, 30vw, 230px) !important;
    pointer-events: none !important;
    cursor: default !important;
  }

  .mission-card .card-text {
    padding: clamp(18px, 3.3vw, 25px) !important;
  }

  .mission-card .card-text h3 {
    font-size: clamp(16px, 2.9vw, 22px) !important;
  }

  .mission-card .card-text .card-desc {
    font-size: clamp(11px, 1.7vw, 13px) !important;
    margin-top: clamp(80px, 13vw, 100px) !important;
  }

  /* 호버 효과 완전 비활성화 */
  .mission-card:hover .card-text h3 {
    transform: none !important;
  }

  .mission-card:hover .card-text .card-desc {
    opacity: 1 !important;
    transform: none !important;
  }

  .mission-card:hover .card-image img {
    opacity: 1 !important;
  }

  /* ==================== S5: 푸터 섹션 ==================== */
  .s5 {
    min-height: auto !important;
    padding: clamp(100px, 15.6vw, 120px) 0 clamp(50px, 7.8vw, 60px) 0 !important;
  }

  .footer-container {
    width: 90%;
  }

  .footer-banner {
    width: 100% !important;
    height: clamp(190px, 31.3vw, 240px) !important;
    margin: 0 !important;
    border-radius: clamp(10px, 1.6vw, 12px) !important;
    position: relative !important;
    top: clamp(-20px, -3.3vw, -25px) !important;
  }

  .footer-banner-text {
    padding: 0 clamp(16px, 2.6vw, 20px) !important;
  }

  .footer-banner-text h2 {
    font-size: clamp(18px, 3.4vw, 26px) !important;
    line-height: 1.4 !important;
  }

  .footer-divider {
    width: 100% !important;
    margin: clamp(50px, 7.8vw, 60px) 0 0 0 !important;
  }

  .footer-info {
    width: 100% !important;
    margin: 0 !important;
    margin-top: clamp(25px, 3.9vw, 30px) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: clamp(20px, 3.3vw, 25px) !important;
  }

  .footer-left {
    gap: clamp(16px, 2.6vw, 20px) !important;
  }

  .footer-logo {
    width: clamp(80px, 13vw, 100px) !important;
  }

  .footer-contact p {
    font-size: clamp(10px, 1.6vw, 12px) !important;
  }

  .footer-contact p:first-child {
    font-size: clamp(12px, 1.8vw, 14px) !important;
  }

  .footer-right {
    width: 100% !important;
  }

  .footer-right p {
    font-size: clamp(9px, 1.4vw, 11px) !important;
  }

  /* ==================== 맨 위로 버튼 ==================== */
  .scroll-to-top {
    right: clamp(12px, 2vw, 15px) !important;
    bottom: clamp(12px, 2vw, 15px) !important;
    width: clamp(35px, 5.2vw, 40px) !important;
    height: clamp(35px, 5.2vw, 40px) !important;
  }

  .scroll-to-top svg {
    width: clamp(16px, 2.6vw, 20px) !important;
    height: clamp(16px, 2.6vw, 20px) !important;
  }
}

/* ========================================
   412px 이상 ~ 767px 이하 (대형 모바일)
======================================== */
@media (min-width: 412px) and (max-width: 767.98px) {
  .main-content {
    padding-top: clamp(420px, 75vw, 560px) !important;
  }
}

/* ========================================
   360px 이하 (소형 모바일)
======================================== */
@media (max-width: 360px) {
  .solution-header h2 {
    font-size: clamp(18px, 3.5vw, 26px) !important;
  }

  .solution-header p {
    font-size: clamp(11px, 1.9vw, 14px) !important;
  }

  .mission-header h2 {
    font-size: clamp(18px, 3.5vw, 26px) !important;
  }

  .mission-header p {
    font-size: clamp(11px, 1.9vw, 14px) !important;
  }

  .footer-banner-text h2 {
    font-size: clamp(16px, 3.2vw, 22px) !important;
  }
}