/* =========================================================
   천룡암 스타일시트
   ---------------------------------------------------------
   목차
   0. 디자인 토큰  ← ✏️ 색상·글꼴·간격은 여기서만 바꾸면 전체 반영
   1. 기본 설정
   2. 공통 (컨테이너, 섹션 제목, 버튼, 물결, 반짝이)
   3. 헤더 / 메뉴
   4. 메인 비주얼 (hero)
   5. 공감
   6. 천룡암 신점 (붉은 강조 섹션)
   7. 상담 분야
   8. 천룡암 소개
   9. 상담 안내
   10. FAQ
   11. 오시는 길
   12. 마지막 문의 유도
   13. 푸터
   14. 따라다니는 빠른 연락 버튼
   15. 애니메이션 · 스크롤 등장
   16. 반응형 (540px~ / 768px~ / 1024px~)
   ---------------------------------------------------------
   모바일 우선(Mobile First): 기본 = 휴대폰,
   화면이 넓어질수록 아래 @media (min-width) 에서 덮어씀
   ========================================================= */


/* ========== 0. 디자인 토큰 ========== */
:root {
  /* 기본 색상: 따뜻한 빨강 · 금색 · 크림 */
  --c-red: #C8412D;
  --c-red-dark: #A3321F;
  --c-red-deep: #7E2416;     /* 붉은 섹션 아래쪽 색 */
  --c-gold: #E7A32B;
  --c-gold-dark: #A86F10;
  --c-yellow: #FFD978;
  --c-yellow-soft: #FFF1D2;
  --c-cream: #FFF8EC;
  --c-peach: #FDE6BF;
  --c-white: #FFFFFF;

  --c-text: #3A3430;         /* 본문 (따뜻한 진회색) */
  --c-text-sub: #6E6660;     /* 보조 설명 */
  --c-line: #EFDFC6;         /* 구분선, 테두리 */

  --c-kakao: #FEE500;
  --c-kakao-text: #191919;

  /* 그라데이션 */
  --grad-red:   linear-gradient(135deg, #E25A3A 0%, #C8412D 50%, #A3321F 100%);
  --grad-gold:  linear-gradient(135deg, #FFE08A 0%, #F2B640 50%, #DC901E 100%);
  --grad-frame: linear-gradient(135deg, #FFD978 0%, #E7A32B 45%, #C8412D 100%);   /* 카드 테두리 */

  /* 글꼴 */
  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-title: "Noto Serif KR", "Nanum Myeongjo", serif;

  /* 간격 · 모양 */
  --gutter: 20px;            /* 화면 좌우 여백 */
  --section-y: 80px;         /* 섹션 위아래 여백 */
  --wave-h: 44px;            /* 물결 경계 높이 */
  --radius: 20px;
  --radius-sm: 14px;
  --btn-h: 52px;             /* 버튼 높이 (모든 큰 버튼 통일) */
  --shadow: 0 10px 30px rgba(150, 80, 20, .10);
  --shadow-hover: 0 18px 44px rgba(200, 110, 20, .22);

  --header-h: 64px;
  --quick-h: 68px;           /* 모바일 하단 고정 바 높이 */
}


/* ========== 1. 기본 설정 ========== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);   /* 메뉴 이동 시 헤더에 제목이 안 가리게 */
  -webkit-text-size-adjust: 100%;
  background: #2E2925;                    /* 페이지 끝을 당겨도 푸터 색이 보이게 (흰 틈 방지) */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-cream);
  word-break: keep-all;          /* 한글 단어 중간 줄바꿈 방지 */
  overflow-wrap: break-word;     /* 긴 단어 강제 줄바꿈 → 가로 넘침 방지 */
  overflow-x: clip;              /* ⚠ hidden 을 쓰면 헤더 고정(sticky)이 고장나서 clip 사용 */
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

[hidden] { display: none !important; }   /* config.js 가 숨긴 버튼은 무조건 숨김 */

:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  padding: 10px 16px; border-radius: 8px;
  background: var(--c-text); color: #fff;
}
.skip-link:focus { top: 12px; }


/* ========== 2. 공통 ========== */
.container {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow { max-width: 800px; }

.section { position: relative; padding: var(--section-y) 0; }

.section-head { text-align: center; margin-bottom: 44px; }

/* 영문 소제목:  ── WORRIES ── */
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .24em;
  color: var(--c-gold-dark);
}
.section-kicker::before,
.section-kicker::after {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad-gold);
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(25px, 6.4vw, 38px);
  font-weight: 700;
  line-height: 1.38;
}
/* 가운데 정렬 제목 아래 ─◆─ 장식 */
.section-head .section-title::after {
  content: "";
  display: block;
  width: 96px; height: 14px; margin: 16px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 14'%3E%3Cpath d='M0 7h36M60 7h36' stroke='%23E7A32B' stroke-width='1.5'/%3E%3Cpath d='M48 1l6 6-6 6-6-6z' fill='%23C8412D'/%3E%3Ccircle cx='36' cy='7' r='2' fill='%23E7A32B'/%3E%3Ccircle cx='60' cy='7' r='2' fill='%23E7A32B'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section-desc { margin-top: 14px; color: var(--c-text-sub); }

/* ---- 버튼 ----
   모든 버튼은 같은 높이(--btn-h), 같은 모서리, 같은 글자 크기.
   묶음(.hero-actions 등)에서는 너비도 같게 맞춤 (아래 각 섹션 참고) */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h);
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 16px; font-weight: 700; line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s;
}
/* 마우스를 올리면 빛이 스치는 효과 */
.btn::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  z-index: -1; pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-sm { --btn-h: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { --btn-h: 56px; padding: 0 28px; font-size: 17px; }

.btn-primary { background: var(--grad-red); color: #fff; box-shadow: 0 8px 20px rgba(200, 65, 45, .28); }
.btn-gold    { background: var(--grad-gold); color: #5A3808; box-shadow: 0 8px 20px rgba(220, 144, 30, .26); }
.btn-kakao   { background: var(--c-kakao); color: var(--c-kakao-text); }
.btn-light   { background: #fff; color: var(--c-red); box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.btn-outline { background: #fff; border-color: var(--c-gold); color: var(--c-text); }
.btn-outline-light { border-color: rgba(255, 230, 170, .75); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }

.icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* ---- 물결 경계 ----
   붉은 섹션처럼 색이 크게 바뀌는 곳에서, 섹션이 자기 색으로 물결을 바깥쪽에 그림.
   1px 겹치게 놓아서 섹션 사이에 틈(가는 선)이 생기지 않음 */
.wave {
  position: absolute; left: 0; z-index: 2;
  width: 100%; height: var(--wave-h);
  pointer-events: none;
}
.wave-top    { bottom: 100%; margin-bottom: -1px; }                  /* 섹션 위로 튀어나옴 */
.wave-bottom { top: 100%; margin-top: -1px; transform: scaleY(-1); } /* 섹션 아래로 튀어나옴 */

/* ---- 반짝이 별 (hero, 신점, 마지막 CTA 공용) ---- */
.sparkles { position: absolute; inset: 0; pointer-events: none; }
.sparkles span {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  background: var(--grad-gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 3.4s ease-in-out var(--d) infinite;
  opacity: .2;
}

/* ---- 빛줄기 / 만다라 (hero, 신점, 마지막 CTA 공용) ---- */
.rays {
  position: absolute; left: 50%; top: 45%;
  width: 1600px; height: 1600px; margin: -800px 0 0 -800px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 196, 80, .22) 0deg 5deg, transparent 5deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 55%);
          mask-image: radial-gradient(circle, #000 0%, transparent 55%);
  animation: spin 140s linear infinite;
}
.mandala {
  position: absolute; left: 50%; top: 45%;
  width: 600px; height: 600px; margin: -300px 0 0 -300px;
  color: var(--c-gold);
  opacity: .3;
  animation: spin 100s linear infinite reverse;
}


/* ========== 3. 헤더 / 메뉴 ========== */
.site-header {
  position: sticky; top: 0; z-index: 100;   /* 스크롤해도 화면 위에 붙어 있음 */
  height: var(--header-h);
  background: rgba(255, 248, 236, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow .25s, background-color .25s;
}
.site-header::after {                        /* 헤더 아래 금색 라인 */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-gold), var(--c-red), var(--c-gold), transparent);
  opacity: .55;
}
.site-header.is-scrolled { background: rgba(255, 250, 242, .97); box-shadow: 0 6px 24px rgba(120, 60, 20, .12); }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 40px; filter: drop-shadow(0 3px 6px rgba(200, 120, 20, .3)); }
.logo-text {
  font-family: var(--font-title); font-weight: 900; font-size: 23px;
  letter-spacing: .1em;
  background: linear-gradient(135deg, #A3321F, #C8412D 50%, #D98E1C);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 햄버거 */
.nav-toggle {
  width: 44px; height: 44px; margin-right: -10px; padding: 11px;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--c-text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 메뉴 */
.site-nav {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  display: flex; flex-direction: column;
  padding: 4px var(--gutter) 20px;
  background: var(--c-cream);
  border-bottom: 2px solid var(--c-gold);
  box-shadow: 0 16px 30px rgba(80, 50, 20, .12);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
.site-nav a:not(.btn) { padding: 14px 4px; font-weight: 600; border-bottom: 1px solid var(--c-line); }
.site-nav .nav-cta { margin-top: 16px; }


/* ========== 4. 메인 비주얼 ========== */
.hero {
  position: relative;
  padding: 64px 0 calc(72px + var(--wave-h));
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 40%, #FFE3A1 0%, rgba(255, 227, 161, 0) 58%),
    linear-gradient(180deg, #FFF6E2 0%, #FFE9C4 60%, #FCD9A4 100%);
}
/* 장식은 이 상자 안에서만 보이게 잘라냄 (섹션 밖으로 삐져나가지 않음) */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-glow {
  position: absolute; left: 50%; top: 45%;
  width: 560px; height: 560px; margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 240, 200, .95) 0%, rgba(255, 217, 120, .45) 35%, rgba(255, 217, 120, 0) 70%);
  animation: glow 7s ease-in-out infinite;
}

.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; margin-bottom: 22px;
  font-size: 14px; font-weight: 700;
  color: var(--c-red);
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(231, 163, 43, .6);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(200, 120, 20, .15);
}
.eyebrow::before, .eyebrow::after { content: "✦"; color: var(--c-gold); font-size: 11px; }

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(31px, 8.6vw, 60px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
/* 강조 문구: 빨강~주황 그라데이션이 은은하게 흐름 */
.accent {
  background: linear-gradient(90deg, #B8321F 0%, #E2682F 25%, #C8412D 50%, #E2682F 75%, #B8321F 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

.hero-desc {
  max-width: 560px; margin: 20px auto 0;
  font-size: clamp(16px, 4.2vw, 19px);
  color: #5C534D;
}

/* 상담 키워드 태그 */
.hero-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  max-width: 520px; margin: 22px auto 0;
}
.hero-tags li {
  padding: 5px 14px;
  font-size: 14px; font-weight: 700;
  color: #8A4A12;
  background: rgba(255, 255, 255, .8);
  border: 1px solid #F1D3A0;
  border-radius: 999px;
}
.hero-tags .is-main { background: var(--grad-red); border-color: transparent; color: #fff; }

/* 버튼 묶음: 모바일 = 세로로 꽉 차게 / 540px~ = 가로로 같은 너비 */
.hero-actions {
  display: grid; gap: 12px;
  max-width: 360px; margin: 30px auto 0;
}

.hero-note { margin-top: 18px; font-size: 14px; color: var(--c-text-sub); }

.hero .wave-bottom { top: auto; bottom: -1px; margin: 0; transform: none; fill: var(--c-white); }

.br-mobile { display: inline; }


/* ========== 5. 공감 ========== */
.worries { background: var(--c-white); padding-bottom: calc(var(--section-y) + var(--wave-h)); }

.worry-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.worry-list li {
  position: relative;
  display: flex; align-items: center;
  min-height: 60px;
  padding: 14px 18px 14px 56px;
  background: linear-gradient(90deg, #FFF3DC 0%, #FFFFFF 100%);
  border: 1px solid #F3E2C4;
  border-left: 4px solid var(--c-gold);
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(200, 120, 20, .07);
  transition: transform .2s, border-color .2s;
}
.worry-list li:hover { transform: translateX(4px); border-left-color: var(--c-red); }
.worry-list li::before {                  /* 빨간 동그라미 + 흰 체크 */
  content: "";
  position: absolute; left: 16px; top: 50%;
  width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12 3.5 3.5L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat,
    var(--grad-red);
  box-shadow: 0 3px 8px rgba(200, 65, 45, .3);
}

.worries-closing {
  margin-top: 40px; text-align: center;
  font-family: var(--font-title); font-size: clamp(20px, 5.2vw, 26px); font-weight: 700;
}
.worries-closing strong {
  background: linear-gradient(transparent 62%, rgba(255, 217, 120, .75) 62%);   /* 형광펜 효과 */
  color: var(--c-red);
}


/* ========== 6. 천룡암 신점 (붉은 강조 섹션) ========== */
.sinjeom {
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 200, 90, .30) 0%, transparent 50%),
    linear-gradient(180deg, var(--c-red) 0%, #A3321F 55%, var(--c-red-deep) 100%);
}
.sinjeom .wave-top    { fill: var(--c-red); }
.sinjeom .wave-bottom { fill: var(--c-red-deep); }

.sinjeom-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sinjeom-bg .rays { top: 30%; opacity: .55; }
.sinjeom-bg .mandala { top: 30%; opacity: .12; color: var(--c-yellow); }

.sinjeom-inner { z-index: 1; }
.sinjeom .section-title { color: #fff; }
.sinjeom .section-kicker { color: var(--c-yellow); }

.sinjeom-lead {
  position: relative;
  max-width: 720px; margin: 0 auto 44px;
  text-align: center;
  font-size: 17px;
  color: rgba(255, 255, 255, .9);
}
.sinjeom-lead p + p { margin-top: 12px; }
.sinjeom-lead strong { color: var(--c-yellow); }
/* 배경에 크게 깔리는 한자 神占 */
.sinjeom-hanja {
  position: absolute; left: 50%; top: 50%; z-index: -1;
  transform: translate(-50%, -50%);
  font-family: var(--font-title); font-weight: 900;
  font-size: 140px; line-height: 1; letter-spacing: .1em;
  color: rgba(255, 217, 120, .10);
  white-space: nowrap;
  margin: 0 !important;
}

.sinjeom-points { display: grid; gap: 14px; }
.sinjeom-points li {
  position: relative;
  padding: 24px 22px 24px 84px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 217, 120, .45);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background-color .25s, transform .25s;
}
.sinjeom-points li:hover { background: rgba(255, 255, 255, .14); transform: translateY(-3px); }
.point-no {
  position: absolute; left: 20px; top: 22px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #7A2A12;
  font-family: var(--font-title); font-size: 20px; font-weight: 900;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2), inset 0 0 0 3px rgba(255, 255, 255, .45);
}
.sinjeom-points h3 { font-family: var(--font-title); font-size: 19px; margin-bottom: 4px; }
.sinjeom-points p { font-size: 15px; color: rgba(255, 255, 255, .85); }

.sinjeom-cta {
  display: grid; gap: 12px;
  max-width: 360px; margin: 40px auto 0;
}


/* ========== 7. 상담 분야 ========== */
.services {
  padding-top: calc(var(--section-y) + var(--wave-h));    /* 위에서 내려온 물결만큼 여백 */
  background:
    radial-gradient(circle at 90% 70%, rgba(231, 163, 43, .20) 0%, transparent 40%),
    /* 끝 색을 다음 섹션(소개) 색과 같게 → 경계선 안 보임 */
    linear-gradient(180deg, #FFF1D6 0%, var(--c-peach) 55%, var(--c-cream) 100%);
}

.service-grid { display: grid; gap: 18px; }

.service-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;       /* 태그 줄을 카드 아래에 맞춰 정렬 */
  padding: 30px 24px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-frame) border-box;   /* 금색~빨강 테두리 */
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.service-card::before {                        /* 오른쪽 위 은은한 빛 */
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 120, .45) 0%, transparent 70%);
  pointer-events: none;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.service-icon {
  position: relative;
  display: grid; place-items: center;
  width: 60px; height: 60px; margin-bottom: 18px;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: 0 8px 18px rgba(217, 142, 28, .32), inset 0 0 0 3px rgba(255, 255, 255, .5);
}
.service-icon svg { width: 28px; height: 28px; fill: #fff; color: #fff; }

.service-card h3 { position: relative; font-family: var(--font-title); font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.service-card > p { position: relative; color: var(--c-text-sub); font-size: 15px; }

.tag-list { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.tag-list li {
  padding: 5px 12px;
  font-size: 13px; font-weight: 700; line-height: 1.4;
  color: #8A4A12;
  background: #FFF3DA;
  border: 1px solid #F5D9A2;
  border-radius: 999px;
}

.service-card--special .service-icon { background: var(--grad-red); box-shadow: 0 8px 18px rgba(200, 65, 45, .32), inset 0 0 0 3px rgba(255, 217, 120, .5); }

.service-card--cta {
  justify-content: center; align-items: flex-start;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 217, 120, .45) 0%, transparent 45%) padding-box,
    var(--grad-red) padding-box,
    var(--grad-gold) border-box;
  color: #fff;
}
.service-card--cta::before { background: radial-gradient(circle, rgba(255, 255, 255, .22) 0%, transparent 70%); }
.service-card--cta h3 { font-size: 21px; line-height: 1.45; }
.service-card--cta > p { color: rgba(255, 255, 255, .92); margin-bottom: 20px; }


/* ========== 8. 천룡암 소개 ========== */
.about {
  background:
    radial-gradient(circle at 100% 50%, rgba(255, 217, 120, .28) 0%, transparent 40%),
    var(--c-cream);
}
.about-grid { display: grid; gap: 40px; }
.about-text .section-title { margin-bottom: 20px; }
.about-text p + p { margin-top: 14px; }
.about-text strong { color: var(--c-red); }

.promise-list { display: grid; gap: 14px; }
.promise {
  display: flex; gap: 16px; align-items: center;
  padding: 20px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-frame) border-box;
  box-shadow: var(--shadow);
}
.promise-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-red);
  box-shadow: 0 6px 14px rgba(200, 65, 45, .3), inset 0 0 0 3px rgba(255, 217, 120, .6);
}
.promise-icon svg { width: 26px; height: 26px; fill: #fff; }
.promise h3 { font-size: 18px; margin-bottom: 2px; }
.promise p { font-size: 15px; color: var(--c-text-sub); }


/* ========== 9. 상담 안내 ========== */
/* 위(소개: 크림) → 아래(FAQ: 흰색) 로 자연스럽게 이어지도록 그라데이션 */
.process { background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-white) 100%); }

.step-list { display: grid; gap: 14px; }
.step {
  position: relative;
  padding: 26px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(#FFFBF3, #FFFBF3) padding-box, linear-gradient(135deg, #F7DCA8, #F1C98A) border-box;
  transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-title); font-size: 38px; font-weight: 900; line-height: 1;
  background: var(--grad-frame);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--c-text-sub); }


/* ========== 10. FAQ ========== */
.faq {
  background:
    radial-gradient(rgba(231, 163, 43, .14) 1.5px, transparent 1.6px) 0 0 / 22px 22px,   /* 금색 점 무늬 */
    linear-gradient(180deg, var(--c-white) 0%, var(--c-cream) 100%);                     /* 흰색 → 크림 */
}

.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: #fff;
  border: 1px solid #F0DDBB;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.faq-list details[open] { border-color: var(--c-gold); box-shadow: 0 10px 26px rgba(200, 120, 20, .14); }
.faq-list summary {
  position: relative;
  padding: 18px 52px 18px 60px;
  font-weight: 700;
  cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {               /* 왼쪽 Q */
  content: "Q";
  position: absolute; left: 18px; top: 50%;
  width: 28px; height: 28px; margin-top: -14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-red);
  color: #fff; font-size: 14px; font-weight: 800;
}
.faq-list summary::after {                /* 오른쪽 + / − */
  content: "+";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px; font-weight: 400; line-height: 1; color: var(--c-gold-dark);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 22px 20px 60px; color: var(--c-text-sub); }


/* ========== 11. 오시는 길 ========== */
.location {
  padding-bottom: calc(var(--section-y) + var(--wave-h));   /* 아래 물결이 겹칠 자리 */
  background:
    radial-gradient(circle at 0% 30%, rgba(255, 217, 120, .28) 0%, transparent 40%),
    linear-gradient(180deg, var(--c-cream) 0%, #FCEBCB 100%);           /* 위 섹션(FAQ) 끝 색에서 시작 */
}

.location-grid { display: grid; gap: 32px; }
.location-info .section-title { margin-bottom: 24px; }

.info-list { margin-bottom: 28px; border-top: 1px dashed #E3C999; }
.info-list > div {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px;
  padding: 16px 0; border-bottom: 1px dashed #E3C999;
}
.info-list dt { font-weight: 800; color: var(--c-red); }
.info-list small { display: block; margin-top: 2px; color: var(--c-text-sub); font-size: 14px; }
.info-phone { font-family: var(--font-title); font-size: 20px; font-weight: 700; color: var(--c-red); }

/* 버튼 2개씩 같은 너비로 */
.location-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.location-actions .btn { padding: 0 12px; font-size: 15px; }

/* 지도: 금색 액자 테두리 */
.map-wrap {
  padding: 6px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--grad-frame);
  box-shadow: var(--shadow-hover);
}
.map-wrap iframe {
  width: 100%; aspect-ratio: 4 / 3; height: auto;
  border: 0; border-radius: var(--radius);
  background: var(--c-yellow-soft);
}


/* ========== 12. 마지막 문의 유도 ========== */
.final-cta {
  position: relative;
  padding: 72px 0 80px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 200, 90, .30) 0%, transparent 55%),
    linear-gradient(180deg, #C8412D 0%, #B63A28 50%, #A3321F 100%);
}
.final-cta .wave-top { fill: #C8412D; }
.final-cta-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.final-cta-bg .rays { top: 50%; opacity: .45; }
.final-cta-inner { z-index: 1; }
.final-cta h2 {
  font-family: var(--font-title);
  font-size: clamp(23px, 6vw, 36px);
  line-height: 1.4;
  text-shadow: 0 3px 16px rgba(90, 20, 0, .3);
}
.final-cta p { margin-top: 12px; opacity: .95; }
.final-cta-actions {
  display: grid; gap: 12px;
  max-width: 360px; margin: 30px auto 0;
}


/* ========== 13. 푸터 ========== */
.site-footer {
  position: relative;
  /* 모바일: 하단 고정 바에 가리지 않도록 그만큼 아래 여백 (푸터 색으로 채워서 틈 없음) */
  padding: 44px 0 calc(32px + var(--quick-h) + env(safe-area-inset-bottom));
  background: #2E2925;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--grad-frame);
}
.footer-name {
  display: inline-block; margin-bottom: 8px;
  font-family: var(--font-title); font-weight: 900; font-size: 21px; letter-spacing: .1em;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-info a { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.footer-links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.footer-notice {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px; color: rgba(255, 255, 255, .55);
}
.copyright { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .45); }


/* ========== 14. 따라다니는 빠른 연락 버튼 ========== */
/* 모바일: 화면 맨 아래 고정 바 (position: fixed → 스크롤해도 제자리) */
.quick {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 8px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255, 250, 242, .97);
  box-shadow: 0 -8px 24px rgba(120, 60, 20, .14);
}
.quick::before {                              /* 위쪽 금색 라인 */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--grad-frame);
}
.quick-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 50px;
  border-radius: 14px;
  font-size: 16px; font-weight: 800;
  transition: transform .15s;
}
.quick-btn:active { transform: scale(.97); }
.quick-btn.is-call  { background: var(--grad-red);  color: #fff; }
.quick-btn.is-sms   { background: var(--grad-gold); color: #5A3808; }
.quick-btn.is-kakao { flex: 0 0 76px; background: var(--c-kakao); color: var(--c-kakao-text); }

/* 맨 위로: 바 위 오른쪽, 조금 내려야 나타남 */
.quick-top {
  position: absolute; right: 12px; bottom: calc(100% + 12px);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 2px solid var(--c-gold); border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px rgba(120, 60, 20, .2);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.quick-top svg { width: 22px; height: 22px; fill: none; stroke: var(--c-red); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.show-top .quick-top { opacity: 1; visibility: visible; transform: none; }


/* ========== 15. 애니메이션 · 스크롤 등장 ========== */
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes glow    { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes twinkle {
  0%, 100% { opacity: .15; transform: scale(.6) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.1) rotate(45deg); }
}

.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* 움직임 줄이기 설정한 사용자 배려 (접근성) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rays, .mandala, .hero-glow, .accent, .sparkles span { animation: none; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}


/* ========== 16. 반응형 ========== */

/* 아주 작은 폰 (~359px, 갤럭시 폴드 접은 화면 등) */
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .btn-lg { padding: 0 18px; font-size: 16px; }
  .location-actions { grid-template-columns: 1fr; }
  .quick-btn { font-size: 15px; }
  .quick-btn.is-kakao { flex-basis: 64px; }
  .sinjeom-hanja { font-size: 110px; }
}

/* 큰 폰 · 작은 태블릿 (540px~): 버튼 묶음을 가로로, 같은 너비로 */
@media (min-width: 540px) {
  .hero-actions,
  .sinjeom-cta,
  .final-cta-actions {
    display: flex; flex-wrap: wrap; justify-content: center;
    max-width: none;
  }
  .hero-actions .btn,
  .sinjeom-cta .btn,
  .final-cta-actions .btn { flex: 0 0 220px; }   /* ← 버튼 너비 통일 */

  .br-mobile { display: none; }
  .worry-list { grid-template-columns: 1fr 1fr; }
  .sinjeom-points { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .step-list { grid-template-columns: 1fr 1fr; }
}

/* 태블릿 (768px~) */
@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 104px; --header-h: 72px; --wave-h: 72px; }

  .hero { padding-top: 110px; }
  .hero-glow { width: 760px; height: 760px; margin: -380px 0 0 -380px; }
  .hero .mandala { width: 820px; height: 820px; margin: -410px 0 0 -410px; }

  .sinjeom-hanja { font-size: 220px; }

  .about-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; }
  .location-grid { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 48px; }

  .site-footer { padding-bottom: 32px; }        /* PC 는 하단 바가 없으니 원래 여백 */

  /* 빠른 연락 버튼: 오른쪽 아래 세로로 떠 있는 동그라미 */
  .quick {
    left: auto; right: 24px; bottom: 24px;
    flex-direction: column; align-items: center; gap: 10px;
    padding: 0; background: none; box-shadow: none;
  }
  .quick::before { display: none; }
  .quick-btn, .quick-btn.is-kakao {
    flex: none;
    flex-direction: column; gap: 2px;
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 3px solid #fff;
    font-size: 11px;
    box-shadow: 0 10px 24px rgba(80, 40, 10, .22);
  }
  .quick-btn:hover { transform: translateY(-3px); }
  .quick-btn .icon { width: 22px; height: 22px; }
  .quick-top { position: static; order: 10; }
}

/* PC (1024px~) */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    flex-direction: row; align-items: center; gap: 26px;
    padding: 0; background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .site-nav a:not(.btn) { position: relative; padding: 6px 0; border: 0; font-size: 15px; }
  .site-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--grad-frame); transform: scaleX(0); transition: transform .2s;
  }
  .site-nav a:not(.btn):hover::after { transform: scaleX(1); }
  .site-nav .nav-cta { margin-top: 0; }

  .sinjeom-points { grid-template-columns: repeat(4, 1fr); }
  .sinjeom-points li { padding: 88px 22px 26px; text-align: center; }
  .point-no { left: 50%; top: 24px; margin-left: -23px; }

  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step-list { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
