/* =====================================================
   썬샤인 — Clay Design System
   부드러운 점토(claymorphism) 톤 · 크림 배경 · 햇살 옐로우
===================================================== */

:root{
  /* palette */
  --bg:#F8F6EC;
  --bg-deep:#F1EDDF;
  --block:#FFFFFF;
  --yellow:#FFC03A;
  --yellow-deep:#E29F1A;
  --yellow-wire:#FFD459;
  --kakao:#FEE500;

  --ink:#4A463B;
  --muted:#8F8876;
  --line:rgba(195,185,165,0.28);

  --font:"Pretendard","Apple SD Gothic Neo","Malgun Gothic",sans-serif;

  --r-sm:8px;
  --r-md:16px;
  --r-lg:24px;
  --r-pill:999px;

  /* clay shadows */
  --shadow-base:rgba(195,185,165,0.35);
  --highlight:rgba(255,255,255,1);

  --clay:
    15px 20px 35px var(--shadow-base),
    -10px -10px 20px var(--highlight);
  --clay-sm:
    8px 10px 22px var(--shadow-base),
    -6px -6px 14px var(--highlight);
  --clay-hover:
    20px 25px 40px var(--shadow-base),
    -15px -15px 25px var(--highlight);

  --inset:
    inset 8px 8px 16px var(--shadow-base),
    inset -8px -8px 16px var(--highlight);
  --inset-sm:
    inset 5px 5px 11px var(--shadow-base),
    inset -5px -5px 11px var(--highlight);

  --sphere:
    inset -15px -15px 30px rgba(226,159,26,0.5),
    inset 10px 10px 20px rgba(255,255,255,0.9),
    10px 15px 25px var(--shadow-base);
  --sphere-sm:
    inset -8px -8px 16px rgba(226,159,26,0.5),
    inset 6px 6px 12px rgba(255,255,255,0.9),
    6px 8px 14px var(--shadow-base);

  --btn:
    6px 8px 16px rgba(226,159,26,0.3),
    inset 2px 2px 4px rgba(255,255,255,0.7),
    inset -2px -2px 4px rgba(226,159,26,0.4);
  --btn-hover:
    8px 12px 22px rgba(226,159,26,0.4),
    inset 2px 2px 4px rgba(255,255,255,0.8),
    inset -2px -2px 4px rgba(226,159,26,0.5);
  --btn-active:
    2px 2px 8px rgba(226,159,26,0.3),
    inset 4px 4px 8px rgba(226,159,26,0.3);

  --ease-pop:cubic-bezier(0.175,0.885,0.32,1.275);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  font-family:var(--font);
  background:var(--bg);
  color:var(--ink);
  line-height:1.6;
  overflow-x:hidden;
  word-break:keep-all;
  position:relative;
}

/* 종이 질감 노이즈 오버레이 */
body::after{
  content:'';
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:9999;
  opacity:0.3;
  mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 떠다니는 햇살 입자 */
#particle-canvas{
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  pointer-events:none;
  z-index:-1;
}

h1,h2,h3,h4{
  font-weight:800;
  letter-spacing:-0.02em;
  line-height:1.3;
}

a{ -webkit-tap-highlight-color:transparent; }

/* ---------- reveal on scroll ---------- */
.reveal{
  opacity:0;
  transform:translateY(30px);
  transition:opacity 0.8s cubic-bezier(0.5,0,0,1), transform 0.8s cubic-bezier(0.5,0,0,1);
}
.reveal.in-view{
  opacity:1;
  transform:translateY(0);
}

/* ---------- header ---------- */
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 6%;
  background:rgba(248,246,236,0.72);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  position:sticky;
  top:0;
  z-index:50;
  flex-wrap:wrap;
  gap:10px;
  transition:box-shadow 0.3s ease, background 0.3s ease, padding 0.3s ease;
}
header.scrolled{
  background:rgba(248,246,236,0.9);
  box-shadow:0 6px 24px rgba(195,185,165,0.28);
}

.logo{
  display:inline-flex;
  align-items:center;
  gap:11px;
  font-size:1.6rem;
  font-weight:800;
  letter-spacing:-0.02em;
  color:var(--ink);
  text-decoration:none;
}
.logo-mark{
  width:24px;
  height:24px;
  flex-shrink:0;
  border-radius:50%;
  background:var(--yellow);
  box-shadow:var(--sphere-sm);
  transition:transform 0.35s var(--ease-pop);
}
.logo:hover .logo-mark{ transform:scale(1.14) rotate(12deg); }

nav{ display:flex; align-items:center; flex-wrap:wrap; gap:10px 20px; }
.nav-links{ display:flex; align-items:center; flex-wrap:wrap; gap:6px 26px; }
.nav-cta{ display:flex; align-items:center; flex-wrap:nowrap; gap:10px; }

.nav-links a{
  position:relative;
  text-decoration:none;
  color:var(--ink);
  font-weight:600;
  font-size:0.95rem;
  padding:6px 0;
}
.nav-links a::after{
  content:'';
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  border-radius:2px;
  background:var(--yellow);
  transition:width 0.3s ease;
}
.nav-links a:hover::after{ width:100%; }

.call-badge{
  background:var(--bg);
  color:var(--ink);
  padding:8px 16px;
  border-radius:var(--r-sm);
  font-weight:700;
  font-size:0.9rem;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:var(--inset-sm);
}
.kakao-badge{
  background:var(--block);
  color:var(--ink);
  padding:8px 16px;
  border-radius:var(--r-sm);
  font-weight:700;
  font-size:0.9rem;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:var(--clay-sm);
  transition:transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.kakao-badge:hover{
  transform:translateY(-2px);
  color:var(--yellow-deep);
  box-shadow:var(--clay);
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  text-align:center;
  padding:96px 6% 88px;
  overflow:hidden;
}
.hero-content{ position:relative; z-index:2; }
.hero h1{
  font-size:clamp(1.7rem,4.2vw,3.2rem);
  max-width:900px;
  margin:0 auto 18px;
}
.hero h1 span{
  color:var(--yellow-deep);
  display:inline-block;
}
.hero p{
  font-size:1.05rem;
  color:var(--muted);
  max-width:560px;
  margin:0 auto 34px;
}
.hero-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--yellow);
  color:var(--ink);
  padding:16px 38px;
  border-radius:var(--r-sm);
  font-weight:800;
  font-size:1.05rem;
  text-decoration:none;
  box-shadow:var(--btn);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-cta:hover{ transform:translateY(-3px); box-shadow:var(--btn-hover); }
.hero-cta:active{ transform:translateY(2px); box-shadow:var(--btn-active); }

/* 히어로 배경 점토 오브제 */
.hero-deco{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
}
.hero-deco span{ position:absolute; display:block; }

.deco-orb{
  border-radius:50%;
  background:var(--yellow);
  box-shadow:var(--sphere);
  animation:float 6s ease-in-out infinite;
}
.deco-orb-a{ width:88px; height:88px; top:16%; left:8%; }
.deco-orb-b{ width:52px; height:52px; bottom:18%; right:11%; animation-duration:5s; animation-delay:1s; }

.deco-tile{
  background:var(--block);
  border-radius:14px;
  box-shadow:var(--clay);
  animation:float 8s ease-in-out infinite reverse;
}
.deco-tile-a{ width:104px; height:150px; top:12%; right:9%; }
.deco-tile-b{ width:118px; height:82px; bottom:12%; left:12%; animation-duration:7s; animation-delay:0.6s; }

.deco-ring{
  border:3px solid var(--yellow-wire);
  border-radius:50%;
  opacity:0.75;
}
.deco-ring-a{ width:300px; height:170px; top:6%; left:-4%; transform:rotate(34deg); }
.deco-ring-b{ width:220px; height:300px; bottom:-12%; right:-2%; transform:rotate(-24deg); border-width:2px; }

@keyframes float{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-15px); }
}
/* 회전이 걸린 링은 transform 충돌 방지를 위해 애니메이션 제외 */

/* ---------- inner page hero ---------- */
.page-hero{
  position:relative;
  text-align:center;
  padding:72px 6% 56px;
  overflow:hidden;
}
.page-hero::before,
.page-hero::after{
  content:'';
  position:absolute;
  border:2px solid var(--yellow-wire);
  border-radius:50%;
  opacity:0.55;
  pointer-events:none;
}
.page-hero::before{ width:260px; height:150px; top:8%; left:-3%; transform:rotate(28deg); }
.page-hero::after{ width:190px; height:250px; bottom:-30%; right:-2%; transform:rotate(-22deg); }

.page-hero > *{ position:relative; z-index:1; }
.page-hero .breadcrumb{
  font-size:0.82rem;
  color:var(--muted);
  margin-bottom:12px;
}
.page-hero .breadcrumb a{ color:var(--yellow-deep); text-decoration:none; font-weight:700; }
.page-hero .breadcrumb a:hover{ text-decoration:underline; }
.page-hero h1{ font-size:clamp(1.7rem,3.4vw,2.5rem); margin-bottom:10px; }
.page-hero p{ color:var(--muted); font-size:1rem; max-width:560px; margin:0 auto; }

/* ---------- section headings ---------- */
.section-title{
  text-align:center;
  font-size:clamp(1.5rem,2.6vw,2.1rem);
  margin:88px 0 14px;
}
.section-title span{ color:var(--yellow-deep); }

.section-sub{
  text-align:center;
  color:var(--muted);
  font-size:0.95rem;
  margin:0 0 38px;
}
.section-title + .values,
.section-title + .packages,
.section-title + .timeline,
.section-title + .reviews,
.section-title + .items-gallery,
.section-title + .faq{ margin-top:38px; }

.section-cta{ text-align:center; margin:8px 0 48px; }
.outline-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--block);
  color:var(--ink);
  padding:14px 30px;
  border-radius:var(--r-sm);
  font-weight:700;
  font-size:0.95rem;
  text-decoration:none;
  box-shadow:var(--clay-sm);
  transition:transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.outline-btn:hover{
  transform:translateY(-3px);
  color:var(--yellow-deep);
  box-shadow:var(--clay-hover);
}
.outline-btn:active{ transform:translateY(1px); box-shadow:var(--inset-sm); }

/* ---------- price band (기본 패키지 강조) ---------- */
.price-band{
  position:relative;
  display:flex;
  align-items:center;
  gap:clamp(28px,5vw,64px);
  flex-wrap:wrap;
  max-width:1000px;
  margin:0 auto;
  padding:52px clamp(28px,5vw,56px);
}
.price-band::before{
  content:'';
  position:absolute;
  inset:0;
  background:var(--block);
  border-radius:var(--r-lg);
  box-shadow:var(--clay);
  z-index:-1;
}
.price-band-main{ flex:1 1 320px; }
.price-band-label{
  display:inline-block;
  background:var(--bg);
  color:var(--yellow-deep);
  font-weight:700;
  font-size:0.82rem;
  padding:6px 14px;
  border-radius:var(--r-sm);
  box-shadow:var(--inset-sm);
  margin-bottom:16px;
}
.price-band-figure{
  font-size:clamp(2.8rem,6vw,4.2rem);
  font-weight:800;
  letter-spacing:-0.05em;
  line-height:1.05;
  color:var(--yellow);
  text-shadow:
    -2px -2px 4px rgba(255,255,255,1),
    4px 4px 8px rgba(226,159,26,0.32);
}
.price-band-figure span{
  font-size:0.36em;
  font-weight:700;
  color:var(--ink);
  text-shadow:none;
  margin-left:6px;
}
.price-band-desc{
  margin:16px 0 24px;
  color:var(--muted);
  font-size:0.95rem;
  max-width:430px;
}
.price-band-points{ flex:1 1 280px; list-style:none; }
.price-band-points li{
  position:relative;
  padding:13px 0 13px 28px;
  border-bottom:1px solid var(--line);
  font-size:0.95rem;
  font-weight:600;
}
.price-band-points li:last-child{ border-bottom:none; }
.price-band-points li::before{
  content:'✓';
  position:absolute;
  left:0;
  top:13px;
  color:var(--yellow-deep);
  font-weight:800;
}

/* ---------- brand values ---------- */
.values{
  display:flex;
  gap:26px;
  justify-content:center;
  flex-wrap:wrap;
  padding:0 6%;
  max-width:1040px;
  margin:0 auto;
}
.value-card{
  flex:1;
  min-width:230px;
  max-width:300px;
  text-align:left;
  background:var(--block);
  border-radius:var(--r-md);
  padding:34px 28px;
  box-shadow:var(--clay);
  transition:transform 0.3s var(--ease-pop), box-shadow 0.3s ease;
}
.value-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--clay-hover);
}
.value-card .icon{
  width:68px;
  height:68px;
  margin:0 0 20px;
  border-radius:var(--r-sm);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.7rem;
  background:var(--bg);
  box-shadow:var(--inset);
}
.value-card h4{ font-size:1.2rem; margin-bottom:10px; }
.value-card p{ font-size:0.92rem; color:var(--muted); line-height:1.65; }

/* ---------- packages ---------- */
.packages{
  display:flex;
  gap:32px;
  justify-content:center;
  flex-wrap:wrap;
  padding:0 24px;
  max-width:940px;
  margin:0 auto;
}
.card{
  position:relative;
  display:flex;
  flex-direction:column;
  background:var(--block);
  border:none;
  border-radius:var(--r-md);
  padding:36px 32px;
  flex:1 1 340px;
  max-width:420px;
  box-shadow:var(--clay);
  transition:transform 0.3s var(--ease-pop), box-shadow 0.3s ease;
}
.card:hover{
  transform:translateY(-8px);
  box-shadow:var(--clay-hover);
}
.card .badge{
  display:inline-block;
  align-self:flex-start;
  background:var(--bg);
  color:var(--yellow-deep);
  font-weight:700;
  font-size:0.8rem;
  padding:6px 14px;
  border-radius:var(--r-sm);
  margin-bottom:14px;
  box-shadow:var(--inset-sm);
}
.card h3{ font-size:1.35rem; margin-bottom:4px; }
.card .price{
  font-size:2.3rem;
  font-weight:800;
  color:var(--ink);
  letter-spacing:-0.03em;
  margin:14px 0 22px;
}
.card ul{ list-style:none; padding:0; flex-grow:1; }
.card ul li{
  position:relative;
  padding:11px 0 11px 26px;
  border-bottom:1px solid var(--line);
  font-size:0.94rem;
  color:var(--ink);
}
.card ul li::before{
  content:'✓';
  position:absolute;
  left:0;
  top:11px;
  color:var(--yellow-deep);
  font-weight:800;
}
.card ul li:last-child{ border-bottom:none; }
.card .note{
  margin-top:18px;
  padding:12px 16px;
  border-radius:var(--r-sm);
  background:var(--bg);
  box-shadow:var(--inset-sm);
  font-size:0.82rem;
  color:var(--muted);
}

.card.highlight{ border:2px solid var(--yellow-wire); }
.card.highlight::before{
  content:"업그레이드 추천";
  position:absolute;
  top:-15px;
  right:26px;
  background:var(--yellow);
  color:var(--ink);
  font-size:0.78rem;
  font-weight:700;
  padding:6px 16px;
  border-radius:var(--r-sm);
  box-shadow:4px 6px 14px rgba(226,159,26,0.32);
}

/* ---------- extra fees ---------- */
.extra{
  max-width:780px;
  margin:56px auto 0;
  background:var(--block);
  border-radius:var(--r-md);
  padding:32px 34px;
  box-shadow:var(--clay);
}
.extra h4{ margin-bottom:18px; font-size:1.15rem; }
.extra table{ width:100%; border-collapse:collapse; font-size:0.94rem; }
.extra td{ padding:12px 4px; border-bottom:1px solid var(--line); color:var(--muted); }
.extra tr:last-child td{ border-bottom:none; }
.extra td:last-child{ text-align:right; font-weight:800; color:var(--yellow-deep); }

/* ---------- 약관·개인정보처리방침 본문 ---------- */
.legal-doc{
  max-width:780px;
  margin:0 auto 72px;
  background:var(--block);
  border-radius:var(--r-md);
  padding:40px 42px;
  box-shadow:var(--clay);
  font-size:0.94rem;
  line-height:1.75;
  color:var(--ink);
}
.legal-doc h2{ font-size:1.05rem; margin:32px 0 10px; }
.legal-doc h2:first-child{ margin-top:0; }
.legal-doc p{ margin:0 0 10px; }
.legal-doc ul{ margin:0 0 10px; padding-left:20px; }
.legal-doc li{ margin-bottom:4px; }
.legal-doc a{ color:var(--yellow-deep); font-weight:700; }
.legal-doc table{ width:100%; border-collapse:collapse; margin:6px 0 12px; font-size:0.9rem; }
.legal-doc th,.legal-doc td{ padding:10px 12px; border:1px solid var(--line); text-align:left; vertical-align:top; }
.legal-doc th{ background:var(--bg); font-weight:700; }
/* 개인정보처리방침 링크는 다른 링크와 구분되게 (개인정보 보호법 시행령 제31조) */
.footer-links a.privacy-link{ font-weight:800; color:var(--yellow-deep); }

/* ---------- included items gallery ---------- */
.items-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  max-width:720px;
  margin:0 auto;
  padding:0 24px;
}
.item-card{
  background:var(--block);
  border-radius:var(--r-md);
  padding:20px 18px;
  text-align:center;
  box-shadow:var(--clay-sm);
  transition:transform 0.3s var(--ease-pop), box-shadow 0.3s ease;
}
.item-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--clay-hover);
}
.item-img{
  width:100%;
  aspect-ratio:1/1;
  border-radius:var(--r-sm);
  background:var(--bg);
  box-shadow:var(--inset-sm);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
  overflow:hidden;
}
.item-img img{ width:100%; height:100%; object-fit:cover; }
.item-img svg{ width:56%; height:56%; }
.item-card h4{ font-size:0.98rem; margin-bottom:5px; }
.item-card p{ font-size:0.76rem; color:var(--muted); line-height:1.5; }

/* ---------- process timeline ---------- */
.timeline{
  max-width:880px;
  margin:0 auto;
  padding:0 6%;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:24px;
}
.step{
  flex:1;
  min-width:150px;
  text-align:center;
  background:var(--block);
  border-radius:var(--r-md);
  padding:28px 18px;
  box-shadow:var(--clay-sm);
  transition:transform 0.3s var(--ease-pop), box-shadow 0.3s ease;
}
.step:hover{
  transform:translateY(-8px);
  box-shadow:var(--clay-hover);
}
.step .icon{
  width:60px;
  height:60px;
  font-size:1.5rem;
  margin:0 auto 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--bg);
  box-shadow:var(--inset-sm);
}
.step h4{ font-size:1rem; margin-bottom:6px; }
.step p{ font-size:0.82rem; color:var(--muted); }

.timeline-preview .step p{ display:none; }
.timeline-preview .step{ padding:30px 16px; }

/* 상세 절차는 2×2 격자로 — 문단이 길어 4열은 좁아짐 */
.timeline-detailed{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  max-width:900px;
  gap:28px;
  padding:0 24px;
}
.timeline-detailed .step{
  min-width:0;
  text-align:left;
  padding:32px 28px;
}
.timeline-detailed .step .icon{
  margin:0 0 18px;
  width:64px;
  height:64px;
  border-radius:var(--r-sm);
}
.timeline-detailed .step h4{ font-size:1.15rem; margin-bottom:10px; }
.timeline-detailed .step p{ font-size:0.9rem; line-height:1.7; }

/* ---------- reviews ---------- */
.reviews{
  display:flex;
  gap:26px;
  justify-content:center;
  flex-wrap:wrap;
  max-width:1080px;
  margin:0 auto;
  padding:14px 6%;
}
.review-card{
  flex:1 1 280px;
  max-width:330px;
  background:var(--block);
  border-radius:var(--r-md);
  padding:30px 28px;
  box-shadow:var(--clay);
  transition:transform 0.3s var(--ease-pop), box-shadow 0.3s ease;
}
.review-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--clay-hover);
}
.review-card .stars{
  color:var(--yellow-deep);
  letter-spacing:3px;
  margin-bottom:14px;
}
.review-card p{ font-size:0.94rem; color:var(--ink); margin-bottom:18px; line-height:1.7; }
.review-card .who{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:0.84rem;
  color:var(--muted);
  font-weight:700;
}
.review-card .who::before{
  content:'';
  width:30px;
  height:30px;
  flex-shrink:0;
  border-radius:50%;
  background:var(--bg);
  box-shadow:var(--inset-sm);
}

/* ---------- FAQ ---------- */
.faq{ max-width:780px; margin:0 auto; padding:0 6%; }
.faq-item{
  background:var(--block);
  border:none;
  border-radius:var(--r-sm);
  margin-bottom:16px;
  overflow:hidden;
  box-shadow:var(--clay-sm);
}
.faq-q{
  padding:22px 26px;
  font-weight:700;
  font-size:1.05rem;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}
.faq-q .arrow{
  width:30px;
  height:30px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--bg);
  box-shadow:var(--inset-sm);
  color:var(--yellow-deep);
  font-size:0.85rem;
  transition:transform 0.3s ease;
}
.faq-item.open .faq-q .arrow{ transform:rotate(180deg); }
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.35s ease, padding 0.35s ease;
  padding:0 26px;
  font-size:0.94rem;
  color:var(--muted);
  line-height:1.75;
}
.faq-item.open .faq-a{ max-height:420px; padding:0 26px 24px; }

/* ---------- bottom CTA ---------- */
.cta-bottom{
  position:relative;
  text-align:center;
  padding:120px 6%;
  margin-top:96px;
  background:transparent;
  overflow:hidden;
}
.cta-bottom::before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:min(720px,120vw);
  height:min(720px,120vw);
  background:radial-gradient(circle, rgba(255,192,58,0.18) 0%, transparent 62%);
  pointer-events:none;
}
.cta-bottom > *{ position:relative; z-index:1; }
.cta-bottom h2{ font-size:clamp(1.5rem,3vw,2.2rem); margin-bottom:12px; }
.cta-bottom p{ color:var(--muted); margin-bottom:36px; }
.cta-buttons{ display:flex; gap:18px; justify-content:center; flex-wrap:wrap; }

.phone-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--yellow);
  color:var(--ink);
  padding:20px 44px;
  border-radius:var(--r-sm);
  font-size:1.3rem;
  font-weight:800;
  text-decoration:none;
  box-shadow:var(--btn);
  animation:pulse 2.4s infinite;
  transition:transform 0.2s ease;
}
.phone-btn:hover{ transform:translateY(-3px); }
.phone-btn:active{ transform:translateY(2px); box-shadow:var(--btn-active); }

.kakao-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--block);
  color:var(--ink);
  padding:20px 38px;
  border-radius:var(--r-sm);
  font-size:1.1rem;
  font-weight:800;
  text-decoration:none;
  box-shadow:var(--clay);
  transition:transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.kakao-btn:hover{
  transform:translateY(-3px);
  color:var(--yellow-deep);
  box-shadow:var(--clay-hover);
}
.kakao-btn:active{ transform:translateY(1px); box-shadow:var(--inset-sm); }

@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(255,192,58,0.45), var(--btn); }
  70%{ box-shadow:0 0 0 24px rgba(255,192,58,0), var(--btn); }
  100%{ box-shadow:0 0 0 0 rgba(255,192,58,0), var(--btn); }
}

/* ---------- wave divider + footer ---------- */
.wave-divider{
  line-height:0;
  margin-top:-2px;
}
.wave-divider svg{
  width:100%;
  height:70px;
  display:block;
}
.wave-divider path{ fill:var(--bg-deep); }

footer{
  background:var(--bg-deep);
  color:var(--muted);
  padding:20px 6% 40px;
  font-size:0.84rem;
  text-align:center;
}
.footer-top{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:18px 32px;
  padding-bottom:24px;
  margin-bottom:24px;
  border-bottom:1px solid var(--line);
}
.footer-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:1.15rem;
  color:var(--ink);
}
.footer-brand::before{
  content:'';
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--yellow);
  box-shadow:var(--sphere-sm);
}
.footer-links{ display:flex; gap:22px; flex-wrap:wrap; justify-content:center; }
.footer-links a{
  color:var(--ink);
  text-decoration:none;
  font-size:0.85rem;
  font-weight:600;
  transition:color 0.2s ease;
}
.footer-links a:hover{ color:var(--yellow-deep); }
.footer-sns{ display:flex; gap:10px; }
.footer-sns a{
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--bg);
  color:var(--muted);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.74rem;
  font-weight:800;
  text-decoration:none;
  box-shadow:var(--inset-sm);
  transition:color 0.2s ease, transform 0.2s ease;
}
.footer-sns a:hover{ color:var(--yellow-deep); transform:translateY(-2px); }
footer .copyright{ margin-top:18px; color:var(--muted); font-size:0.74rem; opacity:0.8; }

/* ---------- floating quick button ---------- */
.float-btn{
  position:fixed;
  right:26px;
  bottom:26px;
  background:var(--yellow);
  color:var(--ink);
  width:62px;
  height:62px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
  text-decoration:none;
  box-shadow:var(--sphere);
  opacity:0;
  visibility:hidden;
  transform:translateY(20px) scale(0.8);
  transition:opacity 0.3s ease, transform 0.3s var(--ease-pop), visibility 0.3s;
  z-index:60;
}
.float-btn.show{ opacity:1; visibility:visible; transform:translateY(0) scale(1); }
.float-btn:hover{ transform:translateY(-4px) scale(1.06); }

/* ---------- 연계 서비스(알뜰한상조) 안내 팝업 ---------- */
.promo-overlay{
  position:fixed;
  inset:0;
  z-index:200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(74,70,59,0.38);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  opacity:0;
  transition:opacity 0.3s ease;
}
.promo-overlay[hidden]{ display:none; }
.promo-overlay.open{ opacity:1; }

.promo-modal{
  position:relative;
  width:100%;
  max-width:430px;
  max-height:calc(100vh - 48px);
  overflow-y:auto;
  background:var(--block);
  border-radius:var(--r-lg);
  box-shadow:var(--clay);
  padding:38px 34px 28px;
  transform:translateY(18px) scale(0.97);
  transition:transform 0.35s var(--ease-pop);
}
.promo-overlay.open .promo-modal{ transform:none; }

.promo-close{
  position:absolute;
  top:14px;
  right:16px;
  width:34px;
  height:34px;
  border:none;
  cursor:pointer;
  border-radius:50%;
  background:var(--bg);
  box-shadow:var(--inset-sm);
  color:var(--muted);
  font-family:inherit;
  font-size:1.3rem;
  line-height:1;
  transition:color 0.2s ease;
}
.promo-close:hover{ color:var(--yellow-deep); }

.promo-badge{
  display:inline-block;
  background:var(--bg);
  color:var(--yellow-deep);
  font-size:0.76rem;
  font-weight:700;
  padding:5px 13px;
  border-radius:var(--r-sm);
  box-shadow:var(--inset-sm);
  margin-bottom:16px;
}
.promo-modal h3{ font-size:1.35rem; line-height:1.45; margin-bottom:12px; }
.promo-modal h3 strong{ color:var(--yellow-deep); }
.promo-desc{
  font-size:0.92rem;
  color:var(--muted);
  line-height:1.75;
  margin-bottom:22px;
}
.promo-desc strong{ color:var(--ink); font-weight:700; }

.promo-steps{
  list-style:none;
  counter-reset:promo;
  background:var(--bg);
  border-radius:var(--r-sm);
  box-shadow:var(--inset-sm);
  padding:18px 20px;
  margin-bottom:24px;
}
.promo-steps li{
  counter-increment:promo;
  position:relative;
  padding:7px 0 7px 34px;
  font-size:0.9rem;
  font-weight:600;
}
.promo-steps li::before{
  content:counter(promo);
  position:absolute;
  left:0;
  top:8px;
  width:23px;
  height:23px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--yellow);
  box-shadow:var(--sphere-sm);
  color:#fff;
  font-size:0.72rem;
  font-weight:800;
}

.promo-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--yellow);
  color:var(--ink);
  padding:17px 24px;
  border-radius:var(--r-sm);
  font-weight:800;
  font-size:1rem;
  text-decoration:none;
  box-shadow:var(--btn);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-cta:hover{ transform:translateY(-3px); box-shadow:var(--btn-hover); }
.promo-cta:active{ transform:translateY(2px); box-shadow:var(--btn-active); }

.promo-sub{
  display:block;
  margin-top:12px;
  text-align:center;
  font-size:0.85rem;
  font-weight:600;
  color:var(--muted);
  text-decoration:none;
  padding:8px;
  border-radius:var(--r-sm);
  transition:color 0.2s ease;
}
.promo-sub:hover{ color:var(--yellow-deep); text-decoration:underline; }

.promo-note{
  margin-top:6px;
  font-size:0.78rem;
  color:var(--muted);
  text-align:center;
  line-height:1.6;
}
.promo-hide{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--line);
  font-size:0.82rem;
  color:var(--muted);
  cursor:pointer;
}
.promo-hide input{ width:15px; height:15px; accent-color:var(--yellow-deep); cursor:pointer; }

/* 항상 떠 있는 재열기 탭 */
.promo-tab{
  position:fixed;
  left:26px;
  bottom:26px;
  z-index:60;
  display:inline-flex;
  align-items:center;
  gap:9px;
  background:var(--block);
  color:var(--ink);
  border:none;
  cursor:pointer;
  padding:13px 20px;
  border-radius:var(--r-pill);
  font-family:inherit;
  font-size:0.88rem;
  font-weight:700;
  box-shadow:var(--clay-sm);
  transition:transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.promo-tab:hover{ transform:translateY(-3px); color:var(--yellow-deep); box-shadow:var(--clay); }
.promo-tab-dot{
  width:9px;
  height:9px;
  flex-shrink:0;
  border-radius:50%;
  background:var(--yellow);
  box-shadow:var(--sphere-sm);
  animation:promoPulse 2s ease-in-out infinite;
}
@keyframes promoPulse{
  0%,100%{ transform:scale(1); opacity:1; }
  50%{ transform:scale(1.4); opacity:0.65; }
}

/* =====================================================
   RESPONSIVE — TABLET (<=768px)
===================================================== */
@media (max-width:768px){
  header{
    padding:12px 5% 10px;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    text-align:left;
    gap:10px;
  }
  .logo{ font-size:1.4rem; }
  .logo-mark{ width:20px; height:20px; }
  nav{
    justify-content:flex-start;
    align-items:center;
    width:100%;
    gap:8px 0;
  }
  .nav-links{ gap:6px 10px; }
  .nav-cta{ gap:8px; }
  .nav-links a{
    font-size:0.8rem;
    padding:6px 12px;
    border-radius:var(--r-sm);
    background:var(--block);
    box-shadow:var(--clay-sm);
  }
  .nav-links a::after{ display:none; }
  .call-badge,.kakao-badge{ font-size:0.78rem; padding:6px 12px; }

  .hero{ padding:52px 6% 48px; }
  .hero h1 span{ display:block; margin-top:4px; }
  .hero p{ font-size:0.95rem; margin-bottom:26px; }
  .hero-cta{ padding:14px 30px; font-size:0.98rem; }
  .deco-tile-a{ width:70px; height:100px; right:3%; }
  .deco-tile-b{ width:78px; height:56px; left:3%; }
  .deco-orb-a{ width:58px; height:58px; left:3%; }
  .deco-orb-b{ width:36px; height:36px; right:4%; }
  /* .hero-deco span 보다 특이도가 높아야 숨겨짐 */
  .hero-deco .deco-ring{ display:none; }

  .price-band{ padding:36px 26px; gap:24px; }
  .price-band-desc{ margin:12px 0 20px; font-size:0.9rem; }
  .price-band-points li{ padding:11px 0 11px 26px; font-size:0.9rem; }

  .section-title{ margin:64px 0 12px; }
  .section-sub{ margin-bottom:28px; }
  .section-title + .values,
  .section-title + .packages,
  .section-title + .timeline,
  .section-title + .reviews,
  .section-title + .items-gallery,
  .section-title + .faq{ margin-top:28px; }

  .values{ gap:18px; }
  .value-card{ min-width:210px; padding:26px 22px; }
  .value-card .icon{ width:58px; height:58px; font-size:1.5rem; margin-bottom:16px; }

  .items-gallery{ gap:16px; max-width:560px; }
  .item-card{ padding:14px; }
  .item-card h4{ font-size:0.86rem; }
  .item-card p{ font-size:0.7rem; }

  .packages{ gap:22px; }
  .card{ flex:1 1 100%; max-width:440px; padding:28px 24px; }
  .extra{ padding:26px 22px; margin-top:40px; }

  .timeline{ gap:16px; }
  .step{ min-width:44%; padding:22px 14px; }
  .timeline-detailed{ gap:16px; }
  .timeline-detailed .step{ padding:26px 22px; }

  .review-card{ flex:1 1 100%; max-width:100%; }

  .page-hero{ padding:48px 6% 38px; }
  .page-hero::before,.page-hero::after{ display:none; }
  .legal-doc{ margin:0 16px 56px; padding:26px 20px; font-size:0.9rem; }
  .legal-doc th,.legal-doc td{ padding:8px; }

  .cta-bottom{ padding:80px 6%; margin-top:64px; }
  .phone-btn{ font-size:1.1rem; padding:16px 32px; }
  .kakao-btn{ font-size:1rem; padding:16px 28px; }

  .footer-top{ flex-direction:column; gap:16px; }
}

/* =====================================================
   RESPONSIVE — MOBILE (<=480px)
===================================================== */
@media (max-width:480px){
  header{ padding:10px 5% 8px; }
  .logo{ font-size:1.3rem; }
  .nav-links a{ font-size:0.74rem; padding:5px 10px; }
  .call-badge,.kakao-badge{ font-size:0.74rem; padding:5px 10px; }

  .hero{ padding:44px 6% 40px; }
  .hero h1 span{ display:block; margin-top:4px; }
  .hero p{ font-size:0.88rem; }
  .hero-deco .deco-tile{ display:none; }
  .deco-orb-a{ width:44px; height:44px; top:8%; }
  .deco-orb-b{ width:28px; height:28px; }

  .values{ flex-direction:column; align-items:stretch; }
  .value-card{ max-width:100%; width:100%; }

  .items-gallery{ grid-template-columns:repeat(2,1fr); gap:12px; padding:0 20px; }
  .item-card{ padding:12px; }
  .item-card h4{ font-size:0.8rem; }
  .item-card p{ display:none; }

  .card{ padding:24px 20px; }
  .card .price{ font-size:1.85rem; }
  .card.highlight::before{ right:16px; font-size:0.72rem; padding:5px 12px; }

  .wave-divider svg{ height:42px; }

  .timeline{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
  }
  .step{ width:auto; min-width:0; padding:18px 12px; }
  .step .icon{ width:50px; height:50px; font-size:1.3rem; }
  .step h4{ font-size:0.88rem; }
  .step p{ font-size:0.74rem; }

  .timeline-detailed{ display:flex; flex-direction:column; }
  .timeline-detailed .step{ width:100%; text-align:left; padding:24px 20px; }
  .timeline-detailed .step p{ display:block; font-size:0.85rem; }
  .timeline-detailed .step .icon{ width:54px; height:54px; }

  .faq-q{ padding:18px 20px; font-size:0.96rem; }
  .faq-a{ padding:0 20px; font-size:0.88rem; }
  .faq-item.open .faq-a{ padding:0 20px 20px; }

  .cta-buttons{ flex-direction:column; align-items:stretch; }
  .phone-btn,.kakao-btn{ width:100%; justify-content:center; }

  .float-btn{ width:54px; height:54px; font-size:1.3rem; right:16px; bottom:16px; }

  .promo-overlay{ padding:16px; }
  .promo-modal{ padding:32px 22px 24px; border-radius:var(--r-md); }
  .promo-modal h3{ font-size:1.15rem; }
  .promo-desc{ font-size:0.86rem; margin-bottom:18px; }
  .promo-steps{ padding:14px 16px; margin-bottom:20px; }
  .promo-steps li{ font-size:0.84rem; }
  .promo-cta{ padding:15px 18px; font-size:0.92rem; }
  .promo-tab{ left:16px; bottom:16px; padding:11px 15px; font-size:0.79rem; }

  footer{ padding:16px 6% 30px; font-size:0.76rem; }
}

/* =====================================================
   접근성 — 모션 최소화 설정 존중
===================================================== */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
  }
  .reveal{ opacity:1; transform:none; }
  #particle-canvas{ display:none; }
}