/* ============================================================
   아이즐 에어바운스 - 공통 스타일시트
   기존 사이트 컬러 컨셉(하늘파랑 + 주황) + 풍선 발랄 분위기
   파일 위치: /assets/css/style.css
   ============================================================ */

/* ===== 외부 폰트 ===== */
@import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');

/* ===== 0. 기본 리셋 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', 'Nanum Gothic', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  background: #f5fbfd;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* 히어로 메인 제목만 발랄 폰트(Jua), 그 외는 일반 한글 폰트(Pretendard) 사용 */
.hero h1 {
  font-family: 'Jua', 'Pretendard', 'Nanum Gothic', sans-serif;
}

:root {
  /* 메인 브랜드 컬러 (기존 사이트 그대로) */
  --blue: #45abd7;
  --blue-dark: #2d8ab8;
  --blue-soft: #6cbdde;
  --blue-pale: #e1ecf1;
  --blue-tint: #f0f5fb;

  --orange: #ff7122;
  --orange-dark: #d65a0e;
  --orange-soft: #ff8f4d;
  --orange-pale: #fff0e6;

  /* 로고 정체성용 4색 (카드 로테이션 / 푸터 무지개 띠 전용) */
  --red: #ED1C24;
  --yellow: #FFA800;
  --green: #00B050;
  --logo-blue: #2196F3;

  /* 시맨틱 */
  --primary: var(--blue);
  --primary-dark: var(--blue-dark);
  --accent: var(--orange);
  --accent-dark: var(--orange-dark);

  --text: #333;
  --text-muted: #787878;
  --bg: #f5fbfd;
  --bg-soft: #e1ecf1;

  --radius: 32px;
  --radius-lg: 44px;
  --radius-pill: 999px;

  --shadow-soft: 0 12px 28px rgba(45, 138, 184, 0.10);
  --shadow-pop: 0 20px 44px rgba(45, 138, 184, 0.18);
  --shadow-balloon-blue: 0 14px 30px rgba(69,171,215,0.32);
  --shadow-balloon-orange: 0 14px 30px rgba(255,113,34,0.35);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 1. 상단 헤더 ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: inline-block;
  line-height: 0;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
}
.main-nav a {
  font-size: 20px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active {
  color: var(--blue);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
  cursor: pointer;
  color: var(--blue);
}

/* ===== 2. 히어로 ===== */
.hero {
  background: #fff;
  min-height: calc(100vh - 80px);
  min-height: calc(100dvh - 80px);
  display: flex;
  align-items: center;
  padding: 60px 0 160px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero > .container {
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-text {
  text-align: center;
}
.hero-eyebrow {
  font-family: 'Pretendard', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* 히어로 메시지 — 차등 두 줄 디자인 */
.hero h1 {
  font-family: 'Jua', sans-serif;
  font-weight: 400;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.1;
}
.hero-h1-sub {
  display: block;
  font-size: 52px;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 6px;
  opacity: 0.85;
}
.hero-h1-main {
  display: block;
  font-size: 108px;
  color: var(--blue);
  letter-spacing: -2px;
}
.hero p {
  font-size: 19px;
  color: var(--blue-dark);
  margin-bottom: 36px;
  font-weight: 600;
  text-align: center;
}

/* 일러스트 위에 얹히는 로고 워터마크 */
.hero-watermark {
  position: absolute;
  left: 0;
  right: 0;
  top: 62%;
  transform: translateY(calc(-50% + 40px));
  z-index: 2;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.hero-watermark img {
  width: calc(50% - 20px);
  max-width: 830px;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(45,138,184,0.10));
  animation: watermark-pulse 5s ease-in-out infinite;
}
@keyframes watermark-pulse {
  0%, 100% {
    transform: scale(1) translateY(0);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.04) translateY(-6px);
    opacity: 1;
  }
}

/* 롤링 캐러셀 (두 이미지 자동 크로스페이드) */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 따로따로 움직이는 장식 (해/구름/풍선) */
.hero-decor {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-decor span {
  position: absolute;
  display: inline-block;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}

/* 좌상단 큰 구름 — 부드럽게 떠다님 */
.decor-sun {
  top: 8%;
  left: 6%;
  font-size: 72px;
  animation: sun-rotate 10s ease-in-out infinite;
}
@keyframes sun-rotate {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -10px); }
}

/* 구름 — 좌우 드리프트 (각각 다른 속도) */
.decor-cloud {
  font-size: 54px;
}
.decor-cloud-1 {
  top: 14%;
  left: 26%;
  animation: cloud-drift-1 14s ease-in-out infinite;
}
.decor-cloud-2 {
  top: 22%;
  right: 10%;
  font-size: 46px;
  animation: cloud-drift-2 18s ease-in-out infinite;
}
@keyframes cloud-drift-1 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(40px); }
}
@keyframes cloud-drift-2 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-50px); }
}

/* 풍선 — 위아래 + 살짝 회전 (각각 다른 리듬) */
.decor-balloon {
  font-size: 56px;
}
.decor-balloon-1 {
  top: 58%;
  left: 5%;
  animation: balloon-float-1 5s ease-in-out infinite;
}
.decor-balloon-2 {
  top: 64%;
  right: 6%;
  font-size: 64px;
  animation: balloon-float-2 6s ease-in-out infinite 1s;
}
@keyframes balloon-float-1 {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}
@keyframes balloon-float-2 {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50% { transform: translateY(-18px) rotate(-6deg); }
}

/* 떠다니는 풍선·구름·별 */
.hero-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-scene span {
  position: absolute;
  display: inline-block;
  filter: drop-shadow(0 8px 14px rgba(45,138,184,0.22));
  animation: float-soft 6s ease-in-out infinite;
}
.hero-scene .b1 { top: 14%; left: 8%;  font-size: 64px; animation-delay: 0s; }
.hero-scene .b2 { top: 22%; right: 9%; font-size: 72px; animation-delay: 1.2s; }
.hero-scene .b3 { top: 60%; left: 6%;  font-size: 52px; animation-delay: 2.4s; }
.hero-scene .b4 { top: 64%; right: 7%; font-size: 56px; animation-delay: 0.6s; }
.hero-scene .c1 { top: 10%; left: 28%; font-size: 56px; animation-delay: 1.8s; }
.hero-scene .c2 { top: 14%; right: 30%; font-size: 48px; animation-delay: 3s; }
.hero-scene .s1 { top: 30%; left: 20%; font-size: 38px; animation-delay: 0.9s; }
.hero-scene .s2 { top: 36%; right: 22%; font-size: 32px; animation-delay: 2.1s; }
.hero-scene .gift { top: 72%; left: 22%; font-size: 56px; animation-delay: 1.5s; }
.hero-scene .conf { top: 68%; right: 25%; font-size: 50px; animation-delay: 0.3s; }

@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}


/* ===== 3. 서브 페이지 헤더 ===== */
.page-header {
  background: linear-gradient(180deg, #d7e8ef 0%, #f0f5fb 100%);
  padding: 90px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--blue-dark);
  letter-spacing: -0.5px;
}
.page-header p {
  color: var(--text-muted);
  font-size: 18px;
}

/* ===== 서브 페이지 비주얼 히어로 (좌:텍스트 / 우:일러스트) ===== */
.page-hero {
  background: linear-gradient(180deg, #fff 0%, var(--blue-tint) 100%);
  padding: 24px 0 36px;
  position: relative;
  overflow: hidden;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.page-hero-text {
  text-align: left;
}
.page-hero-eyebrow {
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.page-hero-text h1 {
  font-family: 'Jua', sans-serif;
  font-size: 72px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 20px;
  line-height: 1.1;
}
.page-hero-text p {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  font-weight: 500;
}
.page-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.page-hero-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(45,138,184,0.18));
  animation: page-hero-float 5s ease-in-out infinite;
}
@keyframes page-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* 페이지 히어로용 장식 위치 오버라이드 */
.page-hero-decor .decor-sun {
  top: 8%;
  left: 3%;
  font-size: 48px;
}
.page-hero-decor .decor-cloud-1 {
  top: 6%;
  left: 42%;
  font-size: 36px;
}
.page-hero-decor .decor-balloon-1 {
  top: 72%;
  left: 6%;
  font-size: 38px;
}
.page-hero-decor .decor-balloon-2 {
  top: 78%;
  left: 38%;
  font-size: 44px;
}

/* ===== 4. 일반 섹션 ===== */
.section {
  padding: 100px 0;
  position: relative;
  background: #fff;
}
.section.bg-light {
  background: var(--blue-tint);
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 60px;
  font-size: 19px;
}

/* ===== 5. 카드 그리드 (로고 4색 로테이션) ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
a.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-pop);
}
.card-img {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  overflow: hidden;
  font-family: 'Pretendard', sans-serif;
  color: rgba(0,0,0,0.45);
  background: #ffffff;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }

.card-body {
  padding: 24px;
  text-align: center;
}
.card-body h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 700;
}
.card-body p {
  color: var(--text-muted);
  font-size: 16px;
  font-family: 'Pretendard', sans-serif;
}
.card-meta {
  font-size: 13px;
  margin-top: 10px;
  font-weight: 600;
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-family: 'Pretendard', sans-serif;
}
.card-grid > .card:nth-child(4n+1) .card-meta { background: rgba(237,28,36,0.10); color: var(--red); }
.card-grid > .card:nth-child(4n+2) .card-meta { background: rgba(255,168,0,0.18); color: #B57700; }
.card-grid > .card:nth-child(4n+3) .card-meta { background: rgba(0,176,80,0.12); color: #008A3E; }
.card-grid > .card:nth-child(4n+4) .card-meta { background: rgba(33,150,243,0.12); color: #1976D2; }

/* 카테고리별 통일 색상 (위치 기반 4색 로테이션을 덮어씀) */
/* 에어바운스 */
.product-grid .product-card[data-category="소형"] .card-meta {
  background: rgba(255,168,0,0.18); color: #B57700;
}
.product-grid .product-card[data-category="중형"] .card-meta {
  background: rgba(0,176,80,0.12); color: #008A3E;
}
.product-grid .product-card[data-category="대형"] .card-meta {
  background: rgba(33,150,243,0.12); color: #1976D2;
}
.product-grid .product-card[data-category="특대형"] .card-meta {
  background: rgba(237,28,36,0.10); color: var(--red);
}
.product-grid .product-card[data-category="스포츠게임"] .card-meta {
  background: rgba(255,113,34,0.15); color: var(--orange-dark);
}
.product-grid .product-card[data-category="제작"] .card-meta {
  background: rgba(123,31,162,0.12); color: #7B1FA2;
}
.product-grid .product-card[data-category="기타"] .card-meta {
  background: rgba(120,120,120,0.12); color: #555;
}

/* 수상용품 */
.product-grid .product-card[data-category="수영장"] .card-meta {
  background: rgba(33,150,243,0.12); color: #1976D2;
}
.product-grid .product-card[data-category="슬라이드"] .card-meta {
  background: rgba(0,176,80,0.12); color: #008A3E;
}
.product-grid .product-card[data-category="수상용품"] .card-meta {
  background: rgba(255,168,0,0.18); color: #B57700;
}

/* ===== 6. 풍선 같은 빵빵한 버튼 ===== */
.btn {
  display: inline-block;
  padding: 18px 42px;
  font-size: 19px;
  font-weight: 600;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-4px); }
.btn:active { transform: translateY(-1px); }

/* btn-primary = 주황 (강한 CTA) */
.btn-primary {
  background: var(--orange);
  color: #fff;
}

/* btn-accent = 파랑 (보조 / 차분한 액션) */
.btn-accent {
  background: var(--blue);
  color: #fff;
}

.btn-outline {
  background: #fff;
  border: 2px solid var(--blue);
  color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

/* 가로로 약 1.5배 더 넓은 큰 CTA 버튼 */
.btn-wide {
  padding-left: 85px;
  padding-right: 85px;
}

.center { text-align: center; }
.mt-32 { margin-top: 36px; }

/* ===== 7. 카테고리 탭 ===== */
.tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.tab {
  padding: 12px 26px;
  border: 2px solid var(--blue-pale);
  border-radius: var(--radius-pill);
  background: #fff;
  cursor: pointer;
  font-size: 17px;
  color: var(--text);
  font-weight: 600;
  transition: all 0.25s;
}
.tab:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.tab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ===== 인사말(회사소개) 전용 스타일 ===== */

/* 헤드라인 */
.greeting-headline {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}
.greeting-eyebrow {
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 24px;
}
.greeting-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -1.2px;
}
.greeting-title span {
  color: var(--blue);
}

/* 인트로 그리드 (헤드라인 + 일러스트) */
.greeting-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto 64px;
}
.greeting-intro-grid .greeting-headline {
  text-align: left;
  margin: 0;
  max-width: none;
}
.greeting-intro-grid .greeting-title {
  font-size: 36px;
  line-height: 1.4;
}
.greeting-illust img {
  max-width: 100%;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,0.15));
}

/* 본문 */
.greeting-body {
  max-width: 720px;
  margin: 0 auto 56px;
}
.greeting-body p {
  font-size: 17px;
  line-height: 2;
  color: #444;
  margin-bottom: 22px;
}
.greeting-body p:last-child {
  margin-bottom: 0;
}
.greeting-body p strong {
  color: var(--blue-dark);
  font-weight: 700;
}
.greeting-lead {
  font-size: 19px !important;
  font-weight: 700;
  color: var(--text) !important;
}

/* 3대 가치 카드 */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 64px auto;
}
.value-card {
  background: #fff;
  padding: 48px 32px;
  border-radius: 28px;
  text-align: center;
  border: 1.5px solid var(--blue-pale);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.value-card:hover {
  transform: translateY(-4px);
}
.value-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.value-blue .value-num {
  background: linear-gradient(135deg, var(--blue-soft) 0%, var(--blue-dark) 100%);
}
.value-orange .value-num {
  background: linear-gradient(135deg, var(--orange-soft) 0%, var(--orange-dark) 100%);
}
.value-green .value-num {
  background: linear-gradient(135deg, #5dd098 0%, #008a3e 100%);
}
.value-card h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.value-blue h3 { color: var(--blue-dark); }
.value-orange h3 { color: var(--orange-dark); }
.value-green h3 { color: #008a3e; }
.value-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* 서명 */
.greeting-signature {
  text-align: center;
  max-width: 720px;
  margin: 64px auto 0;
  padding-top: 48px;
  border-top: 1px solid var(--blue-pale);
}
.signature-thanks {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.signature-divider {
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin: 0 auto 24px;
  border-radius: 999px;
}
.signature-name {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin: 0;
}
.signature-name span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.signature-name strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
}

@media (max-width: 768px) {
  .greeting-intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }
  .greeting-intro-grid .greeting-headline { text-align: center; order: 2; }
  .greeting-intro-grid .greeting-illust { order: 1; }
  .greeting-intro-grid .greeting-title { font-size: 24px; }
  .greeting-title { font-size: 26px; }
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .value-card { padding: 36px 24px; }
  .value-card h3 { font-size: 26px; }
  .signature-thanks { font-size: 22px; }
  .signature-name strong { font-size: 22px; }
}

/* ===== 8. 안내 박스 (주황 = 어텐션) ===== */
.notice-box {
  background: linear-gradient(135deg, var(--orange-pale), #ffe0c7);
  border: 0;
  padding: 32px 36px;
  border-radius: var(--radius);
  margin: 56px 0;
  box-shadow: var(--shadow-balloon-orange);
}
.notice-box h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-weight: 700;
}
.notice-box p {
  color: var(--text);
  font-family: 'Pretendard', sans-serif;
}

/* ===== 9. 폼 ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-row { margin-bottom: 18px; }
.form-row.full { grid-column: span 2; }
.form-row label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid transparent;
  border-radius: 18px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s;
}
.form-row textarea { min-height: 140px; resize: vertical; border-radius: 24px; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(69,171,215,0.18);
}

/* ===== 10. 연락처 카드 (파랑 톤) ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.contact-info {
  background: linear-gradient(160deg, var(--blue-pale) 0%, #cfe2eb 100%);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-balloon-blue);
}
.contact-info h3 { margin-bottom: 20px; font-weight: 700; color: var(--blue-dark); font-size: 24px; }
.contact-info ul li {
  padding: 16px 0;
  border-bottom: 1.5px dashed rgba(45,138,184,0.30);
}
.contact-info ul li:last-child { border-bottom: 0; }
.contact-info .label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-info .value {
  font-size: 17px;
  font-weight: 600;
}

/* ===== 정책·약관 페이지 (privacy / terms) ===== */
.legal-doc {
  max-width: 820px;
  margin: 0 auto;
  font-family: 'Pretendard', sans-serif;
  color: #444;
  line-height: 1.85;
}
.legal-intro {
  font-size: 16px;
  color: #555;
  padding: 20px 24px;
  background: var(--blue-tint);
  border-radius: 16px;
  margin-bottom: 40px;
}
.legal-article {
  margin-bottom: 40px;
}
.legal-article h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-pale);
}
.legal-article p {
  font-size: 16px;
  margin-bottom: 12px;
}
.legal-article ul {
  list-style: disc;
  padding-left: 24px;
  margin: 12px 0;
}
.legal-article li {
  font-size: 16px;
  margin-bottom: 8px;
}
.legal-article strong {
  color: var(--text);
  font-weight: 700;
}
.legal-footer {
  text-align: right;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--blue-pale);
}

/* ===== 11. 푸터 ===== */
.site-footer {
  background: #2d2d2d;
  color: #ddd;
  padding: 64px 0 28px;
  margin-top: 0;
  position: relative;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* 브랜드 영역 */
.footer-brand {
  font-family: 'Pretendard', sans-serif;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

/* SNS 아이콘 */
.footer-sns {
  display: flex;
  gap: 10px;
}
.footer-sns a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.footer-sns a:hover {
  background: var(--blue);
  transform: translateY(-2px);
}
.footer-sns svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* 컬럼 */
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  font-family: 'Pretendard', sans-serif;
}
.footer-col p,
.footer-col li {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  font-family: 'Pretendard', sans-serif;
  margin-bottom: 6px;
}
.footer-col p strong {
  color: #fff;
  font-weight: 700;
}
.footer-col a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-addr {
  margin-top: 12px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a strong {
  color: #fff;
  font-weight: 700;
}

.copy {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-family: 'Pretendard', sans-serif;
}

/* ===== 12. 플로팅 연락 버튼 ===== */
.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 50;
}
.floating-cta a {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.25s;
}
.floating-cta a svg {
  width: 28px;
  height: 28px;
  display: block;
}
.floating-cta a:hover {
  transform: scale(1.12) rotate(-8deg);
}
.fc-tel {
  background: var(--orange);
  animation: bob 3s ease-in-out infinite;
}
.fc-kakao {
  background: #fee500;
  color: #3c1e1e;
  animation: bob 3s ease-in-out infinite 0.5s;
}
.fc-quote {
  background: var(--blue);
  animation: bob 3s ease-in-out infinite 1s;
}
.fc-top {
  background: var(--blue-dark);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fc-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.fc-top:hover {
  transform: translateY(-4px) scale(1.08);
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* 카카오톡 ID 복사 안내 토스트 */
.toast-msg {
  position: fixed;
  bottom: 110px;
  right: 22px;
  background: #3c1e1e;
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Pretendard', 'Nanum Gothic', sans-serif;
  line-height: 1.55;
  letter-spacing: -0.2px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  border-left: 4px solid #fee500;
  max-width: 320px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 100;
  pointer-events: none;
}
.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .toast-msg {
    right: 16px;
    left: 16px;
    max-width: none;
    bottom: 100px;
    text-align: center;
  }
}

/* ===== 홈 화면 섹션 단위 스크롤 스냅 ===== */
html.snap-page {
  scroll-snap-type: y mandatory;
  scroll-padding-top: 80px;  /* sticky 헤더 높이만큼 보정 */
}
html.snap-page .hero,
html.snap-page .section,
html.snap-page .site-footer {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ===== 스크롤 패럴랙스 (페이드 + 슬라이드 인) ===== */
.js-anim .section {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.js-anim .section.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* 카드 그리드 — 순차적으로 들어옴 */
.js-anim .section .card-grid > *,
.js-anim .section .values-grid > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.js-anim .section.in-view .card-grid > *,
.js-anim .section.in-view .values-grid > * {
  opacity: 1;
  transform: translateY(0);
}
.js-anim .section.in-view .card-grid > *:nth-child(1),
.js-anim .section.in-view .values-grid > *:nth-child(1) { transition-delay: 0.15s; }
.js-anim .section.in-view .card-grid > *:nth-child(2),
.js-anim .section.in-view .values-grid > *:nth-child(2) { transition-delay: 0.30s; }
.js-anim .section.in-view .card-grid > *:nth-child(3),
.js-anim .section.in-view .values-grid > *:nth-child(3) { transition-delay: 0.45s; }
.js-anim .section.in-view .card-grid > *:nth-child(4) { transition-delay: 0.60s; }
.js-anim .section.in-view .card-grid > *:nth-child(5) { transition-delay: 0.75s; }
.js-anim .section.in-view .card-grid > *:nth-child(6) { transition-delay: 0.90s; }
.js-anim .section.in-view .card-grid > *:nth-child(7) { transition-delay: 1.05s; }
.js-anim .section.in-view .card-grid > *:nth-child(8) { transition-delay: 1.20s; }

/* 모션 줄이기 옵션 존중 */
@media (prefers-reduced-motion: reduce) {
  .js-anim .section,
  .js-anim .section .card-grid > *,
  .js-anim .section .values-grid > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== 모바일에서 스크롤 패럴랙스·스냅 비활성화 ===== */
@media (max-width: 768px) {
  html.snap-page {
    scroll-snap-type: none;
    scroll-padding-top: 0;
  }
  html.snap-page .hero,
  html.snap-page .section,
  html.snap-page .site-footer {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  .js-anim .section,
  .js-anim .section .card-grid > *,
  .js-anim .section .values-grid > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== 13. 모바일 반응형 ===== */
@media (max-width: 768px) {
  .hero { padding: 40px 0; }
  .hero-h1-sub { font-size: 26px; }
  .hero-h1-main { font-size: 48px; letter-spacing: -1px; }
  .hero p { font-size: 16px; }
  .hero-eyebrow { font-size: 13px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-hero-image { order: 1; }
  .page-hero-text { order: 2; text-align: center; }
  .page-hero-text h1 { font-size: 42px; }
  .page-hero-text p { font-size: 16px; }
  .decor-sun { font-size: 44px; }
  .decor-cloud { font-size: 36px; }
  .decor-cloud-2 { font-size: 30px; }
  .decor-balloon { font-size: 38px; }
  .decor-balloon-2 { font-size: 42px; }

  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .page-header { padding: 56px 0 48px; }
  .page-header h1 { font-size: 30px; }
  .page-header::before, .page-header::after { font-size: 36px; }

  .card-grid,
  .card-grid.cols-4,
  .form-grid,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-row.full { grid-column: span 1; }

  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: var(--shadow-pop);
    padding: 12px 20px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }
  .main-nav a {
    display: block;
    text-align: center;
  }
}


/* ===== 최종 수정: 문의 동의 체크박스 정렬 ===== */
.privacy-consent {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0 4px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}
.privacy-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  vertical-align: middle;
}
.privacy-consent span {
  display: inline;
  flex: 1;
  text-align: left;
}

/* ===== 최종 수정: 상품 서브페이지 히어로 높이 통일 ===== */
body:has(.page-hero) .page-hero {
  height: 540px;
  padding: 0;
  display: flex;
  align-items: center;
}
body:has(.page-hero) .page-hero > .container {
  width: 100%;
}
body:has(.page-hero) .page-hero-grid {
  min-height: 460px;
  height: 460px;
  align-items: center;
}
body:has(.page-hero) .page-hero-image {
  height: 100%;
}
body:has(.page-hero) .page-hero-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  body:has(.page-hero) .page-hero {
    height: auto;
    min-height: 480px;
    padding: 32px 0 36px;
  }
  body:has(.page-hero) .page-hero-grid {
    height: auto;
    min-height: 0;
  }
  body:has(.page-hero) .page-hero-image {
    height: auto;
  }
  body:has(.page-hero) .page-hero-image img {
    max-height: 300px;
  }
}


/* ===== 제품 목록 카드 보강 ===== */
.product-grid {
  align-items: stretch;
}

.product-card {
  overflow: hidden;
}

.product-image {
  height: 220px;
  padding: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-image-placeholder {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f6f8;
  color: #999;
}

.product-card .card-body h3 {
  word-break: keep-all;
}

.product-card .card-body p {
  word-break: keep-all;
}
/* =========================================================
   제품 카드 이미지 강제 가운데 정렬
========================================================= */

.card.product-card .card-img,
.product-card .card-img,
.product-card .product-image {
  width: 100%;
  height: 260px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px;
  background: #ffffff;
  overflow: hidden;
  text-align: center;
}

.card.product-card .card-img img,
.product-card .card-img img,
.product-card .product-image img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  margin: 0 auto !important;
}

.product-card .card-body {
  text-align: center;
}

@media (max-width: 768px) {
  .card.product-card .card-img,
  .product-card .card-img,
  .product-card .product-image {
    height: 220px;
    padding: 18px;
  }
}