/* =====================================================
   새숨더함 — 메인 스타일시트
   Design: Minimal Premium | Colors: White, Charcoal + Brand Blue Accent
   컬러 전략: 차콜/오프화이트 기반 70% + 브랜드 블루 포인트 30%
   Logo Blue Gradient: #40C4FF → #0091EA → #0070C0
   ===================================================== */

/* ── 1. CSS 변수 ── */
:root {
  /* ─ 기반 뉴트럴 (유지) ─ */
  --white:       #ffffff;
  --off-white:   #f9f8f6;
  --light-gray:  #f4f3f0;
  --mid-gray:    #e8e6e1;
  --gray:        #b0aca3;
  --dark-gray:   #6b6760;
  --charcoal:    #2c2b28;

  /* ─ 브랜드 블루 (로고 색상에서 추출) ─ */
  --brand-blue:      #0091EA;   /* 로고 핵심 미디엄 블루  */
  --brand-blue-dark: #005FAD;   /* 차분한 딥 블루 (구 deep-green 역할) */
  --brand-blue-mid:  #0079C4;   /* 중간 포인트 (구 mid-green 역할) */
  --brand-blue-soft: #E6F3FB;   /* 아주 연한 블루 배경 (구 soft-green 역할) */
  --brand-cyan:      #40C4FF;   /* 로고 하이라이트 시안 */
  --accent:          #0091EA;   /* 전체 accent 통일 */

  /* ─ 레거시 호환 별칭 ─ */
  --deep-green:  var(--brand-blue-dark);
  --mid-green:   var(--brand-blue-mid);
  --soft-green:  var(--brand-blue-soft);
  --peach:       #e8c9a8;

  --font-serif:  'Noto Serif KR', Georgia, serif;
  --font-sans:   'Noto Sans KR', sans-serif;

  --nav-h:       72px;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 12px rgba(44,43,40,.07);
  --shadow-md:   0 8px 32px rgba(44,43,40,.12);
  --shadow-lg:   0 20px 60px rgba(44,43,40,.16);
  --shadow-blue: 0 8px 28px rgba(0,145,234,.22);

  --transition:  0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

address { font-style: normal; }

::selection { background: var(--brand-blue-soft); color: var(--brand-blue-dark); }

/* ── 3. Layout Helpers ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.bg-light  { background: var(--light-gray); }
.bg-dark   { background: linear-gradient(160deg, #1a1f2e 0%, var(--charcoal) 100%); }
.bg-dream  {
  background: linear-gradient(145deg, var(--brand-blue-dark) 0%, var(--charcoal) 100%);
  position: relative;
}

/* ── 4. NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  /* iOS 노치/상태바 safe area 대응 */
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: env(safe-area-inset-top, 0px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
  text-decoration: none;
}

/* ─ 브랜드 블루 그라디언트 텍스트 로고 ─ */
.logo-text-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #40C4FF 0%, #0091EA 55%, #005FAD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity var(--transition);
  white-space: nowrap;
}

/* 스크롤 전(어두운 배경): 더 밝게 */
#navbar:not(.scrolled) .logo-text-brand {
  background: linear-gradient(100deg, #ffffff 0%, #9ae4ff 55%, #40C4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 로고 이미지 */
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: filter 0.3s ease;
}

/* 스크롤 후(흰 배경 navbar): 원본 파란색 로고 그대로 */
#navbar.scrolled .logo-img {
  filter: none;
}

/* 스크롤 전(히어로 위 투명/어두운 배경): 흰색으로 표시 */
#navbar:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  transition: color var(--transition);
}

#navbar:not(.scrolled) .logo-mark { color: var(--white); }

.logo-sub {
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  color: var(--gray);
  font-weight: 400;
  transition: color var(--transition);
}

#navbar:not(.scrolled) .logo-sub { color: rgba(255,255,255,0.5); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links li a {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  color: var(--charcoal);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

#navbar:not(.scrolled) .nav-links li a { color: rgba(255,255,255,0.9); }

.nav-links li a:hover { color: var(--brand-blue); }
#navbar:not(.scrolled) .nav-links li a:hover { color: var(--white); background: rgba(255,255,255,0.15); }

.nav-cta {
  background: var(--brand-blue) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 6px;
}

.nav-cta:hover { background: var(--brand-blue-mid) !important; }

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.3s, opacity 0.3s;
}

#navbar:not(.scrolled) .nav-toggle span { background: var(--white); }

/* ── 5. HERO ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 18, 30, 0.68) 0%,
    rgba(0, 40, 80, 0.30) 50%,
    rgba(30, 30, 40, 0.58) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: var(--nav-h);
}

.hero-text-wrap {
  max-width: 700px;
}

.hero-pre-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.hero-poem {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 2;
  margin-bottom: 2.5rem;
}

.hero-poem p { margin-bottom: 0.15rem; }

.poem-emphasis {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.4rem) !important;
  color: var(--white) !important;
  font-weight: 500;
  margin-top: 1rem !important;
}

.hero-slogan {
  margin-bottom: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(64,196,255,0.3);
}

.slogan-main {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.slogan-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── 6. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}
.btn-primary:hover {
  background: var(--brand-blue-mid);
  border-color: var(--brand-blue-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-primary-green {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}
.btn-primary-green:hover {
  background: var(--brand-blue-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-large { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn-full  { width: 100%; justify-content: center; }

/* ── 7. Scroll Indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { top: -100%; }
  100% { top: 100%; }
}

.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}

/* ── 8. Story Sections ── */
.story-section {
  padding: 8rem 0;
  overflow: hidden;
}

.story-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.story-label-light {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
}

.story-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin-bottom: 1.75rem;
}

.story-title-center {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin-bottom: 1rem;
  text-align: center;
}

.story-title-center.light { color: var(--white); }

.story-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.story-body {
  color: var(--dark-gray);
  font-size: 1rem;
  line-height: 1.9;
}

.story-body p { margin-bottom: 1rem; }
.story-body strong { color: var(--charcoal); font-weight: 600; }

.story-accent-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(to right, var(--brand-blue), var(--brand-cyan));
  border-radius: 2px;
  margin-top: 2rem;
}

.story-desc-center {
  color: var(--dark-gray);
  font-size: 1.05rem;
  line-height: 1.85;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.story-desc-center.light { color: rgba(255,255,255,0.75); }

.section-header-center { text-align: center; margin-bottom: 1rem; }

/* ── 9. Story Grid ── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.story-grid.reverse {
  direction: rtl;
}
.story-grid.reverse > * { direction: ltr; }

.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.img-frame:hover img { transform: scale(1.04); }

.img-frame-green {
  outline: 4px solid var(--soft-green);
  outline-offset: 8px;
}

/* ── 10. Gallery ── */
.story-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item-tall img { height: 360px; }

.gallery-item p {
  padding: 0.875rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-gray);
  background: var(--white);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ── 11. Partner Tags ── */
.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--brand-blue-soft);
  color: var(--brand-blue-dark);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ── 12. Scheduler Mockup ── */
.scheduler-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
}

.scheduler-mockup {
  background: #1a1a1a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08);
}

.mockup-topbar {
  background: #2a2a2a;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #28ca41; }

.mockup-title {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-left: 0.5rem;
  letter-spacing: 0.05em;
}

.mockup-body {
  display: flex;
  height: 420px;
}

.mockup-sidebar {
  width: 140px;
  background: #141e2a;
  padding: 1.25rem 0.875rem;
  flex-shrink: 0;
}

.sidebar-logo {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-menu li {
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.sidebar-menu li.active {
  background: rgba(0,145,234,0.2);
  color: #40C4FF;
}

.sidebar-menu li:hover:not(.active) {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
}

.mockup-main {
  flex: 1;
  background: #1f1f1f;
  padding: 1rem 1.25rem;
  overflow: hidden;
}

.mockup-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.875rem;
}

.mockup-month {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.mockup-actions {
  display: flex;
  gap: 0.25rem;
}

.mock-btn {
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 4px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
}

.mock-btn.active-btn {
  background: rgba(0,145,234,0.25);
  color: #40C4FF;
}

.mockup-calendar { margin-bottom: 1rem; }

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.4rem;
}

.cal-days span {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 0.25rem;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.cal-cell {
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  padding: 0.35rem 0.3rem;
  min-height: 68px;
}

.today-cell { background: rgba(0,145,234,0.08); }

.cal-num {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-bottom: 0.2rem;
}

.today-num {
  color: #40C4FF;
  font-weight: 700;
}

.cal-event {
  font-size: 0.58rem;
  padding: 0.15rem 0.3rem;
  border-radius: 3px;
  margin-bottom: 0.15rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-green  { background: rgba(0,145,234,0.25);  color: #40C4FF; }
.event-blue   { background: rgba(0,95,173,0.25);    color: #64B5F6; }
.event-peach  { background: rgba(200,150,80,0.3);   color: #e0b87a; }
.event-purple { background: rgba(100,60,200,0.3);   color: #c098e8; }

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 0.6rem 0.5rem;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #40C4FF;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
}

/* Scheduler Features */
.scheduler-features h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.scheduler-features > p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.feature-list li i {
  color: var(--brand-cyan);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* ── 13. Coming Soon Card ── */
.coming-soon-card {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--brand-blue-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.coming-soon-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(74,138,106,0.12);
}

.cs-badge {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  background: rgba(0,145,234,0.18);
  border: 1px solid rgba(0,145,234,0.45);
  color: #40C4FF;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cs-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cs-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.cs-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.cs-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cs-icon {
  width: 48px; height: 48px;
  background: rgba(0,145,234,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #40C4FF;
  font-size: 1.1rem;
}

.cs-feature span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.cs-progress {
  margin-bottom: 2rem;
}

.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--brand-blue), var(--brand-cyan));
  border-radius: 3px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.progress-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ── 14. Dream Section ── */
.dream-bg-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.dream-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.dream-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.dream-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dream-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
}

.dream-highlight {
  font-family: var(--font-serif);
  font-size: 1.35rem !important;
  color: var(--white) !important;
  font-weight: 500;
}

.dream-closing {
  font-style: italic;
  color: rgba(255,255,255,0.55) !important;
}

/* ── 15. Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img-wrap img { transform: scale(1.06); }

.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,95,173,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.service-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.service-card:hover .service-overlay { opacity: 1; }

.service-info {
  padding: 1.5rem;
}

.service-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}

.service-info h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.service-info p {
  font-size: 0.85rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

.section-cta {
  text-align: center;
}

/* ── 16. Partner Grid ── */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.partner-benefit {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.partner-benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,145,234,.1);
}

.pb-icon {
  width: 52px; height: 52px;
  background: var(--brand-blue-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue-dark);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.partner-benefit h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}

.partner-benefit p {
  font-size: 0.875rem;
  color: var(--dark-gray);
  line-height: 1.65;
}

/* ── 17. Reviews ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 2rem;
}

/* 로딩 스피너 */
/* 플랫폼 안내 문구 영역 */
.reviews-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: var(--brand-blue-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--brand-blue);
}
.reviews-platform-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--brand-blue-dark);
  font-weight: 500;
  line-height: 1.6;
  flex: 1;
}
.reviews-platform-note i {
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--brand-blue);
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mid-gray);
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-featured {
  background: linear-gradient(135deg, var(--brand-blue-soft), var(--white));
  border-color: rgba(0,145,234,0.2);
}

.review-stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.reviewer-avatar {
  width: 40px; height: 40px;
  background: var(--brand-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.reviewer-name {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--charcoal);
  font-style: normal;
}

.review-service,
.review-location {
  display: block;
  font-size: 0.775rem;
  color: var(--dark-gray);
}

.review-service { color: var(--brand-blue); }

/* ── 18. Blog ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-img-wrap img { transform: scale(1.06); }

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--brand-blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.blog-content {
  padding: 1.5rem;
}

.blog-content time {
  font-size: 0.75rem;
  color: var(--gray);
  display: block;
  margin-bottom: 0.5rem;
}

.blog-content h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.blog-content p {
  font-size: 0.85rem;
  color: var(--dark-gray);
  line-height: 1.65;
}

/* ── 19. Contact ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--dark-gray);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--light-gray);
  border-radius: 10px;
}

.contact-item i {
  width: 36px;
  height: 36px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  color: var(--dark-gray);
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: color var(--transition);
}

.contact-value:hover { color: var(--brand-blue); }

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--mid-gray);
}

/* 네이버 폼 iframe 래퍼 */
.naver-form-wrap {
  flex: 1;
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--mid-gray);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.naver-form-wrap iframe {
  width: 100%;
  height: 620px;
  border: none;
  display: block;
}

.naver-form-fallback {
  text-align: center;
  font-size: 0.8rem;
  color: var(--dark-gray);
  padding: 0.75rem 1rem;
  background: var(--light-gray);
  border-top: 1px solid var(--mid-gray);
}

.naver-form-fallback a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--mid-gray);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0,145,234,0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

#formMsg {
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: center;
  padding: 0.5rem;
  border-radius: 6px;
}

#formMsg.success {
  background: var(--brand-blue-soft);
  color: var(--brand-blue-dark);
}

#formMsg.error {
  background: #fdecea;
  color: #c62828;
}

/* ── 20. Footer ── */
footer {
  background: var(--charcoal);
}

.footer-philosophy {
  background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--charcoal) 100%);
  padding: 5rem 2rem;
  text-align: center;
}

.footer-philosophy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.footer-philosophy p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
}

.footer-main {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
}

.footer-logo-brand {
  background: linear-gradient(100deg, #40C4FF 0%, #0091EA 60%, #005FAD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--brand-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* 네이버 SVG 아이콘 크기 맞춤 */
.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.footer-nav h3,
.footer-info h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.footer-nav a:hover { color: var(--white); }

.footer-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
  font-size: 0.8rem;
}

.footer-info dt {
  color: rgba(255,255,255,0.35);
}

.footer-info dd {
  color: rgba(255,255,255,0.65);
}

.footer-info a { transition: color var(--transition); }
.footer-info a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom nav {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom a {
  transition: color var(--transition);
}

.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── 21. Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--brand-blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 500;
  font-size: 0.85rem;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-blue-mid);
  transform: translateY(-3px);
}

/* ── 22. Reveal Animations ── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Hero fade-up */
.fade-up {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 0.9s ease forwards;
}

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

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }
.delay-4 { animation-delay: 1.2s; }
.delay-5 { animation-delay: 1.5s; }

/* ── 23. RESPONSIVE ── */
@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .story-grid.reverse { direction: ltr; }
  .story-grid .img-frame { aspect-ratio: 16/9; max-width: 600px; margin: 0 auto; }

  .scheduler-showcase { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-04 .scheduler-features h3 { color: var(--white); }
  .story-04 .scheduler-features > p { color: rgba(255,255,255,0.75); }
  .story-04 .feature-list li { color: rgba(255,255,255,0.85); }
  .story-04 .scheduler-features { padding: 0 1rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid  { grid-template-columns: repeat(2, 1fr); }
  .blog-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .reviews-grid  { grid-template-columns: 1fr; }
  .contact-wrap  { grid-template-columns: 1fr; gap: 3rem; }

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

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* 모바일 navbar 좌우 여백 축소 */
  .nav-inner {
    padding: 0 1rem;
    gap: 0.5rem;
  }

  /* 모바일 로고 이미지 크기 조정 */
  .logo-img {
    height: 28px;
    max-width: 110px;
    object-fit: contain;
    object-position: left center;
  }

  /* 모바일 로고 서브텍스트 */
  .logo-sub {
    font-size: 0.45rem;
    letter-spacing: 0.18em;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 2rem;
    gap: 0.25rem;
    transform: translateY(-110%);
    transition: transform 0.4s ease;
    box-shadow: var(--shadow-md);
    z-index: 999;
  }

  .nav-links.open { transform: translateY(0); }

  .nav-links li a {
    color: var(--charcoal) !important;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    display: block;
    border-bottom: 1px solid var(--mid-gray);
  }

  .nav-cta { text-align: center; margin-top: 0.5rem; }

  .nav-toggle { display: flex; }

  .story-section { padding: 5rem 0; }

  .story-gallery { grid-template-columns: 1fr; }
  .gallery-item img { height: 220px; }
  .gallery-item-tall img { height: 260px; }

  .services-grid { grid-template-columns: 1fr; }
  .partner-grid  { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .cs-features   { grid-template-columns: repeat(2, 1fr); }

  .hero-headline { font-size: 2.5rem; }
  .coming-soon-card { padding: 2.5rem 1.75rem; }
  .contact-form  { padding: 1.75rem; }
  .naver-form-wrap iframe { height: 520px; }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .mockup-body { height: 350px; }
  .mockup-sidebar { width: 110px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .btn-outline { order: 2; }

  .story-grid { padding: 0 1.25rem; }
  .container  { padding: 0 1.25rem; }

  .cs-features { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .mockup-sidebar { display: none; }
  .partner-tags  { gap: 0.4rem; }
}

/* ═══════════════════════════════════════
   가격표 팝업 모달
═══════════════════════════════════════ */

/* 가격표 버튼 */
.btn-price {
  background: transparent;
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-price:hover {
  background: var(--brand-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* section-cta 버튼 두 개 나란히 */
.section-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* 모달 오버레이 */
.price-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.price-modal[hidden] { display: none; }

.price-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 26, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* 모달 박스 */
.price-modal-box {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
  animation: modalSlideUp 0.32s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* 모달 헤더 */
.price-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--mid-gray);
  background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
  border-radius: 20px 20px 0 0;
  flex-shrink: 0;
}
.price-modal-header h2 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
}
.price-modal-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
}
.price-modal-close:hover { background: rgba(255,255,255,0.35); }

/* 모달 바디 (스크롤) */
.price-modal-body {
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.price-modal-body::-webkit-scrollbar { width: 6px; }
.price-modal-body::-webkit-scrollbar-thumb { background: var(--mid-gray); border-radius: 3px; }

/* 전체 주의사항 */
.price-note {
  background: var(--brand-blue-soft);
  border-left: 3px solid var(--brand-blue);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  color: var(--brand-blue-dark);
  font-weight: 500;
  margin: 0;
}

/* 서비스 섹션 */
.price-section { display: flex; flex-direction: column; gap: 0.75rem; }

.price-section-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--brand-blue-soft);
  margin: 0;
}
.price-icon { font-size: 1.1rem; }

.price-section-note {
  font-size: 0.8rem;
  color: var(--brand-blue-dark);
  background: var(--brand-blue-soft);
  border-radius: 5px;
  padding: 0.4rem 0.75rem;
  margin: 0;
  font-weight: 500;
}

.price-sub-note {
  font-size: 0.78rem;
  color: var(--dark-gray);
  margin: 0;
  padding: 0 0.25rem;
}

/* 테이블 래퍼 (가로 스크롤) */
.price-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--mid-gray);
}

/* 가격 테이블 */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 480px;
}
.price-table th {
  background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
  color: var(--white);
  font-weight: 600;
  padding: 0.7rem 1rem;
  text-align: center;
  white-space: nowrap;
}
.price-table th:first-child { text-align: left; }
.price-table td {
  padding: 0.65rem 1rem;
  color: var(--charcoal);
  text-align: center;
  border-bottom: 1px solid var(--mid-gray);
  white-space: nowrap;
}
.price-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--dark-gray);
}
.price-table td small {
  display: block;
  font-size: 0.72rem;
  color: var(--gray);
  font-weight: 400;
  margin-top: 2px;
}
.price-table tr:last-child td { border-bottom: none; }
.row-alt { background: var(--brand-blue-soft); }

/* 추가옵션 테이블 */
.price-table-addon {
  min-width: 300px;
  border: 1px solid var(--mid-gray);
  border-radius: 10px;
  overflow: hidden;
}
.price-table-addon thead th {
  background: var(--charcoal);
  font-size: 0.8rem;
  padding: 0.55rem 1rem;
}
.price-table-addon td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--brand-blue-dark);
}

/* 에어컨 문의 박스 */
.price-inquiry-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--light-gray);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--mid-gray);
}
.price-inquiry-box i {
  font-size: 1.8rem;
  color: var(--brand-blue);
  flex-shrink: 0;
}
.price-inquiry-box p {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  color: var(--dark-gray);
}
.price-inquiry-link {
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-blue-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.price-inquiry-link:hover { text-decoration: underline; }

/* 모달 푸터 */
.price-modal-footer {
  text-align: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--mid-gray);
  padding-bottom: 0.25rem;
}

/* 반응형 */
@media (max-width: 600px) {
  .price-modal-box { border-radius: 16px; }
  .price-modal-header { padding: 1.2rem 1.25rem; }
  .price-modal-body  { padding: 1.25rem; gap: 2rem; }
  .price-modal-header h2 { font-size: 1.05rem; }
  .price-table { font-size: 0.78rem; }
  .price-table th, .price-table td { padding: 0.55rem 0.65rem; }
}

/* ══════════════════════════════════════
   채널톡 문의 버튼 (contact 섹션)
══════════════════════════════════════ */
.btn-channeltalk {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.85rem 1.6rem;
  background: linear-gradient(135deg, #FF6B35 0%, #FF4500 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 18px rgba(255, 107, 53, 0.35);
  transition: all var(--transition);
}
.btn-channeltalk svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.btn-channeltalk:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 53, 0.45);
  background: linear-gradient(135deg, #FF7A45 0%, #FF5500 100%);
}
.btn-channeltalk:active {
  transform: translateY(0);
  box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3);
}

/* ══════════════════════════════════════
   대표 인사 팝업 (탭: 손편지 + CM송 — 좌측 하단 고정)
══════════════════════════════════════ */

/* 전체 오버레이 없음 — 좌측 하단 고정 */
.ceo-modal {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 10000;
  width: 35vw;        /* 화면 너비의 35% */
  min-width: 340px;   /* 최소 340px 보장 */
  max-width: 520px;   /* 너무 넓어지지 않게 */
  pointer-events: none;
}
.ceo-modal[hidden] { display: none; }

/* 실제 팝업 박스 */
.ceo-modal-box {
  pointer-events: all;
  position: relative;
  background: #faf9f7;
  border-radius: 16px;
  width: 100%;
  height: 75vh;       /* 화면 세로의 75% 고정 */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 48px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.12);
  animation: ceoSlideUp 0.42s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes ceoSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* 닫기 버튼 */
.ceo-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 30;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.22);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.ceo-modal-close:hover { background: rgba(0,0,0,0.42); }

/* ── 탭 헤더 ── */
.ceo-tabs {
  display: flex;
  flex-shrink: 0;
  background: #f0ede8;
  border-bottom: 2px solid #e0ddd7;
  padding: 0 0.5rem;
  gap: 0;
}

.ceo-tab {
  flex: 1;
  padding: 0.6rem 0.5rem;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.ceo-tab:hover {
  color: var(--charcoal);
  background: rgba(0,0,0,0.04);
}
.ceo-tab.active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
  background: transparent;
}

/* CM송 탭 YouTube 아이콘 */
.ceo-tab-yt-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #FF0000;          /* 기본: YouTube 빨강 */
  transition: color 0.2s;
}
/* 탭이 비활성일 때: 약간 연하게 */
.ceo-tab:not(.active) .ceo-tab-yt-icon {
  color: rgba(255, 0, 0, 0.55);
}
/* 탭 활성/호버 시: 선명한 빨강 */
.ceo-tab.active .ceo-tab-yt-icon,
.ceo-tab:hover .ceo-tab-yt-icon {
  color: #FF0000;
}

/* ── 탭 패널 ── */
.ceo-tab-panel {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ceo-tab-panel[hidden] { display: none; }

/* 손편지 패널 — 카드 영역 (스크롤 가능) */
.ceo-card {
  position: relative;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}
.ceo-card::-webkit-scrollbar { width: 3px; }
.ceo-card::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }

/* 프로필 워터마크 배경 */
.ceo-card-watermark {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.ceo-card-watermark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.08;
  filter: grayscale(40%);
  display: block;
}

/* 손편지 이미지 */
.ceo-card-letter {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

/* ── CM송 패널 ── */
.ceo-cm-wrap {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a1f2e 0%, #0f1520 100%);
}
.ceo-cm-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 1.2rem 1rem 1rem;
  width: 100%;
}

.ceo-cm-label {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  text-align: center;
}
.ceo-cm-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin: 0;
}

/* YouTube 영상 래퍼 — Shorts 9:16 비율 */
.ceo-cm-video-wrap {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  background: #000;
  flex-shrink: 0;
}
.ceo-cm-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* iframe 오류 fallback */
.ceo-cm-fallback {
  width: 100%;
  max-width: 240px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 1.2rem 1rem;
  text-align: center;
}
.ceo-cm-fallback-msg {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}

/* 오류 시: 비디오 래퍼 숨김 */
.ceo-cm-video-wrap.error {
  display: none;
}

/* YouTube 링크 버튼 */
.ceo-cm-yt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: #FF0000;
  color: #fff;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.02em;
}
.ceo-cm-yt-link svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.ceo-cm-yt-link:hover {
  background: #cc0000;
  transform: translateY(-1px);
}

/* ── 하단 푸터 ── */
.ceo-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-top: 1px solid #e8e5e0;
  background: #f3f1ee;
  flex-shrink: 0;
}
.ceo-no-show {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--gray);
  cursor: pointer;
  user-select: none;
}
.ceo-no-show input[type="checkbox"] {
  width: 14px; height: 14px;
  accent-color: var(--brand-blue);
  cursor: pointer;
}
.ceo-footer-btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* ── 반응형 — 모바일: 화면 하단 좌우 꽉 차게 ── */
@media (max-width: 768px) {
  .ceo-modal {
    /* 채널톡 플로팅 버튼(약 90px) + 충분한 여백으로 하단 띄움 */
    bottom: 90px;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    min-width: unset;
    max-width: unset;
    padding: 0 0.5rem 0;
    /* 채널톡 기본 z-index(9999)보다 높게 */
    z-index: 10001;
  }
  .ceo-modal-box {
    border-radius: 16px;
    height: 48vh;     /* 모바일은 화면 48% — footer 여유 확보 */
    min-height: 300px;
  }
  .ceo-modal-footer {
    padding: 0.6rem 0.9rem;
  }
  .ceo-tab {
    font-size: 0.79rem;
    padding: 0.55rem 0.4rem;
  }
  .ceo-cm-video-wrap {
    max-width: 160px;
  }
}


