/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   해담수산유통 - 메인 스타일시트
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── 변수 ──────────────────────────────────────────────── */
:root {
  --navy:       #0a1628;
  --navy2:      #112240;
  --navy3:      #1a3a5c;
  --teal:       #0097b2;
  --teal2:      #00c4cc;
  --gold:       #d4a843;
  --white:      #ffffff;
  --gray-light: #f4f7fa;
  --gray:       #8892a4;
  --text:       #e8edf4;
  --text-dark:  #1a2332;
  --kakao-bg:   #FEE500;
  --kakao-text: #3A1D1D;
  --wa-bg:      #25D366;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(0,0,0,0.18);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.28);
  --transition: 0.25s ease;
  --header-h:   72px;
}

/* ── 리셋 & 베이스 ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── 공통 유틸 ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-dark { background: var(--navy2); }
.section-contact { background: linear-gradient(135deg, var(--navy3) 0%, var(--navy2) 100%); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--teal2);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 20px;
}
.section-desc {
  font-size: 1rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── 버튼 ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal2));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,151,178,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,151,178,0.5); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--teal2); color: var(--teal2); background: rgba(0,151,178,0.08); }

.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-detail { background: var(--navy3); color: var(--text); border: 1px solid rgba(255,255,255,0.12); }
.btn-detail:hover { background: var(--teal); color: white; }
.btn-inquiry { background: var(--teal); color: white; }
.btn-inquiry:hover { background: var(--teal2); transform: translateY(-1px); }
.btn-inquiry-full {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal2));
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 16px;
  transition: var(--transition);
}
.btn-inquiry-full:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,151,178,0.45); }

/* ── 헤더 ──────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
#header.scrolled {
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.8rem; line-height: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-size: 1rem; font-weight: 700; color: var(--white); letter-spacing: -0.01em; }
.logo-sub { font-size: 0.65rem; color: var(--teal2); font-weight: 400; letter-spacing: 0.02em; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-cta {
  background: var(--teal);
  color: white !important;
  padding: 8px 18px;
  border-radius: 50px;
  margin-left: 8px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--teal2); transform: translateY(-1px); }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 4px;
  flex-shrink: 0;
}
.lang-btn {
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.lang-btn:hover { color: white; background: rgba(255,255,255,0.1); }
.lang-btn.active { background: var(--teal); color: white; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  flex-shrink: 0;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── 히어로 ────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(0,97,130,0.7) 60%, rgba(10,22,40,0.88) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cdefs%3E%3CradialGradient id='a' cx='50%25' cy='50%25' r='50%25'%3E%3Cstop offset='0%25' stop-color='%230097b2' stop-opacity='.15'/%3E%3Cstop offset='100%25' stop-color='transparent'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='600' height='600' fill='url(%23a)'/%3E%3C/svg%3E");
  background-size: cover, 600px 600px;
  animation: bgShift 20s ease-in-out infinite alternate;
}
@keyframes bgShift { 0% { background-position: center, 0% 0%; } 100% { background-position: center, 100% 100%; } }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--header-h);
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(0,196,204,0.4);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--teal2);
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  background: rgba(0,151,178,0.1);
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--teal2); line-height: 1; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ── ABOUT ─────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.about-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.about-card.visible { opacity: 1; transform: translateY(0); }
.about-card:hover { background: rgba(0,151,178,0.1); border-color: rgba(0,151,178,0.3); transform: translateY(-4px); }
.about-icon { font-size: 2.5rem; margin-bottom: 16px; }
.about-card h3 { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 12px; }
.about-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

.certs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cert-badge {
  padding: 8px 20px;
  border: 1px solid rgba(0,196,204,0.4);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal2);
  background: rgba(0,151,178,0.08);
  letter-spacing: 0.05em;
}

/* ── BUSINESS ──────────────────────────────────────────── */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.biz-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.biz-card.visible { opacity: 1; transform: translateY(0); }
.biz-card:hover { border-color: rgba(0,151,178,0.4); background: rgba(0,151,178,0.06); }
.biz-num { font-size: 3rem; font-weight: 800; color: rgba(0,196,204,0.2); line-height: 1; margin-bottom: 16px; }
.biz-card h3 { font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 16px; }
.biz-card p { font-size: 0.9rem; color: var(--gray); margin-bottom: 24px; line-height: 1.7; }
.biz-list { display: flex; flex-direction: column; gap: 10px; }
.biz-list li { font-size: 0.88rem; color: var(--teal2); font-weight: 500; }

/* ── PRODUCTS GRID (홈) ────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.product-card.visible { opacity: 1; transform: translateY(0); }
.product-card:hover { border-color: rgba(0,151,178,0.4); transform: translateY(-4px); box-shadow: var(--shadow); }
.product-emoji { font-size: 3.5rem; text-align: center; padding: 32px 24px 16px; background: rgba(0,97,130,0.15); }
.product-info { padding: 20px; }
.product-name { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 6px; }
.product-origin { font-size: 0.82rem; color: var(--gray); margin-bottom: 12px; }
.product-type {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.product-type.import { background: rgba(0,151,178,0.2); color: var(--teal2); }
.product-type.export { background: rgba(212,168,67,0.2); color: var(--gold); }
.product-btns { display: flex; gap: 8px; }

/* ── QUALITY ───────────────────────────────────────────── */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.quality-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.quality-item.visible { opacity: 1; transform: translateY(0); }
.quality-item:hover { background: rgba(0,151,178,0.08); border-color: rgba(0,151,178,0.3); }
.quality-icon { font-size: 2.5rem; display: block; margin-bottom: 16px; }
.quality-item h4 { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 12px; }
.quality-item p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }

/* ── NETWORK ───────────────────────────────────────────── */
.network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.network-region {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.network-region.visible { opacity: 1; transform: translateY(0); }
.network-region:hover { border-color: rgba(0,151,178,0.35); }
.network-region h4 { font-size: 1rem; font-weight: 700; color: var(--teal2); margin-bottom: 14px; }
.network-region p { font-size: 0.88rem; color: var(--gray); line-height: 1.8; }

/* ── CONTACT ───────────────────────────────────────────── */
.contact-btns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 48px;
}
.contact-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.contact-btn.visible { opacity: 1; transform: translateY(0); }
.contact-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-btn-icon { font-size: 2rem; flex-shrink: 0; }
.contact-btn strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.contact-btn small { display: block; font-size: 0.82rem; opacity: 0.8; font-weight: 400; }
.kakao-btn { background: var(--kakao-bg); color: var(--kakao-text); }
.whatsapp-btn { background: var(--wa-bg); color: white; }
.phone-btn { background: rgba(255,255,255,0.08); color: white; border: 1px solid rgba(255,255,255,0.15); }
.phone-btn:hover { background: rgba(255,255,255,0.14); }
.email-btn { background: rgba(255,255,255,0.05); color: white; border: 1px solid rgba(255,255,255,0.12); }
.email-btn:hover { background: rgba(255,255,255,0.1); }

.contact-info-box {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.info-item { display: flex; flex-direction: column; gap: 6px; }
.info-label { font-size: 0.78rem; color: var(--teal2); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.info-item span:last-child { font-size: 0.9rem; color: rgba(255,255,255,0.85); }

/* ── FOOTER ────────────────────────────────────────────── */
#footer { background: #060e1a; padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { font-size: 1.2rem; font-weight: 800; color: white; margin-bottom: 16px; }
.footer-col p { font-size: 0.88rem; color: var(--gray); line-height: 1.8; }
.footer-eng { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 8px; }
.footer-col h5 { font-size: 0.9rem; font-weight: 700; color: white; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a, .footer-col ul li { font-size: 0.88rem; color: var(--gray); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--teal2); }
.footer-lang { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-lang-btn {
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--gray);
  transition: var(--transition);
}
.footer-lang-btn:hover, .footer-lang-btn.active { border-color: var(--teal2); color: var(--teal2); }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* ── FLOATING CTA ──────────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
}
.float-main-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal2));
  color: white;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,151,178,0.5);
  transition: var(--transition);
  z-index: 1;
}
.float-main-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(0,151,178,0.65); }
.float-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
}
.float-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.float-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: var(--transition);
  white-space: nowrap;
}
.float-item:hover { transform: scale(1.04); }
.float-kakao { background: var(--kakao-bg); color: var(--kakao-text); }
.float-wa { background: var(--wa-bg); color: white; }
.float-phone { background: var(--navy3); color: white; border: 1px solid rgba(255,255,255,0.15); }

/* ── PRODUCTS PAGE ─────────────────────────────────────── */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy3) 100%);
}
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: white; margin-bottom: 16px; }
.page-hero p { font-size: 1rem; color: var(--gray); }

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.15);
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--teal2); color: var(--teal2); }
.filter-btn.active { background: var(--teal); border-color: var(--teal); color: white; }

/* 전체 상품 카드 */
#allProductsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.product-card-full {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.product-card-full.visible { opacity: 1; transform: translateY(0); }
.product-card-full:hover { border-color: rgba(0,151,178,0.35); box-shadow: var(--shadow); }
.pcf-emoji {
  width: 120px;
  min-height: 100%;
  font-size: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,97,130,0.15);
  flex-shrink: 0;
}
.pcf-body { padding: 24px; flex: 1; min-width: 0; }
.pcf-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.pcf-header h3 { font-size: 1.05rem; font-weight: 700; color: white; }
.pcf-origin { font-size: 0.82rem; color: var(--gray); margin-bottom: 12px; }
.pcf-desc { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 16px; }
.pcf-specs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.pcf-specs li { font-size: 0.82rem; color: var(--teal2); display: flex; align-items: center; gap: 6px; }
.pcf-specs li::before { content: '▸'; }
.pcf-certs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.cert-tag {
  padding: 3px 10px;
  background: rgba(0,151,178,0.15);
  border: 1px solid rgba(0,196,204,0.3);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal2);
  letter-spacing: 0.05em;
}

/* ── 문의 모달 ─────────────────────────────────────────── */
#inquiryModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6,14,26,0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#inquiryModal.open { display: flex; }
.modal-box {
  background: var(--navy2);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 1.5rem;
  color: var(--gray);
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.08); color: white; }
.modal-box h3[data-i18n] { font-size: 1.4rem; font-weight: 700; color: white; margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--teal2); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 12px 16px;
  color: white;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}
.form-group select option { background: var(--navy2); color: white; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,151,178,0.15); }
.form-group textarea { resize: vertical; min-height: 90px; }

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  justify-content: flex-end;
}
.modal-actions .btn { padding: 12px 28px; font-size: 0.9rem; }
#inqCancelBtn {
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}
#inqCancelBtn:hover { border-color: rgba(255,255,255,0.4); color: white; }

/* products.html 배너 버튼 */
.kakao-btn-lg { background: var(--kakao-bg); color: var(--kakao-text); }
.kakao-btn-lg:hover { background: #e8d000; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(254,229,0,0.4); }
.wa-btn-lg { background: var(--wa-bg); color: white; }
.wa-btn-lg:hover { background: #1db954; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.4); }

/* ── 스크롤바 커스텀 ───────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy3); border-radius: 3px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   모바일 반응형
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* 태블릿 (≤1024px) */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  #allProductsGrid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

/* 중형 모바일 (≤768px) */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* 헤더 */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10,22,40,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }
  .nav.open { max-height: 500px; }
  .nav-link { padding: 12px 16px; font-size: 0.95rem; border-radius: 10px; }
  .nav-cta {
    margin: 8px 0 0;
    text-align: center;
    border-radius: 10px;
    padding: 14px 16px;
  }
  .hamburger { display: flex; }

  /* 히어로 */
  #hero { min-height: auto; padding-bottom: 60px; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 1.6rem; }

  /* 섹션 */
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr 1fr; }
  .network-grid { grid-template-columns: 1fr; }

  /* 상담 */
  .contact-btns { grid-template-columns: 1fr; max-width: 480px; }
  .contact-info-box { grid-template-columns: 1fr 1fr; }

  /* 푸터 */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  /* 상품 */
  .product-card-full { flex-direction: column; }
  .pcf-emoji { width: 100%; height: 120px; }
  #allProductsGrid { grid-template-columns: 1fr; }

  /* 모달 */
  .modal-box { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* 소형 모바일 (≤480px) */
@media (max-width: 480px) {
  :root { --header-h: 60px; }

  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; gap: 12px; }

  /* 로고 */
  .logo-main { font-size: 0.9rem; }
  .logo-sub { font-size: 0.6rem; }
  .logo-icon { font-size: 1.5rem; }

  /* 언어 버튼 */
  .lang-btn { padding: 4px 8px; font-size: 0.72rem; }

  /* 히어로 */
  .hero-badge { font-size: 0.78rem; padding: 6px 14px; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 1.4rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .contact-info-box { grid-template-columns: 1fr; }

  /* 상품 */
  .product-grid { grid-template-columns: 1fr; }

  /* 푸터 */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  /* 플로팅 */
  .floating-cta { bottom: 20px; right: 16px; }
  .float-item small { display: none; }
  .float-item { padding: 10px 12px; }

  /* 모달 */
  .modal-box { padding: 24px 16px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn, #inqCancelBtn { width: 100%; text-align: center; justify-content: center; }
}

/* 초소형 (≤360px) */
@media (max-width: 360px) {
  .logo-sub { display: none; }
  .lang-switcher { gap: 2px; }
  .lang-btn { padding: 4px 6px; font-size: 0.7rem; }
}
