/* ═══════════════════════════════════════════
   한일의료기 흙돌침대 — style.css
   Theme: Clean White + Warm Neutral
   Font: Pretendard
   Direction: 백화점 브랜드 공식 사이트
═══════════════════════════════════════════ */

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

:root {
  --white: #ffffff;
  --bg: #fafaf8;
  --bg-warm: #f5f3ef;
  --text: #1a1a1a;
  --text-sub: #555555;
  --text-light: #888888;
  --accent: #8B7355;
  --accent-light: #A89070;
  --border: #e8e5e0;
  --radius: 4px;
  --radius-lg: 8px;
  --max-width: 1200px;
  --section-padding: 140px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.mo-only { display: none; }
@media (max-width: 600px) { .mo-only { display: inline; } }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.logo-main {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-dot {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
}

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

.gnb a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-sub);
  transition: color var(--transition);
  letter-spacing: -0.01em;
}

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

.header-tel {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--transition);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--text);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: -0.01em;
}

.btn-outline:hover {
  border-color: var(--text);
}

/* ═══════════════════════════════════
   HERO — 풀스크린 이미지 슬라이드
═══════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide:nth-child(1) { background-position: center 58%; }
.hero-slide:nth-child(2) { background-position: center 56%; }
.hero-slide:nth-child(3) { background-position: center 52%; }

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 8, 0.78) 0%, rgba(12, 10, 8, 0.48) 42%, rgba(12, 10, 8, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 10, 8, 0.28), rgba(12, 10, 8, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(22px, 5vw, 84px);
  max-width: 760px;
}

.hero-sub {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 24px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2.35rem, 5.6vw, 5.4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.065em;
  margin-bottom: 24px;
  text-shadow: 0 22px 60px rgba(0,0,0,.42);
}

.hero-desc {
  max-width: 560px;
  font-size: clamp(.95rem, 1.3vw, 1.08rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
  letter-spacing: -0.025em;
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.hero-actions .btn-primary {
  background: #fff;
  color: var(--text);
}

.hero-actions .btn-primary:hover {
  background: #f0f0f0;
}

.hero-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-actions .btn-outline:hover {
  border-color: #fff;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 60px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: #fff;
  animation: scrollLine 2s ease infinite;
}

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

/* ═══════════════════════════════════
   BRAND BANNER (가보 스타일)
═══════════════════════════════════ */
.brand-banner {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.brand-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.brand-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.brand-banner__label {
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  opacity: 0.9;
}

.brand-banner__title {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.6;
  margin-bottom: 28px;
  opacity: 0.85;
}

.brand-banner__btn {
  display: inline-block;
  padding: 10px 32px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 30px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
  background: rgba(255,255,255,0.05);
}

.brand-banner__btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

@media (max-width: 600px) {
  .hero {
    height: 84vh;
    min-height: 560px;
  }

  .hero-slide {
    background-size: cover;
  }

  .hero-slide:nth-child(1) { background-position: center 50%; }
  .hero-slide:nth-child(2) { background-position: center 50%; }
  .hero-slide:nth-child(3) { background-position: center 52%; }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(12,10,8,.76) 0%, rgba(12,10,8,.34) 48%, rgba(12,10,8,.28) 100%),
      linear-gradient(90deg, rgba(12,10,8,.62), rgba(12,10,8,.24));
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 92px;
    max-width: 100%;
  }

  .hero-sub {
    font-size: .68rem;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
    line-height: 1.16;
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: .92rem;
    line-height: 1.68;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    width: min(100%, 320px);
  }

  .hero-actions a {
    width: 100%;
    justify-content: center;
  }

  .brand-banner {
    height: 280px;
  }
  .brand-banner__label {
    font-size: 1.1rem;
  }
}

/* ═══════════════════════════════════
   ABOUT
═══════════════════════════════════ */
.about {
  padding: var(--section-padding) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.stat span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* About Video (replaces about-image) */
.about-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.about-video video {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  background: #000;
}

/* Section Label */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

/* About Video Caption */
.about-video-caption {
  margin-bottom: 16px;
}

.about-video-caption .caption-arrow {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
}

/* 기술력 강조 블록 */
.about-tech-highlights {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--border);
}

.tech-highlight {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.tech-highlight:last-child {
  border-bottom: none;
}

.tech-highlight__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding-top: 4px;
}

.tech-highlight__content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.tech-highlight__content p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-sub);
}

.tech-highlight__content strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 600px) {
  .about-tech-highlights {
    margin-top: 48px;
    padding-top: 48px;
  }
  .tech-highlight {
    grid-template-columns: 40px 1fr;
    gap: 16px;
    padding: 28px 0;
  }
  .tech-highlight__content h3 {
    font-size: 1.05rem;
  }
}

/* Tech Highlight with Image */
.tech-highlight__image {
  margin-top: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.tech-highlight__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ═══════════════════════════════════
   DEMO VIDEOS — 대표님 직접 시연
═══════════════════════════════════ */
.demo-videos {
  padding: var(--section-padding) 0;
  background: var(--bg-warm);
}

.section-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  white-space: nowrap;
}

.section-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  margin-bottom: 48px;
}

.demo-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.demo-video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.demo-video-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.demo-video-card__player {
  background: #000;
}

.demo-video-card__player video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.demo-video-card__info {
  padding: 16px 20px;
}

.demo-video-card__info h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.demo-video-card__info p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .demo-video-grid {
    grid-template-columns: 1fr 1fr;
  }
  .demo-video-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .demo-video-grid {
    grid-template-columns: 1fr;
  }
  .demo-video-card:last-child {
    grid-column: auto;
  }
  .about-video video {
    height: 280px;
  }
  .tech-highlight__image img {
    width: 100%;
  }
}

/* ═══════════════════════════════════
   WHY — 1:1 대비형
═══════════════════════════════════ */
.why {
  padding: var(--section-padding) 0;
  background: var(--bg-warm);
}

.why-header {
  text-align: center;
  margin-bottom: 72px;
}

.why-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.why-header p {
  font-size: 0.95rem;
  color: var(--text-sub);
}

.compare-rows {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.compare-row:first-child {
  border-top: 1px solid var(--border);
}

.compare-row__left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  padding-right: 32px;
}

.compare-row__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: -0.01em;
}

.compare-row__value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-sub);
}

.compare-row__value--weak {
  color: var(--text-light);
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,0.15);
}

.compare-row__center {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.compare-row__right {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-left: 32px;
}

.compare-row__highlight {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.compare-row__desc {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-sub);
}

.why-conclusion {
  max-width: 800px;
  margin: 48px auto 0;
  text-align: center;
}

.why-conclusion p {
  font-size: 0.95rem;
  color: var(--text-sub);
  background: var(--white);
  display: inline-block;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.why-conclusion strong {
  color: var(--text);
  font-weight: 700;
}

/* ═══════════════════════════════════
   PRODUCTS
═══════════════════════════════════ */
.products {
  padding: var(--section-padding) 0;
}

.products-header {
  margin-bottom: 64px;
}

.products-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.products-header p {
  font-size: 0.92rem;
  color: var(--text-sub);
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.product-item {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.product-item:hover {
  background: var(--bg-warm);
}

.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
}

.product-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-warm);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.product-placeholder span {
  font-size: 0.85rem;
  color: var(--text-light);
}

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

.product-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 12px;
}

.product-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.product-info p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

/* ── Product Category ── */
.product-category {
  margin-bottom: 100px;
}

.product-category:last-child {
  margin-bottom: 0;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.category-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--text);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  flex-shrink: 0;
}

.category-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
}

.category-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0;
}

.category-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 32px;
  line-height: 1.7;
}

.product-info h4 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 10px 20px;
}

/* ═══════════════════════════════════
   GIFT — 투트랙 카드
═══════════════════════════════════ */
.gift {
  padding: var(--section-padding) 0;
  background: var(--bg-warm);
}

.gift-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gift-card {
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gift-card--self {
  background: var(--white);
  border: 1px solid var(--border);
}

.gift-card--child {
  background: var(--text);
  color: var(--white);
}

.gift-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.gift-card--child .gift-card__label {
  color: var(--accent-light);
}

.gift-card h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.gift-card p {
  font-size: 0.9rem;
  line-height: 1.9;
  letter-spacing: -0.01em;
}

.gift-card--self p {
  color: var(--text-sub);
}

.gift-card--child p {
  color: rgba(255,255,255,0.7);
}

.gift-card .btn-primary {
  align-self: flex-start;
  margin-top: 8px;
}

.gift-card--child .btn-primary {
  background: var(--white);
  color: var(--text);
}

.gift-card--child .btn-primary:hover {
  background: #f0f0f0;
}

/* ═══════════════════════════════════
   PROCESS — 설치 과정
═══════════════════════════════════ */
.process {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.process-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.process-sub {
  font-size: 0.92rem;
  color: var(--text-sub);
  margin-bottom: 56px;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.process-step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.process-step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.process-step p {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.process-step__arrow {
  display: flex;
  align-items: center;
  padding-top: 8px;
  font-size: 1rem;
  color: var(--text-light);
  flex-shrink: 0;
}

/* ═══════════════════════════════════
   REVIEWS — 사진 포함 카드형
═══════════════════════════════════ */
.reviews {
  padding: var(--section-padding) 0;
}

.reviews-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 56px;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  transition: background var(--transition);
}

.review-card:hover {
  background: var(--bg-warm);
}

.review-card__photo {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
}

.review-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-warm);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-card__placeholder span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.review-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card__text {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.9;
  letter-spacing: -0.01em;
}

.review-card__author {
  font-size: 0.82rem;
  font-style: normal;
  color: var(--text-light);
  font-weight: 500;
}

/* ═══════════════════════════════════
   FAQ
═══════════════════════════════════ */
.faq {
  padding: var(--section-padding) 0;
  background: var(--bg-warm);
}

.faq-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 700px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 24px 0;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -0.01em;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-light);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 0 24px;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ═══════════════════════════════════
   CONTACT
═══════════════════════════════════ */
.contact {
  padding: var(--section-padding) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.contact-info > p {
  font-size: 0.92rem;
  color: var(--text-sub);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-details > div {
  display: flex;
  gap: 24px;
  align-items: baseline;
}

.contact-details dt {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  min-width: 60px;
}

.contact-details dd {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.contact-details dd a {
  transition: color var(--transition);
}

.contact-details dd a:hover {
  color: var(--accent);
}

/* 연락처 박스 (네이버/전화/카카오) */
.contact-boxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-box {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all var(--transition);
  background: var(--bg);
}

.contact-box:hover {
  background: var(--bg-warm);
}

.contact-box--naver:hover { border-color: #03C75A; }
.contact-box--tel:hover { border-color: var(--text); }
.contact-box--kakao:hover { border-color: #FEE500; }

.contact-box__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-box__inner > svg:first-child {
  flex-shrink: 0;
}

.contact-box--naver > .contact-box__inner > svg:first-child { color: #03C75A; }
.contact-box--tel > .contact-box__inner > svg:first-child { color: var(--text); }
.contact-box--kakao > .contact-box__inner > svg:first-child { color: #3B1E1E; }

.contact-box__inner > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-box__inner strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.contact-box__inner span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.contact-box__arrow {
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform var(--transition), color var(--transition);
}

.contact-box:hover .contact-box__arrow {
  transform: translate(2px, -2px);
}

.contact-box--naver:hover .contact-box__arrow { color: #03C75A; }
.contact-box--tel:hover .contact-box__arrow { color: var(--text); }
.contact-box--kakao:hover .contact-box__arrow { color: #F7D000; }

/* ═══════════════════════════════════
   TECH — 온열 vs 근적외선 비교
═══════════════════════════════════ */
.tech {
  padding: var(--section-padding) 0;
  background: var(--bg);
}

.tech-header {
  text-align: center;
  margin-bottom: 64px;
}

.tech-header h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.tech-header p {
  font-size: 0.92rem;
  color: var(--text-sub);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tech-card {
  padding: 48px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.tech-card--highlight {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.tech-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-warm);
  margin-bottom: 20px;
  color: var(--accent);
}

.tech-card--highlight .tech-card__icon {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}

.tech-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.tech-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.tech-card ul li {
  font-size: 0.88rem;
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}

.tech-card ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  font-weight: 700;
}

.tech-card ul li strong {
  font-weight: 600;
}

.tech-card--highlight ul li {
  color: rgba(255,255,255,0.8);
}

.tech-card--highlight ul li strong {
  color: #fff;
}

.tech-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--bg-warm);
  color: var(--accent);
}

.tech-card--highlight .tech-card__tag {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}

.tech-card__note {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(139, 115, 85, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-sub);
}

/* ── 매트리스 구조 ── */
.tech-structure {
  margin-top: 80px;
  text-align: center;
}

.tech-structure h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.structure-layers {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.layer {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.layer:first-child {
  border-top: 1px solid var(--border);
}

.layer__num {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.layer__info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.layer__info p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.footer {
  padding: 60px 0 32px;
  background: var(--text);
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer .logo-main {
  color: #fff;
}

.footer .logo-dot {
  color: rgba(255,255,255,0.5);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

/* ═══════════════════════════════════
   FLOATING CTA
═══════════════════════════════════ */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--text);
  color: #fff;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all var(--transition);
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.floating-cta svg {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 900px) {
  :root {
    --section-padding: 100px;
  }

  .wrap { padding: 0 24px; }
  .header-inner { padding: 16px 24px; }

  .gnb {
    position: fixed;
    top: 0; right: -100%;
    width: 260px; height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px;
    gap: 24px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
    z-index: 999;
  }

  .gnb.active { right: 0; }
  .gnb a { font-size: 1rem; }
  .mobile-toggle { display: flex; }
  .header-tel { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image { order: -1; }
  .about-image img { height: 300px; }
  .about-video { order: -1; }
  .about-video video { height: 300px; }
  .about-stats { gap: 24px; }

  .compare-row { grid-template-columns: 1fr auto 1fr; padding: 24px 0; }
  .compare-row__left { padding-right: 16px; }
  .compare-row__right { padding-left: 16px; }
  .compare-row__highlight { font-size: 1.4rem; }
  .product-item { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .review-card { grid-template-columns: 200px 1fr; gap: 24px; padding: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gift-grid { grid-template-columns: 1fr; }
  .gift-card { padding: 40px 28px; }
  .tech-grid { grid-template-columns: 1fr; }
  .process-steps { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .process-step__arrow { display: none; }

  .hero-content { padding: 0 32px; }
  .hero-scroll { left: 32px; }
  .footer-inner { flex-direction: column; gap: 32px; }
}

@media (max-width: 600px) {
  :root {
    --section-padding: 72px;
  }

  html, body { overflow-x: hidden; }
  .wrap { padding: 0 20px; }

  /* Hero — 모바일 최적화 */
  .hero { min-height: 100svh; }
  .hero-content {
    padding: 0 24px;
    justify-content: center;
    max-width: 100%;
  }
  .hero-sub { font-size: 0.68rem; margin-bottom: 14px; }
  .hero h1 { font-size: 1.75rem; margin-bottom: 14px; }
  .hero-desc { font-size: 0.88rem; margin-bottom: 32px; }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    text-align: center;
    width: 100%;
    padding: 16px;
  }
  /* 모바일에서 고스트 버튼 시인성 확보 */
  .hero-actions .btn-outline {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border-color: rgba(255, 255, 255, 0.6);
  }
  .hero-scroll { display: none; }

  /* About */
  .about-text h2 { font-size: 1.4rem; }
  .about-stats { flex-wrap: wrap; gap: 20px; }
  .about-stats .stat { flex: 1; min-width: 80px; }

  /* Why 비교 */
  .compare-row { grid-template-columns: 1fr 36px 1fr; padding: 20px 0; }
  .compare-row__left { padding-right: 12px; }
  .compare-row__right { padding-left: 12px; flex-direction: column; gap: 2px; }
  .compare-row__highlight { font-size: 1.3rem; }
  .compare-row__center { width: 36px; height: 36px; font-size: 0.6rem; }
  .compare-row__desc { font-size: 0.8rem; }
  .compare-row__value { font-size: 0.88rem; }

  /* Products */
  .product-item { padding: 20px; }
  .product-info h3 { font-size: 1.1rem; }

  /* Gift — 모바일 */
  .gift-card { padding: 32px 20px; }
  .gift-card h2 { font-size: 1.2rem; }
  .gift-card h2 br { display: none; }
  .gift-card p { font-size: 0.85rem; }
  .gift-card p br { display: none; }

  /* Process — 모바일 (세로 배치) */
  .process-steps { flex-direction: column; align-items: stretch; gap: 20px; }
  .process-step { text-align: left; display: flex; align-items: flex-start; gap: 16px; padding: 0; }
  .process-step__num { flex-shrink: 0; margin: 0; }
  .process-step h3 { margin-bottom: 4px; }
  .process-step__arrow { display: none; }

  /* Reviews — 모바일 */
  .review-card { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .review-card__photo { aspect-ratio: 16/9; }
  .review-card__text { font-size: 0.92rem; }

  /* FAQ */
  .faq-item summary { font-size: 0.9rem; padding: 20px 0; }

  /* Contact */
  .contact-info h2 { font-size: 1.4rem; }

  /* Footer */
  .footer-nav { flex-wrap: wrap; gap: 16px; }

  /* Floating CTA — 모바일에서 텍스트 숨김 */
  .floating-cta span { display: none; }
  .floating-cta { padding: 14px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
}
