/* [생성일] 2026-08-08
   [경위] 상일뷰티 웹 제안서 — web-proposal-kit 템플릿에서 복제 후 색·컴포넌트 교체
   [변경이력]
     - 2026-08-08: 색 변수를 상일뷰티 브랜드(로고 레드 승계)로 교체, 진단·채널분리·견적 등 신규 섹션 스타일 추가 */
:root {
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #fbf9f8;
  --color-bg-tertiary: #f2eeec;
  --color-text-primary: #171314;
  --color-text-secondary: #35302f;
  --color-text-tertiary: #6b6462;
  --color-point: #c8102e; /* 상일뷰티 로고(SI) 레드를 승계해 채도만 정리 */
  --color-dark: #1a1618;

  --font-en: 'Outfit', sans-serif;
  --font-kr: 'Noto Sans KR', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Lenis Recommended CSS */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-kr);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  /* 한글이 단어 단위로만 끊기게 — 없으면 모바일에서 "제안"이 "제/안"으로 쪼개짐 (미르종합환경 건에서 확인) */
  word-break: keep-all;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-en);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.v2-container {
  width: 100%;
  overflow-x: clip; 
}

/* Sections */
.section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 120px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section.full-height {
  height: 100vh;
}

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

.section.bg-secondary {
  background-color: var(--color-bg-secondary);
}

.section.bg-tertiary {
  background-color: var(--color-bg-tertiary);
}

/* Typography styles */
.text-giant {
  font-size: clamp(4rem, 8vw, 10rem);
  font-weight: 100;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}
.text-giant strong {
  font-weight: 600;
  color: var(--color-point);
}

.text-title {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  margin-bottom: 24px;
}

.text-desc {
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  color: var(--color-text-secondary);
  font-weight: 400;
  line-height: 1.8;
  max-width: 650px;
}
.section.dark .text-desc {
  color: var(--color-text-tertiary);
}

/* Utility */
.flex-split {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
}
@media (max-width: 1024px) {
  .flex-split {
    flex-direction: column;
  }
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background-color: var(--color-bg-tertiary);
}
.image-container img,
.image-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.image-container:hover img,
.image-container:hover video {
  transform: scale(1.05);
}
.no-zoom:hover img,
.no-zoom:hover video {
  transform: scale(1) !important;
}

/* 시안 바로가기 링크 버튼 (2026-08-02 추가 — 브랜딩업 기본: 제안서에 시안 링크를 넣는다) */
.link-btn {
  display: inline-block;
  padding: 16px 36px;
  border: 1px solid var(--color-point);
  font-family: var(--font-en);
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-decoration: none;
  color: var(--color-text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.section.dark .link-btn {
  color: var(--color-bg-primary);
}
.link-btn:hover,
.link-btn:focus-visible {
  background-color: var(--color-point);
  color: var(--color-dark);
}
.link-btn:focus-visible {
  outline: 2px solid var(--color-point);
  outline-offset: 3px;
}

/* Overlapping effects */
.overlap-box {
  position: relative;
  z-index: 2;
  margin-top: -100px;
  margin-left: auto;
  background: var(--color-bg-primary);
  padding: 60px;
  width: 80%;
  box-shadow: 0 40px 100px rgba(0,0,0,0.03);
}

/* Big number */
.big-number {
  font-family: var(--font-en);
  font-size: 20vw;
  font-weight: 200;
  color: rgba(0,0,0,0.04);
  position: absolute;
  top: 0;
  right: 8vw;
  z-index: 0;
  line-height: 0.8;
  pointer-events: none;
}
.section.dark .big-number {
  color: rgba(255,255,255,0.04);
}

/* Ensure content stays above the big number */
.section > *:not(.big-number) {
  position: relative;
  z-index: 10;
}

/* Decor line */
.decor-line {
  width: 60px;
  height: 1px;
  background-color: var(--color-point);
  margin: 40px 0;
}

/* GSAP Default Hidden Class */
.gsap-fade-up, .gsap-fade-in, .gsap-slide-left, .gsap-slide-right {
  /* JS가 에러나도 내용이 보이도록 CSS에서 강제로 숨기지 않음 */
}

/* Carousel */
.carousel-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.7s ease-in-out, transform 6s ease-out;
  transform: scale(1.05);
}
.carousel-img.prev-active {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
  /* prev-active일 때는 투명도 변화 없이 1을 유지 */
  transition: opacity 0s, transform 6s ease-out; 
}
.carousel-img.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
  transition: opacity 0.7s ease-in-out, transform 6s ease-out;
}
.carousel-indicators {
  position: absolute;
  bottom: 5%;
  right: 5%;
  display: flex;
  gap: 10px;
  z-index: 10;
}
.carousel-dot {
  width: 40px;
  height: 2px;
  background-color: rgba(255,255,255,0.3);
  transition: background-color 0.5s;
}
.carousel-dot.active {
  background-color: var(--color-bg-primary);
}

/* -------------------------------------
   Mobile & Tablet Responsive 
-------------------------------------- */
@media (max-width: 1024px) {
  .section {
    padding: 100px 5vw !important;
  }
  /* Split Layouts to Column */
  .flex-split {
    flex-direction: column !important;
    gap: 40px !important;
    height: auto !important;
  }
  .flex-split > div {
    width: 100% !important;
  }
  /* Slide 1 specific */
  .section.full-height .flex-split > div:first-child {
    padding: 60px 5vw !important;
  }
  .section.full-height .flex-split > div:last-child {
    height: 60vh !important;
    min-height: 400px;
  }
  .section.full-height .flex-split > div:last-child > .gsap-fade-up {
    left: 5% !important;
    bottom: 5% !important;
    padding: 20px !important;
    width: 90% !important;
  }
  /* Typography Adjustments */
  .text-giant {
    font-size: clamp(3rem, 12vw, 5rem) !important;
  }
  .text-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
  }
  /* Boxes and Containers */
  div[style*="display: flex; gap: 40px;"] {
    flex-direction: column !important;
    padding: 30px !important;
    gap: 20px !important;
  }
  div[style*="padding: 50px; display: flex"] {
    flex-direction: column !important;
    padding: 30px !important;
    gap: 15px !important;
  }
  /* Slide 11 Parallax Height */
  #slide11 > div:last-child {
    flex-direction: column !important;
    height: auto !important;
    gap: 20px !important;
  }
  .parallax-img-1, .parallax-img-2 {
    height: 300px !important;
    width: 100% !important;
  }
  /* Slide 13 & 15 Tables / Lists */
  div[style*="padding: 30px 0"], div[style*="padding: 40px 0"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 20px 0 !important;
  }
  div[style*="padding: 30px 0"] > div, div[style*="padding: 40px 0"] > div {
    width: 100% !important;
    text-align: left !important;
    margin-bottom: 5px;
  }
  div[style*="padding: 30px 0"] > div.mobile-right {
    text-align: right !important;
    padding-right: 0 !important;
  }
  /* Slide 8 Language Selector */
  div[style*="display: flex"][style*="gap: 2px"] {
    flex-wrap: wrap !important;
  }
  div[style*="display: flex"][style*="gap: 2px"] > div {
    width: 49% !important;
    padding: 20px 0 !important;
    flex: auto !important;
  }
  /* Slide 12 Estimate Header */
  .estimate-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 30px !important;
  }
  .estimate-header > div {
    text-align: left !important;
  }
}

@media (max-width: 768px) {
  .pc-only { display: none !important; }
  .section {
    padding: 80px 5vw !important;
    min-height: auto !important;
  }
  .section.full-height {
    height: auto !important;
  }
  /* Big Number */
  .big-number {
    font-size: 40vw;
    top: 50px;
    right: 5vw;
    opacity: 0.5;
  }
  .decor-line {
    margin: 20px 0;
  }
  /* Hide slide 1 indicators on mobile to save space */
  .carousel-indicators {
    bottom: 2%;
    transform: scale(0.8);
  }
}

/* Top Button */
.top-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.top-btn.show {
  opacity: 1;
  visibility: visible;
}
.top-btn:hover {
  background-color: var(--color-point);
  transform: translateY(-3px);
}
/* =========================================================
   상일뷰티 제안서 전용 컴포넌트 (2026-08-08 추가)
   템플릿 기본 반응형 규칙은 인라인 스타일 기준이라 이 클래스들에는
   걸리지 않는다 → 모바일 대응을 아래에서 직접 작성한다.
========================================================= */

/* 02 진단 카드 */
.diag-card {
  background-color: var(--color-bg-primary);
  border-left: 3px solid var(--color-point);
  padding: 32px 34px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.diag-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--color-point);
  border: 1px solid var(--color-point);
  padding: 4px 12px;
  margin-bottom: 16px;
}
.diag-title {
  font-family: var(--font-kr);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}
.diag-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}
.diag-text strong { color: var(--color-point); font-weight: 700; }

.caption-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-tertiary);
  margin-top: 14px;
}
.caption-text strong { color: var(--color-text-primary); }
.caption-hint {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--color-point);
}

/* 인트로 캐러셀 위 '현재 사이트' 라벨 */
.now-label {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 4;
  background-color: rgba(26, 22, 24, 0.82);
  color: #fff;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  padding: 8px 16px;
  backdrop-filter: blur(2px);
}
@media (max-width: 1024px) {
  .now-label { top: 16px; right: 16px; font-size: 0.65rem; padding: 6px 12px; }
}

.diag-alert {
  margin-top: 30px;
  padding: 30px 32px;
  background-color: var(--color-dark);
  color: #fff;
}
.diag-alert h4 {
  font-family: var(--font-kr);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-point);
  margin-bottom: 12px;
}
.diag-alert p { font-size: 1.05rem; line-height: 1.75; color: #ddd; }
.diag-alert strong { color: #fff; font-weight: 700; }

/* 03 채널 분리 */
.shop-col {
  flex: 1;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
}
.shop-col-pro {
  background-color: var(--color-dark);
  color: #fff;
}
.shop-col-general {
  background-color: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}
.shop-label {
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--color-point);
  margin-bottom: 18px;
}
.shop-title {
  font-family: var(--font-kr);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.35;
}
.shop-title span { font-size: 1.05rem; font-weight: 400; opacity: 0.7; }
.shop-list { list-style: none; margin: 0; padding: 0; }
.shop-list li {
  font-size: 1rem;
  line-height: 1.7;
  padding: 14px 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}
.shop-list li:last-child { border-bottom: none; }
.shop-col-pro .shop-list li { color: #c9c4c2; }
.shop-col-pro .shop-list strong { color: #fff; }
.shop-col-general .shop-list li { color: var(--color-text-secondary); }
.shop-col-general .shop-list strong { color: var(--color-text-primary); }

/* 03 진입 흐름 */
.flow-box {
  margin-top: 60px;
  padding: 44px 40px;
  border: 1px solid #e3dedb;
  background-color: var(--color-bg-secondary);
}
.flow-title {
  font-family: var(--font-kr);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--color-text-primary);
}
.flow-row { display: flex; align-items: stretch; gap: 20px; }
.flow-step {
  flex: 1;
  background-color: var(--color-bg-primary);
  border: 1px solid #e8e3e0;
  padding: 26px 24px;
}
.flow-step p { font-size: 1rem; line-height: 1.65; color: var(--color-text-secondary); }
.flow-step strong { color: var(--color-point); }
.flow-num {
  display: block;
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 200;
  color: var(--color-point);
  margin-bottom: 10px;
}
.flow-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: var(--color-text-tertiary);
}
.flow-note {
  margin-top: 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-tertiary);
}

/* 04 컬러 스와치 */
.swatch {
  width: 15vw;
  height: 15vw;
  max-width: 130px;
  max-height: 130px;
  min-width: 90px;
  min-height: 90px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
}
.swatch span {
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 1px;
  color: var(--color-text-primary);
}

/* 05 사이트맵 */
.sitemap-row {
  background-color: var(--color-bg-tertiary);
  padding: 44px 46px;
  display: flex;
  gap: 40px;
}
.sitemap-row h3 {
  flex: 1;
  font-family: var(--font-kr);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
}
.sitemap-row ul { flex: 2; list-style: none; margin: 0; padding: 0; }
.sitemap-row li {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
  border-bottom: 1px solid #e0dad7;
  padding-bottom: 14px;
}
.sitemap-row li:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.lock-mark, .open-mark {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}
.lock-mark { background-color: var(--color-point); color: #fff; }
.open-mark { background-color: #4a4442; color: #fff; }

/* 06 관리 항목 그리드 */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background-color: #e9e4e1;
  border: 1px solid #e9e4e1;
}
.admin-grid > div {
  background-color: var(--color-bg-primary);
  padding: 26px 12px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 500;
}

/* 07 검색 노출 통제 */
.seo-grid {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #333;
}
.seo-cell {
  flex: 1 1 33.333%;
  min-width: 260px;
  padding: 44px 36px;
  border-bottom: 1px solid #333;
  border-right: 1px solid #333;
}
.seo-cell h3 {
  font-family: var(--font-kr);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.45;
}
.seo-cell p { color: #a5a0a0; font-size: 1rem; line-height: 1.7; }
.seo-mark {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 12px;
  margin-bottom: 16px;
}
.seo-mark.block { background-color: var(--color-point); color: #fff; }
.seo-mark.boost { background-color: #3d3735; color: #fff; border: 1px solid #6b6462; }
.seo-note {
  margin-top: 40px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #8a8484;
}

/* 08 사전 점검 결과 박스 */
.check-box {
  width: 100%;
  max-width: 420px;
  background-color: var(--color-bg-primary);
  border: 1px solid #e6e0dd;
  padding: 34px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}
.check-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #f0eae7;
}
.check-row:last-child { border-bottom: none; }
.check-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--color-point);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.check-row strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 3px;
}
.check-row p { font-size: 0.92rem; color: var(--color-text-tertiary); line-height: 1.6; }

/* 09 견적표 */
.est-row {
  display: flex;
  padding: 28px 0;
  border-bottom: 1px solid #ddd6d3;
  align-items: center;
}
.est-row-highlight { background-color: rgba(200, 16, 46, 0.04); }
.est-cat { width: 12%; font-weight: 700; font-size: 1.05rem; }
.est-name { width: 22%; font-weight: 500; font-size: 1.02rem; }
.est-desc { width: 48%; color: var(--color-text-tertiary); font-size: 0.95rem; line-height: 1.6; padding-right: 20px; }
.est-price { width: 18%; text-align: right; font-family: var(--font-en); font-size: 1.25rem; }
.est-sum {
  display: flex;
  padding: 18px 0;
  border-bottom: 1px solid #ddd6d3;
  align-items: center;
}
.est-sum-label { width: 75%; text-align: right; padding-right: 40px; font-size: 1.05rem; color: var(--color-text-secondary); }
.est-sum-value { width: 25%; text-align: right; font-family: var(--font-en); font-size: 1.25rem; }
.est-total {
  display: flex;
  padding: 30px 0;
  border-bottom: 2px solid var(--color-text-primary);
  align-items: center;
  background-color: var(--color-bg-secondary);
}
.est-total-label { width: 75%; text-align: right; font-weight: 700; font-size: 1.5rem; padding-right: 40px; }
.est-total-value {
  width: 25%;
  text-align: right;
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-point);
  white-space: nowrap;
}
.est-total-value span {
  font-size: 0.9rem;
  font-family: var(--font-kr), sans-serif;
  font-weight: 400;
  color: var(--color-text-tertiary);
  margin-left: 6px;
}
.est-note {
  margin-top: 30px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-tertiary);
}

/* 09 홈 시안 미리보기 */
.sian-grid { display: flex; gap: 40px; align-items: flex-start; }
.sian-main { flex: 1.55; }
.sian-side { flex: 1; display: flex; flex-direction: column; gap: 14px; }
/* 모바일 캡처는 실제 기기 크기에 가깝게 보이도록 폭을 제한한다 */
.sian-side > .image-container { max-width: 300px; align-self: center; }
.sian-side > .sian-cap { text-align: center; }
.sian-cap {
  margin-top: 14px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-tertiary);
}
.sian-cap strong { color: var(--color-point); font-weight: 700; }
.sian-note {
  margin-top: 20px;
  padding: 30px 32px;
  background-color: var(--color-dark);
  color: #fff;
}
.sian-note h4 {
  font-family: var(--font-kr);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-point);
  margin-bottom: 18px;
}
.sian-note ul { list-style: none; margin: 0 0 18px; padding: 0; }
.sian-note li {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #c9c4c2;
  padding: 9px 0 9px 18px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sian-note li:last-child { border-bottom: none; }
.sian-note li::before { content: "·"; position: absolute; left: 4px; color: var(--color-point); }
.sian-note strong { color: #fff; font-weight: 700; }
.sian-note-tail { font-size: 0.88rem; line-height: 1.7; color: #8a8484; }
.sian-btn { margin-top: 6px; text-align: center; }
.sian-btn-note { font-size: 0.85rem; line-height: 1.7; color: var(--color-text-tertiary); }

@media (max-width: 1024px) {
  .sian-grid { flex-direction: column; gap: 30px; }
  .sian-side { width: 100%; }
  .sian-note { padding: 26px 24px; }
}

/* 10 진행 전 확인 사항 */
.check-need {
  margin-top: 70px;
  padding: 40px 42px;
  background-color: var(--color-dark);
  color: #fff;
}
.check-need h4 {
  font-family: var(--font-kr);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-point);
  margin-bottom: 20px;
}
.check-need ul { list-style: none; margin: 0; padding: 0; }
.check-need li {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #c9c4c2;
  padding: 12px 0 12px 20px;
  position: relative;
}
.check-need li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-point);
}
.check-need strong { color: #fff; font-weight: 700; }

/* 11 일정표 */
.sch-row {
  display: flex;
  padding: 34px 0;
  border-bottom: 1px solid #333;
  align-items: center;
}
.sch-row-first { border-top: 1px solid #333; }
.sch-row-urgent { background-color: rgba(200, 16, 46, 0.08); }
.sch-week {
  width: 20%;
  font-family: var(--font-en);
  font-size: 1.8rem;
  color: var(--color-point);
  font-weight: 300;
}
.sch-name { width: 30%; font-size: 1.3rem; font-weight: 500; color: #fff; }
.sch-desc { width: 50%; color: #a5a0a0; font-size: 1.05rem; line-height: 1.6; }
.sch-desc strong { color: var(--color-point); }

/* ---------- 태블릿 ---------- */
@media (max-width: 1024px) {
  .diag-card { padding: 26px 24px; }
  .shop-col { padding: 34px 28px; }
  .flow-box { padding: 32px 26px; }
  .flow-row { flex-direction: column; gap: 12px; }
  .flow-arrow { justify-content: center; transform: rotate(90deg); }
  .sitemap-row { flex-direction: column; gap: 18px; padding: 32px 28px; }
  .seo-cell { flex: 1 1 100%; min-width: 0; border-right: none; padding: 32px 24px; }
  .check-box { max-width: 100%; }
  .check-need { padding: 32px 26px; }

  /* 견적표 · 일정표 세로 전환 */
  .est-row, .est-sum, .est-total, .sch-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
  }
  .est-cat, .est-name, .est-desc, .est-price,
  .est-sum-label, .est-sum-value, .est-total-label, .est-total-value,
  .sch-week, .sch-name, .sch-desc {
    width: 100% !important;
    text-align: left !important;
    padding-right: 0 !important;
    margin-bottom: 6px;
  }
  .est-price, .est-sum-value, .est-total-value { text-align: right !important; }
  .est-cat { color: var(--color-point); }
}

/* ---------- 모바일 ---------- */
@media (max-width: 768px) {
  .diag-card { padding: 22px 20px; }
  .diag-title { font-size: 1.15rem; }
  .shop-title { font-size: 1.4rem; }
  .admin-grid > div { padding: 20px 8px; font-size: 0.95rem; }
  .swatch { min-width: 70px; min-height: 70px; width: 20vw; height: 20vw; }
  .swatch span { font-size: 0.6rem; }
  .est-total-label { font-size: 1.2rem; }
  .est-total-value { font-size: 1.5rem; }
  .sch-week { font-size: 1.5rem; }
  .sch-name { font-size: 1.15rem; }
  /* 인트로 우측 하단 연락처 박스가 화면 밖으로 나가지 않게 */
  .section.full-height .flex-split > div:last-child > .gsap-fade-up { left: 5% !important; }
}

@media (max-width: 768px) {
  .top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}
