/* ========================================
   GRACEB - Main Stylesheet
   Version: 20260117b
   ======================================== */

/* ==================== Fonts ==================== */
@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2")
    format("woff2");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2")
    format("woff2");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2")
    format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2")
    format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2")
    format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2")
    format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2")
    format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2")
    format("woff2");
  font-weight: 900;
  font-display: swap;
}

/* ==================== CSS Variables ==================== */
:root {
  /* Colors - 추후 브랜드 가이드에 맞춰 변경 가능 */
  --color-primary: #1a1a1a;
  --color-secondary: #666666;
  --color-accent: #a08060;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-light: #f5f5f5;
  --color-gray: #e5e5e5;
  --color-gray-dark: #333333;
  --color-text: #222222;
  --color-text-light: #666666;
  --color-border: #dddddd;

  /* Typography */
  --font-primary: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-secondary: "minion-3", serif;
  --font-english: "minion-3", serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --spacing-xxl: 8rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: 0.5s cubic-bezier(0, 0.5, 0.5, 1);

  /* Layout */
  --header-height: 180px;
  --container-max: 1400px;
  --container-padding: 2rem;

  /* Z-index */
  --z-header: 1000;
  --z-modal: 2000;
  --z-tooltip: 3000;
}

/* ==================== Reset & Base ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* Scroll margin for anchor links */
[id] {
  scroll-margin-top: 100px;
}

/* ==================== Utility Classes ==================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--spacing-xxl) 0;
}

.section--gray {
  background-color: var(--color-gray-light);
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section__header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section__subtitle {
  display: block;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-sm);
}

.section__title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
}

.section__desc {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-top: var(--spacing-sm);
}

.section__title--brand {
  display: flex;
  justify-content: center;
}

.brand__title-logo {
  height: 80px;
  width: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--transition-normal);
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
}

.btn--primary:hover {
  background-color: transparent;
  color: var(--color-primary);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn--full {
  width: 100%;
}

/* Placeholder Images - 추후 실제 이미지로 교체 예정 */
.placeholder-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
  color: #888;
  font-size: 0.875rem;
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.placeholder-image--about {
  width: 100%;
  height: 400px;
}

.placeholder-image--product {
  width: 100%;
  height: 350px;
}

.placeholder-image--facility {
  width: 100%;
  height: 100%;
  min-height: 200px;
}

.placeholder-image--map {
  width: 100%;
  height: 400px;
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: var(--z-header);
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: all var(--transition-normal);
}

.header:not(.header--scrolled):hover {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header--scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header--scrolled .header__link {
  color: var(--color-text);
}

.header--scrolled .header__hamburger span {
  background-color: var(--color-text);
}

/* 스크롤 시 레이아웃 변경: 로고 좌측 + 메뉴 우측 */
.header--scrolled .header__inner {
  flex-direction: row;
  justify-content: space-between;
  gap: 0;
  padding: 0 var(--container-padding);
}

.header--scrolled .header__nav {
  position: static;
}

.header--scrolled .header__menu {
  gap: 0;
}

.header--scrolled .header__menu-item {
  padding: 0 1rem;
}

.header--scrolled .header__link {
  font-size: 0.9rem;
}

.header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  padding-top: 1rem;
  gap: 0;
  position: relative;
  transition: all var(--transition-normal);
}

.header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  margin-bottom: auto;
  margin-top: 2rem;
}

.header__logo-img {
  height: 40px;
  width: auto;
  transition: all var(--transition-normal);
}

/* 기본 상태: 흰색 로고 표시, 검은색 로고 숨김 */
.header__logo-img--white {
  display: block;
}

.header__logo-img--black {
  display: none;
}

/* 스크롤 시: 검은색 로고 표시, 흰색 로고 숨김 */
.header--scrolled .header__logo-img--white {
  display: none;
}

.header--scrolled .header__logo-img--black {
  display: block;
}

.header--scrolled .header__logo-img {
  height: 32px;
}

.header--scrolled .header__logo {
  margin-top: 0;
  margin-bottom: 0;
}

.header__nav {
  display: flex;
  justify-content: center;
  transition: all var(--transition-normal);
  margin: 0;
  padding: 0;
}

.header__menu {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__menu-item {
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  height: 65px;
  position: static;
}

.header__menu-item--has-dropdown {
  position: relative;
}

.header__menu-item--has-dropdown::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--color-white);
  transition: width var(--transition-normal);
}

.header__menu-item--has-dropdown:hover::after {
  width: calc(100% - 2.5rem);
}

.header--scrolled .header__menu-item--has-dropdown::after {
  background-color: var(--color-primary);
}

.header--scrolled .header__menu-item {
  height: 70px;
}

.header__link {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-normal);
  letter-spacing: 0.02em;
}

.header--scrolled .header__link {
  color: var(--color-text-light);
}

.header__menu-item:hover .header__link {
  color: var(--color-white);
}

.header--scrolled .header__menu-item:hover .header__link {
  color: var(--color-text);
}

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 30px;
  position: absolute;
  right: var(--container-padding);
  top: 50%;
  transform: translateY(-50%);
  z-index: calc(var(--z-header) + 1);
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  transition: all var(--transition-normal);
}

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

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* Store Link */
.header__store-link {
  position: absolute;
  right: var(--container-padding);
  top: 35px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--transition-normal);
  z-index: 10;
}

.header__store-link:hover {
  color: var(--color-white);
}

.header__store-icon {
  width: 14px;
  height: 14px;
  opacity: 0.8;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition-fast);
}

.header__store-link:hover .header__store-icon {
  opacity: 1;
}

/* Hide store link when scrolled */
.header--scrolled .header__store-link {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ==================== HEADER DROPDOWN ==================== */
.header__dropdown {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal),
    visibility var(--transition-normal);
  z-index: calc(var(--z-header) - 1);
}

.header--scrolled .header__dropdown {
  top: 70px;
}

.header__menu-item--has-dropdown.dropdown-active .header__dropdown {
  opacity: 1;
  visibility: visible;
}

.header__dropdown-inner {
  display: flex;
  width: 100%;
  min-height: 320px;
}

.header__dropdown-left {
  flex: 1;
  background-color: #f5f5f5;
  padding: var(--spacing-md) var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: var(--spacing-md);
  padding-left: calc((100vw - var(--container-max)) / 2 + var(--spacing-xl));
}

.header__dropdown-title {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.header__dropdown-desc {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.header__dropdown-right {
  flex: 3;
  background-color: #ffffff;
  padding: var(--spacing-md) var(--spacing-xl);
  display: flex;
  align-items: flex-start;
  padding-top: var(--spacing-md);
  gap: var(--spacing-xl);
  padding-right: calc((100vw - var(--container-max)) / 2 + var(--spacing-xl));
}

.header__dropdown-link {
  display: flex;
  flex-direction: column;
  font-family: var(--font-primary);
  color: var(--color-text);
  position: relative;
  padding: var(--spacing-sm) 0;
  transition: color var(--transition-fast);
}

.header__dropdown-link-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.header__dropdown-link-sub {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin-top: 0.25rem;
  transition: color var(--transition-fast);
}

.header__dropdown-link:hover .header__dropdown-link-title {
  color: var(--color-accent);
}

.header__dropdown-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-normal);
}

.header__dropdown-link:hover::after {
  width: 100%;
}

/* Products dropdown - 3 column layout */
.header__dropdown-right--products {
  display: flex;
  gap: var(--spacing-xl);
  flex: 3;
}

/* Portfolio dropdown - 2 column layout */
.header__dropdown-right--portfolio {
  display: flex;
  gap: var(--spacing-xl);
  flex: 2;
}

/* About dropdown - 3 column layout */
.header__dropdown-right--about {
  display: flex;
  gap: var(--spacing-xl);
  flex: 2;
}

.header__dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.header__dropdown-group-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-gray);
}

.header__dropdown-group .header__dropdown-link {
  padding: 0.25rem 0;
}

.header__dropdown-group .header__dropdown-link::after {
  display: none;
}

.header__dropdown-group .header__dropdown-link-title {
  font-size: 0.875rem;
  font-weight: 400;
}

/* Scrolled state dropdown adjustment */
.header--scrolled .header__dropdown {
  top: 70px;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Hero Slider */
.hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__slide--active {
  opacity: 1;
}

.hero__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Navigation */
.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 10;
}

.hero__nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero__nav svg {
  width: 24px;
  height: 24px;
}

.hero__nav--prev {
  left: 30px;
}

.hero__nav--next {
  right: 30px;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero__content {
  position: relative;
  text-align: center;
  color: var(--color-white);
  padding: 0 var(--container-padding);
  padding-top: 130px;
  max-width: 900px;
}

.hero__logo {
  display: block;
  height: 60px;
  width: auto;
  margin: 0 auto var(--spacing-md);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero__title {
  font-family: var(--font-secondary);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: var(--spacing-md);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
  transition: opacity 0.5s ease;
}

.hero__title.fade-transition,
.hero__description.fade-transition {
  animation: none;
  transform: none;
}

.hero__description {
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: 0.025em;
  margin-bottom: var(--spacing-lg);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
  transition: opacity 0.5s ease;
}

.hero__cta {
  display: inline-block;
  padding: 1rem 3rem;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  border: 1px solid var(--color-white);
  transition: all var(--transition-normal);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.hero__cta:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Scroll Down Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.2s;
  cursor: default;
  pointer-events: none;
}

.hero__scroll-arrow {
  width: 24px;
  height: 24px;
  animation: bounceArrow 1.5s ease-in-out infinite;
}

.hero__scroll-arrow svg {
  width: 100%;
  height: 100%;
  stroke: rgba(255, 255, 255, 0.7);
}

@keyframes bounceArrow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.2s;
}

.hero__scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 13px;
  position: relative;
}

.hero__scroll-wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

.hero__scroll-text {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Desktop: show scroll, hide swipe */
.hero__scroll--desktop {
  display: flex;
}

.hero__scroll--mobile {
  display: none;
}

/* Swipe indicator styles */
.hero__swipe {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__swipe-hand {
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.6);
  animation: swipeHand 2s ease-in-out infinite;
}

.hero__swipe-arrows {
  display: flex;
  gap: 4px;
}

.hero__swipe-arrow {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

.hero__swipe-arrow--left {
  animation: swipeArrowLeft 2s ease-in-out infinite;
}

.hero__swipe-arrow--right {
  animation: swipeArrowRight 2s ease-in-out infinite;
}

@keyframes swipeHand {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-8px);
  }
  75% {
    transform: translateX(8px);
  }
}

@keyframes swipeArrowLeft {
  0%,
  100% {
    opacity: 0.4;
    transform: translateX(0);
  }
  25% {
    opacity: 1;
    transform: translateX(-4px);
  }
  50%,
  75% {
    opacity: 0.4;
    transform: translateX(0);
  }
}

@keyframes swipeArrowRight {
  0%,
  50% {
    opacity: 0.4;
    transform: translateX(0);
  }
  75% {
    opacity: 1;
    transform: translateX(4px);
  }
  100% {
    opacity: 0.4;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes scrollWheel {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(10px);
  }
}

/* ==================== ABOUT ==================== */
.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.about__image {
  overflow: hidden;
  background-color: transparent;
}

.about__image img,
.about__image .placeholder-image {
  transition: transform var(--transition-slow);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__image:hover img,
.about__image:hover .placeholder-image {
  transform: scale(1.05);
}

.about__heading {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.about__heading-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.03em;
}

.about__description {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.about__stats {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-gray);
}

.about__stat {
  text-align: center;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-width: 120px;
  max-width: 200px;
}

.about__stat-number {
  flex: 1;
  font-family: "Pretendard", var(--font-primary);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-primary);
}

.about__stat-number--korean {
  font-size: 1.25rem;
  line-height: 1.3;
}

.about__stat-label {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: auto;
  padding-top: 0.5rem;
}

.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.value-card {
  background-color: var(--color-white);
  padding: var(--spacing-lg);
  text-align: center;
  border: 1px solid var(--color-gray);
  transition: all var(--transition-normal);
}

.value-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.value-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-md);
  color: var(--color-accent);
}

.value-card__icon svg {
  width: 100%;
  height: 100%;
}

.value-card__title {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.value-card__description {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ==================== BRAND ==================== */
.brand-section {
  position: relative;
  padding: 4rem 0;
  min-height: auto;
  overflow: hidden;
}

.brand__wrapper {
  position: relative;
  width: 2400px;
  height: 702px;
  left: 50%;
  transform: translateX(-50%);
}

/* 브랜드 이미지들 - 슬라이더와 2/3 겹침 */
.brand__left {
  position: absolute;
  left: 33%;
  top: 85px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.brand-left__image,
.brand-left__logo,
.brand-left__guideline,
.brand-left__stamp {
  display: block;
  line-height: 0;
}

.brand__left img {
  display: block;
}

.brand-left__image {
  max-width: 130px;
  margin-bottom: 2.9rem;
}

.brand-left__logo {
  max-width: 290px;
}

.brand-left__description {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin: 2.9rem 0 4rem 0;
}

.brand-left__guideline {
  max-width: 160px;
  margin-bottom: 4rem;
}

.brand-left__stamp {
  max-width: 165px;
  margin-top: 0;
  animation: spin-slow 40s linear infinite;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.brand__content {
  position: relative;
  min-height: calc(100vh - 300px);
}

.brand__info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand__logo {
  margin-bottom: var(--spacing-md);
  display: flex;
  justify-content: center;
}

.brand__logo-img {
  height: 28px;
  width: auto;
}

.brand__slogan {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.brand__description {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
}

.brand__slider {
  position: absolute;
  left: 35%;
  top: 50%;
  transform: translateY(-50%);
  width: 80%;
  height: auto;
}

.brand__slider .brand-swiper {
  height: 100%;
  padding-bottom: 0;
}

.brand__slider .swiper-wrapper {
  height: 100%;
}

.brand__slider .swiper-slide {
  width: 1248px;
  height: 702px;
}

.brand__slider .product-card {
  width: 1248px;
  height: 702px;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}

.brand__slider .product-card img {
  width: 1248px;
  height: 702px;
  display: block;
}

.brand-swiper {
  padding-bottom: 0;
}

.product-card {
  overflow: hidden;
  background-color: transparent;
  line-height: 0;
  font-size: 0;
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.product-card .placeholder-image {
  transition: transform var(--transition-slow);
}

/* Swiper Customization */
.swiper-button-prev,
.swiper-button-next {
  color: var(--color-primary);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transition: all var(--transition-normal);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.25rem;
  font-weight: 300;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--color-gray);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

/* ==================== MANUFACTURING ==================== */
.manufacturing__description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
  text-align: left;
}

.manufacturing__gallery {
  margin-bottom: var(--spacing-xl);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 200px);
  gap: var(--spacing-sm);
}

.gallery-item {
  overflow: hidden;
  position: relative;
}

.gallery-item--large {
  grid-row: span 2;
}

.gallery-item img,
.gallery-item .placeholder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img,
.gallery-item:hover .placeholder-image {
  transform: scale(1.1);
}

.manufacturing__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.counter-card {
  text-align: center;
  padding: var(--spacing-lg);
  background-color: var(--color-gray-light);
}

.counter-card__number {
  font-family: var(--font-secondary);
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline;
}

.counter-card__suffix {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-accent);
}

.counter-card__label {
  display: block;
  margin-top: var(--spacing-sm);
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.manufacturing__services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.service-box {
  padding: var(--spacing-lg);
  background-color: var(--color-primary);
  color: var(--color-white);
  transition: all var(--transition-normal);
}

.service-box:hover {
  background-color: var(--color-gray-dark);
}

.service-box__title {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.service-box__description {
  font-size: 0.9375rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* ==================== QUALITY ==================== */
.quality .section__subtitle {
  color: var(--color-accent);
}

.quality__standards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  max-width: 1100px;
  margin: 0 auto;
}

.standard-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all var(--transition-normal);
}

.standard-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.standard-item__icon {
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.025em;
}

.standard-item__content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.standard-item__content p {
  font-size: 0.875rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* Corporate Standards (기업 납품) */
.corporate__standards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  max-width: 1100px;
  margin: 0 auto;
}

.corporate-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  transition: all var(--transition-normal);
}

.corporate-item:hover {
  background: rgba(0, 0, 0, 0.06);
}

.corporate-item__icon {
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.025em;
  text-align: center;
  padding: 0.25rem;
}

.corporate-item__content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.corporate-item__content h4 br + span,
.corporate-item__content h4 span {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.7;
  display: block;
  margin-top: 0.15rem;
}

.corporate-item__content p {
  font-size: 0.875rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* ==================== PORTFOLIO ==================== */

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.portfolio__item {
  background-color: var(--color-white);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.portfolio__item:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.portfolio__image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.portfolio__image img,
.portfolio__image .placeholder-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio__item:hover .portfolio__image img,
.portfolio__item:hover .portfolio__image .placeholder-image {
  transform: scale(1.05);
}

.placeholder-image--portfolio {
  height: 250px;
}

.portfolio__info {
  padding: var(--spacing-md);
}

.portfolio__category {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.portfolio__tag {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
}

.portfolio__category + .portfolio__tag {
  margin-bottom: var(--spacing-xs);
}

.portfolio__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--color-primary);
}

.portfolio__description {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.portfolio__item--placeholder {
  background-color: var(--color-background);
  border: 2px dashed var(--color-border);
}

.portfolio__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: var(--spacing-lg);
}

.portfolio__placeholder p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* ==================== CONTACT ==================== */
.contact__content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.contact__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-gray-light);
  color: var(--color-accent);
}

.contact__icon svg {
  width: 24px;
  height: 24px;
}

.contact__details h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact__details p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact__map {
  overflow: hidden;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__logo {
  display: flex;
  justify-content: center;
}

.footer__logo-img {
  height: 35px;
  width: auto;
}

.footer__tagline {
  margin-top: var(--spacing-xs);
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 400;
  opacity: 0.7;
}

.footer__links h4,
.footer__social h4 {
  display: none;
}

.footer__social,
.footer .footer__social,
.footer__content .footer__social,
div.footer__social {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.footer__social-links,
.footer .footer__social-links,
.footer__social .footer__social-links,
div.footer__social-links {
  display: flex !important;
  justify-content: center !important;
  gap: 1rem !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.footer__links ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.footer__links a {
  font-size: 0.8125rem;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.footer__links a:hover {
  opacity: 1;
}

.footer__social-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-normal);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: #ffffff !important;
}

.social-link:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary);
}

.social-link:hover svg {
  fill: var(--color-primary) !important;
}

.footer__bottom {
  padding-top: var(--spacing-md);
  text-align: center;
}

.footer__copyright {
  font-size: 0.875rem;
  opacity: 0.6;
}

/* ========== HISTORY TIMELINE ========== */
.page-section--dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.history-timeline {
  position: relative;
  max-width: 500px;
  padding-bottom: 3rem;
}

/* 왼쪽 타임라인: 왼쪽에 세로선 */
.history-timeline--left {
  margin-left: 8rem;
  margin-right: auto;
  padding-left: 3rem;
}

.history-timeline--left::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(139, 115, 85, 0.22) 0%,
    rgba(139, 115, 85, 0.48) 32%,
    rgba(139, 115, 85, 0.78) 72%,
    rgba(139, 115, 85, 0.92) 100%
  );
}

/* 오른쪽 타임라인: 오른쪽에 세로선 */
.history-timeline--right {
  margin-left: auto;
  margin-right: 8rem;
  padding-right: 3rem;
  padding-left: 0;
  padding-bottom: 0;
}

.history-timeline--right::before {
  content: "";
  position: absolute;
  right: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(139, 115, 85, 0.22) 0%,
    rgba(139, 115, 85, 0.48) 32%,
    rgba(139, 115, 85, 0.78) 72%,
    rgba(139, 115, 85, 0.92) 100%
  );
}

.history-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.history-item:last-child {
  padding-bottom: 0;
}

.history-item__year {
  position: absolute;
  top: 1.25rem;
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

/* 왼쪽 타임라인: 년도는 세로선 왼쪽에 */
.history-timeline--left .history-item__year {
  left: -8rem;
  text-align: right;
  width: 5rem;
}

/* 오른쪽 타임라인: 년도는 세로선 오른쪽에 */
.history-timeline--right .history-item__year {
  right: -8rem;
  left: auto;
  text-align: left;
  width: 5rem;
}

.history-item__content {
  padding: 0;
  padding-top: 0.25rem;
}

.history-item__content--grid {
  display: flex;
  flex-direction: column;
}

.history-item__content--grid .history-item__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.history-item__content--grid .history-item__row .history-item__event {
  padding: 0;
  border-bottom: none;
}

.history-item__content--grid .history-item__row .history-item__event:first-child {
  text-align: left;
}

.history-item__content--grid .history-item__row .history-item__event:last-child {
  text-align: right;
}

.history-item__content--grid .history-item__divider {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 0 1.5rem;
  transform: rotate(20deg);
  align-self: center;
}

.history-timeline--right .history-item__content {
  text-align: right;
}

.history-timeline--right .history-item__content--grid {
  text-align: left;
}

.history-item__event {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.history-timeline--left .history-item__event {
  align-items: flex-start;
}

.history-timeline--right .history-item__event {
  align-items: flex-end;
}


.history-item__company {
  font-weight: 600;
  color: var(--color-white);
  font-size: 1.25rem;
}

.history-item__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
}

.history-item__badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: rgba(139, 115, 85, 0.3);
  color: var(--color-primary);
  border-radius: 20px;
  margin-top: 0.375rem;
}

.history-item__badge--highlight {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.history-item__status-bar {
  display: block;
  width: 100%;
  max-width: 22rem;
  margin-top: 0.5rem;
  padding: 0.625rem 1rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

/* History Timeline Mobile */
@media (max-width: 768px) {
  .history-timeline {
    max-width: 100%;
  }

  .history-timeline--left,
  .history-timeline--right {
    padding-left: 2.5rem;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .history-timeline--left::before,
  .history-timeline--right::before {
    left: 6px;
    right: auto;
  }

  .history-item__year {
    position: static;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .history-timeline--left .history-item__year,
  .history-timeline--right .history-item__year {
    left: auto;
    right: auto;
    width: auto;
    text-align: left;
  }

  .history-timeline--right .history-item__content {
    text-align: left;
  }

  .history-timeline--right .history-item__event {
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .history-item__year {
    font-size: 1.25rem;
  }

  .history-item__company {
    font-size: 0.9375rem;
  }

  .history-item__desc {
    font-size: 0.8125rem;
  }

  .history-item__content--grid .history-item__row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .history-item__content--grid .history-item__divider {
    display: none;
  }

  .history-item__content--grid .history-item__row .history-item__event:last-child {
    text-align: left;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
}

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

.back-to-top:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ==================== RESPONSIVE ==================== */

/* Brand Section Responsive */
@media (max-width: 1800px) {
  .brand__wrapper {
    top: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    transform-origin: center center;
  }

  .brand-section {
    padding: 2rem 0;
    height: calc(702px * 0.85 + 4rem);
    min-height: unset;
  }
}

@media (max-width: 1500px) {
  .brand__wrapper {
    top: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    transform-origin: center center;
  }

  .brand-section {
    padding: 2rem 0;
    height: calc(702px * 0.7 + 4rem);
    min-height: unset;
  }
}

@media (max-width: 1200px) {
  .brand__wrapper {
    top: 50%;
    transform: translate(-50%, -50%) scale(0.55);
    transform-origin: center center;
  }

  .brand-section {
    padding: 2rem 0;
    height: calc(702px * 0.55 + 4rem);
    min-height: unset;
  }
}

@media (max-width: 900px) {
  .brand__wrapper {
    top: 50%;
    transform: translate(-50%, -50%) scale(0.45);
    transform-origin: center center;
  }

  .brand-section {
    padding: 2rem 0;
    height: calc(702px * 0.45 + 4rem);
    min-height: unset;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
  }

  .header__menu {
    gap: 2rem;
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .about__values {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .brand__info {
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
  }

  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .manufacturing__stats {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .contact__content {
    grid-template-columns: 1fr;
  }

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 80px;
    --container-padding: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
  }

  .header__inner {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    gap: 0;
  }

  .header__logo {
    margin: 0;
  }

  .header__logo-img {
    height: 30px;
  }

  /* 모바일에서 스크롤 시에도 중앙 정렬 유지 */
  .header--scrolled {
    height: 80px;
  }

  .header--scrolled .header__inner {
    justify-content: center;
  }

  .header--scrolled .header__logo {
    margin: 0;
  }

  .header--scrolled .header__logo-img {
    height: 26px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100% !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right var(--transition-normal);
  }

  .header--scrolled .header__nav {
    position: fixed;
    width: 100% !important;
    height: 100vh !important;
  }

  .header__nav.active {
    right: 0;
  }

  .header__menu {
    flex-direction: column;
    align-items: center;
    gap: 2rem !important;
    width: auto !important;
  }

  .header--scrolled .header__menu {
    gap: 2rem !important;
    width: auto !important;
  }

  .header__menu-item {
    padding: 0 !important;
    height: auto !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* 모바일에서 기본 밑줄 숨기기 */
  .header__menu-item--has-dropdown::after {
    display: none !important;
  }

  .header--scrolled .header__menu-item {
    padding: 0 !important;
    height: auto !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .header__link {
    font-size: 1.5rem !important;
    color: var(--color-white) !important;
  }

  .header--scrolled .header__link {
    font-size: 1.5rem !important;
    color: var(--color-white) !important;
  }

  .header__hamburger {
    display: flex;
  }

  .header--scrolled .header__hamburger.active span {
    background-color: var(--color-white);
  }

  /* Hide store link on mobile */
  .header__store-link {
    display: none;
  }

  /* Mobile dropdown - 심플 리스트 */
  .header__menu-item--has-dropdown .header__link {
    position: relative !important;
  }

  .header__menu-item--has-dropdown.mobile-open .header__link::after {
    content: "" !important;
    display: block !important;
    width: 50px !important;
    height: 1px !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    margin: 0.5rem auto 0 auto !important;
    position: static !important;
  }

  .header__dropdown {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    background: none !important;
    box-shadow: none !important;
    z-index: auto !important;
    min-height: auto !important;
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    transition: none !important;
    visibility: visible !important;
    display: block !important;
  }

  .header__menu-item--has-dropdown.mobile-open .header__dropdown {
    max-height: 500px !important;
    opacity: 1 !important;
    transition: max-height 0.3s ease, opacity 0.3s ease !important;
  }

  .header__dropdown-inner {
    display: block !important;
    min-height: auto !important;
    background: none !important;
    padding: 0.5rem 0 !important;
  }

  .header__dropdown-left {
    display: none !important;
  }

  .header__dropdown-right {
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
    padding: 0 !important;
    background: none !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .header__dropdown-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    gap: 0 !important;
  }

  .header__dropdown-group-title {
    display: none !important;
  }

  .header__dropdown-link {
    display: block !important;
    padding: 0.25rem 0 !important;
    background: none !important;
    width: auto !important;
  }

  .header__dropdown-link-title {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 400 !important;
  }

  .header__dropdown-link-sub,
  .header__dropdown-link::after {
    display: none !important;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__content {
    padding-top: 180px;
  }

  .hero__nav {
    display: none;
  }

  .hero__scroll--desktop {
    display: none;
  }

  .hero__scroll--mobile {
    display: flex;
  }

  .about__stats {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }

  .about__stat {
    text-align: center;
    align-items: center;
  }

  .about__values {
    grid-template-columns: 1fr;
  }

  .value-card {
    padding: var(--spacing-md);
  }

  .manufacturing__stats {
    grid-template-columns: 1fr;
  }

  .manufacturing__services {
    grid-template-columns: 1fr;
  }

  .quality__standards {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .standard-item {
    padding: var(--spacing-sm);
  }

  .corporate__standards {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .corporate-item {
    padding: var(--spacing-sm);
  }

  .corporate-item__icon {
    min-width: 50px;
    height: 50px;
    font-size: 0.7rem;
  }

  .standard-item__icon {
    min-width: 50px;
    height: 50px;
    font-size: 0.75rem;
  }

  .portfolio__grid {
    grid-template-columns: 1fr;
  }

  .footer__links ul {
    gap: 0.5rem 1rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }

  .hero__cta {
    padding: 0.875rem 2rem;
    font-size: 0.8125rem;
  }

  .btn {
    padding: 0.875rem 2rem;
    font-size: 0.8125rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 150px);
  }

  .gallery-item--large {
    grid-column: span 1;
  }
}

/* ========== CAFE24 OVERRIDE - MUST BE LAST ========== */
/* Footer Social Icons - Maximum Specificity */
html body footer.footer .footer__content .footer__social,
html body footer .footer__social,
html body .footer__social,
body .footer__social,
.footer__social {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 1 !important;
}

html body footer.footer .footer__content .footer__social .footer__social-links,
html body footer .footer__social-links,
html body .footer__social-links,
body .footer__social-links,
.footer__social-links {
  display: flex !important;
  justify-content: center !important;
  gap: 1rem !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
}

html
  body
  footer.footer
  .footer__content
  .footer__social
  .footer__social-links
  .social-link,
html body footer .social-link,
html body .social-link,
body .social-link,
.social-link,
a.social-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  visibility: visible !important;
  opacity: 1 !important;
  background-color: transparent !important;
}

html body .social-link svg,
body .social-link svg,
.social-link svg,
a.social-link svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  fill: #ffffff !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Product Card - Remove whitespace from &nbsp; */
html body .product-card,
body .product-card,
.product-card {
  overflow: hidden !important;
  background-color: transparent !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

html body .product-card img,
body .product-card img,
.product-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

/* About Image - Remove whitespace */
html body .about__image img,
body .about__image img,
.about__image img {
  display: block !important;
  object-fit: cover !important;
}

/* Footer Channels - Neutral class names to avoid ad blocker */
.footer-channels {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-channels h4 {
  display: none;
}

.channel-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.channel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.channel-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.channel-btn svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: #ffffff;
  transition: fill 0.3s ease;
}

.channel-btn:hover svg {
  fill: #ffffff;
}

/* ==================== PAGE STYLES ==================== */

/* Page Body - removes hero and sets up for subpages */
.page-body {
  padding-top: 0;
}

/* Page Hero */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.page-hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__background--dark {
  background-color: var(--color-primary);
}

.page-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.page-hero__content {
  text-align: center;
  color: var(--color-white);
  z-index: 1;
  padding-top: 80px;
}

.page-hero__subtitle {
  display: block;
  font-family: var(--font-english);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
  opacity: 0.9;
}

.page-hero__title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.page-hero__description {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 300;
  margin-top: var(--spacing-sm);
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.page-hero__description-sub {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 300;
  margin-top: var(--spacing-xs);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.page-hero__title-logo {
  height: 60px;
  width: auto;
  display: block;
  margin: 0 auto;
}

/* Page Section */
.page-section {
  padding: var(--spacing-xxl) 0;
}

.page-section--gray {
  background-color: var(--color-gray-light);
}

.page-section--dark {
  background-color: var(--color-primary);
}

/* About Page Specific */
.about__content--page {
  display: block;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  text-align: center;
}

.about__content--page .about__heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--spacing-md);
}

.about__content--page .about__description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.about__content--page .about__stats {
  justify-content: center;
  margin-top: var(--spacing-lg);
}

/* Brand Page Specific */
.brand__content--page {
  display: block;
  text-align: center;
}

.brand__content--page .brand__info {
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
}

.brand__content--page .brand__slider {
  max-width: 100%;
}

/* Quality Page - Dark Theme Adjustments */
.page-section--dark .quality__standards {
  max-width: 1000px;
  margin: 0 auto;
}

.page-section--dark .standard-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.page-section--dark .standard-item__icon {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.page-section--dark .standard-item__content h4 {
  color: var(--color-white);
}

.page-section--dark .standard-item__content p {
  color: rgba(255, 255, 255, 0.7);
}

/* Corporate Standards Dark Theme */
.page-section--dark .corporate__standards {
  max-width: 1100px;
  margin: 0 auto;
}

.page-section--dark .corporate-item {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-section--dark .corporate-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.page-section--dark .corporate-item__icon {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.page-section--dark .corporate-item__content h4 {
  color: var(--color-white);
}

.page-section--dark .corporate-item__content h4 span {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.4rem;
  opacity: 1;
}

.page-section--dark .corporate-item__content p {
  color: rgba(255, 255, 255, 0.7);
}

/* Section Gradient Transitions */
.section-gradient {
  height: 100px;
  width: 100%;
  pointer-events: none;
}

.section-gradient--top {
  background: linear-gradient(to bottom, var(--color-white) 0%, var(--color-primary) 100%);
}

.section-gradient--bottom {
  background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-white) 100%);
}

/* Simple Page Hero - smaller height for pages with content images */
.page-hero--simple {
  height: 60vh;
  min-height: 450px;
}

/* Responsive for Pages */
@media (max-width: 768px) {
  .page-hero {
    height: 40vh;
    min-height: 350px;
  }

  .page-hero__content {
    padding-top: 120px;
  }

  .page-hero--simple {
    height: 50vh;
    min-height: 400px;
  }

  .page-hero__title-logo {
    height: 40px;
  }

  .page-section {
    padding: var(--spacing-xl) 0;
  }
}

/* ==================== Portfolio Swiper ==================== */
.portfolio-swiper {
  width: 100%;
  height: 100%;
}

.portfolio-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Portfolio Swiper Navigation Buttons - 반투명 원형 */
.portfolio-swiper-prev,
.portfolio-swiper-next {
  top: 50%;
  margin-top: 0;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.9);
  transition: opacity var(--transition-fast), background var(--transition-fast),
    transform var(--transition-fast);
}

.portfolio-swiper-prev:hover,
.portfolio-swiper-next:hover {
  background: rgba(0, 0, 0, 0.6);
}

.portfolio-swiper-prev::after,
.portfolio-swiper-next::after {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
}

.portfolio-swiper-prev {
  left: 10px;
}

.portfolio-swiper-next {
  right: 10px;
}

.portfolio__image:hover .portfolio-swiper-prev,
.portfolio__image:hover .portfolio-swiper-next,
.portfolio__image:focus-within .portfolio-swiper-prev,
.portfolio__image:focus-within .portfolio-swiper-next {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.products-swiper-prev,
.products-swiper-next {
  top: 50%;
  margin-top: 0;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.9);
  transition: opacity var(--transition-fast), background var(--transition-fast),
    transform var(--transition-fast);
}

.products-swiper-prev:hover,
.products-swiper-next:hover {
  background: rgba(0, 0, 0, 0.42);
}

.products-swiper-prev::after,
.products-swiper-next::after {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-white);
}

.products-swiper-prev {
  left: 8px;
}

.products-swiper-next {
  right: 8px;
}

.products__image:hover .products-swiper-prev,
.products__image:hover .products-swiper-next,
.products__image:focus-within .products-swiper-prev,
.products__image:focus-within .products-swiper-next {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

/* Hide navigation on single slide */
.portfolio-swiper .swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

/* Responsive Portfolio Swiper */
@media (max-width: 768px) {
  .portfolio-swiper-prev,
  .portfolio-swiper-next {
    width: 30px;
    height: 30px;
  }

  .portfolio-swiper-prev::after,
  .portfolio-swiper-next::after {
    font-size: 12px;
  }

  .portfolio-swiper-prev {
    left: 8px;
  }

  .portfolio-swiper-next {
    right: 8px;
  }

  .products-swiper-prev,
  .products-swiper-next {
    width: 28px;
    height: 28px;
  }

  .products-swiper-prev::after,
  .products-swiper-next::after {
    font-size: 10px;
  }
}

/* ==================== Products Page - Square Grid ==================== */
/* Products Search */
.products__search {
  margin-bottom: var(--spacing-xl);
}

.products__search-label {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.products__search-box {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}

.products__search-icon {
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  color: var(--color-text-light);
  pointer-events: none;
}

.products__search-input {
  width: 100%;
  padding: 14px 48px;
  font-size: 1rem;
  font-family: var(--font-primary);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.products__search-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.products__search-input::placeholder {
  color: var(--color-text-light);
}

.products__search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.products__search-clear:hover {
  background: var(--color-border);
}

.products__search-clear svg {
  width: 16px;
  height: 16px;
  color: var(--color-text-light);
}

.products__search-result {
  text-align: center;
  margin-top: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--color-text-light);
  min-height: 1.5em;
}

/* Products container - 검색 시 높이 유지 */
.page-section .container:has(.products__search) {
  min-height: 80vh;
}

.search-hidden {
  display: none !important;
}

.products__section,
.portfolio__section {
  margin-bottom: var(--spacing-2xl);
  scroll-margin-top: 100px;
}

.products__section + .products__section {
  padding-top: 3rem;
}

.products__section:last-child,
.portfolio__section:last-child {
  margin-bottom: 0;
}

.portfolio__section-desc {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.products__section-header {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-primary);
}

.products__section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.products__item {
  background-color: var(--color-white);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.products__item:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.products__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.products-swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.products-swiper .swiper-wrapper {
  height: 100%;
}

.products-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
}

.products-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.products__item:hover .products__image img {
  transform: scale(1.05);
}

.products__info {
  padding: var(--spacing-md);
}

.products__tag {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
}

.products__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}

.products__title-en {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.products__description {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Products Grid Responsive */
@media (max-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products__section-title {
    font-size: 1.25rem;
  }

}

@media (max-width: 480px) {
  .products__grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== Guide Page - Process Grid ==================== */
.guide__section {
  margin-bottom: var(--spacing-3xl);
}

.guide__section:last-child {
  margin-bottom: 0;
}

/* Guide Hero - ODM/OEM Title Section */
.guide__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6rem;
  margin-bottom: 0.5rem;
  padding: 4rem 0;
}

.guide__hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.05;
  flex-shrink: 0;
}

.guide__hero-title span {
  display: block;
  font-weight: 600;
}

.guide__hero-title em {
  font-style: normal;
  color: var(--color-accent);
}

.guide__hero-desc {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  max-width: 500px;
  text-align: left;
}

/* Process Section Header */
.guide__process-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-primary);
}

.guide__process-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Process Section - Scale Responsive Wrapper */
.guide__process-section {
  position: relative;
  overflow: hidden;
}

.guide__process-grid {
  --card-width: 140px;
  --card-gap: var(--spacing-xl);
  --curve-extend: 36px;
  --grid-width: 800px;
  display: grid;
  grid-template-columns: repeat(4, var(--card-width));
  gap: var(--card-gap) var(--card-gap);
  padding: var(--spacing-lg) 0;
  justify-content: center;
  margin: 0 auto;
  max-width: var(--grid-width);
}

/* Process Item - Compact Card with Connector */
.guide__process-item {
  position: relative;
  text-align: center;
  padding: var(--spacing-md);
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

/* S-flow: Second row reversed order (5,6,7,8 becomes 8,7,6,5 visually) */
.guide__process-item:nth-child(5) { order: 8; }
.guide__process-item:nth-child(6) { order: 7; }
.guide__process-item:nth-child(7) { order: 6; }
.guide__process-item:nth-child(8) { order: 5; }

/* Connector Line between items (horizontal) - first row: right arrow */
.guide__process-item::after {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(-1 * var(--card-gap));
  width: var(--card-gap);
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--color-accent) 0 6px,
    transparent 6px 12px
  );
  transform: translateY(-50%);
  opacity: 0;
  will-change: background-position;
  transition: opacity 0.5s ease 0.3s;
}

/* Hide default arrow for all items */
.guide__process-item::before {
  display: none;
}

/* Second row: left arrow (reversed direction) */
.guide__process-item:nth-child(n+5)::after {
  right: auto;
  left: calc(-1 * var(--card-gap));
}

/* Hide connector on last item only */
.guide__process-item:last-child::after {
  display: none;
}

/* 4th item: no horizontal connector, curve handles it */
.guide__process-item:nth-child(4)::after {
  display: none;
}

/* 4th item: S-curve (vertical connector going down) */
.guide__process-item:nth-child(4)::before {
  display: block;
  content: '';
  position: absolute;
  top: 50%;
  right: -22px;
  width: 22px;
  height: calc(100% + var(--card-gap));
  border-radius: 0 12px 12px 0;
  background:
    repeating-linear-gradient(
      90deg,
      var(--color-accent) 0 6px,
      transparent 6px 12px
    ) left top / calc(100% - 10px) 2px repeat-x,
    repeating-linear-gradient(
      180deg,
      var(--color-accent) 0 6px,
      transparent 6px 12px
    ) right 0 top 10px / 2px calc(100% - 20px) repeat-y,
    repeating-linear-gradient(
      90deg,
      var(--color-accent) 0 6px,
      transparent 6px 12px
    ) left bottom / calc(100% - 10px) 2px repeat-x;
  overflow: hidden;
  opacity: 0;
  will-change: background-position;
  transition: opacity 0.5s ease 0.3s;
}

/* Active state - when in view */
.guide__process-item.active {
  opacity: 1;
  transform: translateY(0);
}

.guide__process-item.active::after,
.guide__process-item.active::before {
  opacity: 1;
}

.guide__process-item:not(:nth-child(4)).active::after {
  animation: guideFlowForward 2s linear infinite;
}

.guide__process-item:nth-child(n+5).active::after {
  animation-name: guideFlowReverse;
}

.guide__process-item:nth-child(4).active::before {
  animation: guideCurveDash 2s linear infinite;
}

/* Hover Effect - subtle lift */
.guide__process-item.active:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.guide__process-item--final {
  background: linear-gradient(180deg, #fff6ee 0%, #ffe7d2 100%);
  border: 1px solid rgba(221, 134, 58, 0.24);
  box-shadow: 0 8px 24px rgba(221, 134, 58, 0.12);
}

.guide__process-item--final .guide__process-step {
  color: #c86d1f;
}

.guide__process-item--final.active:hover {
  box-shadow: 0 12px 28px rgba(221, 134, 58, 0.18);
}

@keyframes guideFlowForward {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 12px 0;
  }
}

@keyframes guideFlowReverse {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -12px 0;
  }
}

@keyframes guideCurveDash {
  from {
    background-position: 0 0, 100% 10px, 0 100%;
  }
  to {
    background-position: 12px 0, 100% 22px, -12px 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide__process-item.active::after,
  .guide__process-item:nth-child(4).active::before {
    animation: none;
  }
}

/* Process Step Number */
.guide__process-step {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: var(--spacing-xs);
  display: block;
}

/* Process Icon */
.guide__process-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto var(--spacing-sm);
  background: linear-gradient(135deg, var(--color-primary), #2a2a2a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide__process-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-white);
  stroke-width: 1.5;
  fill: none;
}

/* Process Step Title */
.guide__process-title-item {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.3;
}

/* Process Step Description */
.guide__process-desc {
  font-size: 0.7rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Guide Section Divider */
.guide__divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-border) 50%,
    transparent 100%
  );
  margin: var(--spacing-3xl) 0;
}

/* Guide Responsive */
@media (max-width: 1024px) {
  .guide__process-item {
    width: 120px;
  }

  .guide__process-item::after {
    right: -14px;
    width: 20px;
  }

  .guide__process-item::before {
    right: -16px;
  }

  .guide__hero-title {
    font-size: 2.5rem;
  }

  .guide__hero-desc {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .guide__hero {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }

  .guide__process-grid {
    position: relative;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    transform-origin: center top;
  }

  .guide__process-section {
    height: calc(700px * 0.9);
  }

  .guide__hero-title {
    font-size: 2rem;
  }

  .guide__hero-desc {
    max-width: 100%;
  }
}

@media (max-width: 650px) {
  .guide__process-grid {
    transform: translateX(-50%) scale(0.75);
  }

  .guide__process-section {
    height: calc(700px * 0.75);
  }
}

@media (max-width: 550px) {
  .guide__process-grid {
    transform: translateX(-50%) scale(0.6);
  }

  .guide__process-section {
    height: calc(700px * 0.6);
  }
}

@media (max-width: 480px) {
  .guide__process-grid {
    transform: translateX(-50%) scale(0.5);
  }

  .guide__process-section {
    height: calc(700px * 0.5);
  }

  .guide__hero-title {
    font-size: 1.75rem;
  }
}

/* ==================== FAQ Accordion ==================== */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.faq__title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.faq__list {
  border-top: 1px solid var(--color-border);
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.faq__question:hover {
  color: var(--color-primary);
}

.faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: var(--spacing-md);
  transition: transform var(--transition-normal);
}

.faq__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-text-light);
  stroke-width: 2;
  fill: none;
}

.faq__item.active .faq__icon {
  transform: rotate(180deg);
}

.faq__item.active .faq__icon svg {
  stroke: var(--color-primary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal),
    padding var(--transition-normal);
}

.faq__item.active .faq__answer {
  max-height: 500px;
}

.faq__answer-content {
  padding: 0 0 var(--spacing-md) 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* FAQ Responsive */
@media (max-width: 768px) {
  .faq__question {
    font-size: 0.95rem;
    padding: var(--spacing-sm) 0;
  }

  .faq__answer-content {
    font-size: 0.9rem;
  }
}
