@charset "utf-8";
/* ============================================================
   page.css — 가톨릭상조 서브페이지 공통 스타일
   ============================================================ */

/* ── 공통 변수 ── */
:root {
  --ga:#B8960C; --gab:#C9A82A; --gal:#DFC060;
  --n8:#3E2810; --n9:#1E1208;
  --text-h:#2C1A08; --text-b:#4A3420; --text-m:#8A6E52; --text-l:#B09A80;
  --border:#EDE4D8; --border-m:#DDD0BE;
  --bg:#FFFEF9; --bg-s:#FBF8F2; --bg-d:#F5EFE4;
  --shadow:0 4px 24px rgba(62,40,16,.07);
  --shadow-m:0 10px 40px rgba(62,40,16,.12);
}

#page_wrap { background:var(--bg); }

/* ============================================================
   히어로
   ============================================================ */
.pg_hero {
  position: relative;
  height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}
.pg_hero_bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.pg_hero:hover .pg_hero_bg { transform: scale(1); }
.pg_hero_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,10,0,.75) 0%, rgba(20,10,0,.4) 60%, rgba(20,10,0,.2) 100%);
}
.pg_hero_inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px 48px;
}
.pg_hero_label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(184,150,12,.8);
  margin-bottom: 12px;
}
.pg_hero_title {
  font-family: 'Noto Serif KR', serif;
  font-size: 36px;
  font-weight: 700;
  color: #FFF8EE;
  line-height: 1.35;
  margin: 0 0 12px;
}
.pg_hero_desc {
  font-size: 15px;
  color: rgba(255,248,238,.6);
  margin: 0;
}

/* ============================================================
   브레드크럼
   ============================================================ */
.pg_breadcrumb {
  background: var(--bg-s);
  border-bottom: 1px solid var(--border);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}
.pg_bc_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-l);
}
.pg_bc_inner a { color: var(--text-m); text-decoration: none; }
.pg_bc_inner a:hover { color: var(--ga); }
.pg_bc_inner i { font-size: .8em; color: var(--border-m); }
.pg_bc_inner span { color: var(--ga); font-weight: 600; }

/* ============================================================
   컨테이너 & 섹션
   ============================================================ */
.pg_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.pg_section { padding: 80px 0; }
.pg_section + .pg_section { border-top: 1px solid var(--border); }

.pg_section_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.pg_section_header { margin-bottom: 48px; }

/* 공통 라벨/제목/설명 */
.pg_label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--ga);
  margin-bottom: 12px;
}
.pg_title {
  font-family: 'Noto Serif KR', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-h);
  margin: 0 0 16px;
  line-height: 1.3;
}
.pg_desc {
  font-size: 15px;
  color: var(--text-m);
  line-height: 1.75;
  margin: 0;
}
.pg_divider {
  width: 40px;
  height: 3px;
  background: var(--ga);
  margin: 20px 0 24px;
}

/* ============================================================
   회사소개 — 인사말
   ============================================================ */
.about_greeting_img { position: relative; }
.about_img_frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about_img_frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.about_img_frame:hover img { transform: scale(1.03); }
.about_img_deco {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80%;
  height: 80%;
  border: 3px solid var(--ga);
  z-index: -1;
  opacity: .4;
}
.about_greeting_badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 18px;
  background: var(--n8);
  color: var(--gal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.about_greeting_body {
  font-size: 15px;
  color: var(--text-b);
  line-height: 1.85;
  margin: 0 0 16px;
}
.about_sign {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.about_sign_title { font-size: 13px; color: var(--text-l); }
.about_sign_name {
  font-family: 'Noto Serif KR', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-h);
}

/* ── 핵심 가치 ── */
.about_values {
  background: var(--bg-s);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 80px 48px;
  box-sizing: border-box;
}
.about_values_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.about_value_card {
  background: #fff;
  padding: 40px 32px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all .3s;
}
.about_value_card:hover {
  border-color: var(--ga);
  box-shadow: var(--shadow-m);
  transform: translateY(-4px);
}
.about_value_icon {
  font-size: 36px;
  color: var(--ga);
  margin-bottom: 20px;
  line-height: 1;
}
.about_value_title {
  font-family: 'Noto Serif KR', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-h);
  margin: 0 0 14px;
}
.about_value_desc {
  font-size: 14px;
  color: var(--text-m);
  line-height: 1.75;
  margin: 0;
}

/* ── 숫자 통계 ── */
.about_stats {
  background: var(--n8);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 80px 48px !important;
  border-top: none !important;
  box-sizing: border-box;
}
.about_stats .pg_title { color: #FFF8EE; }
.about_stats_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.about_stat_item {
  text-align: center;
  padding: 32px 16px;
  border: 1px solid rgba(184,150,12,.2);
  transition: border-color .3s;
}
.about_stat_item:hover { border-color: rgba(184,150,12,.6); }
.about_stat_num {
  display: block;
  font-family: 'Noto Serif KR', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--gal);
  line-height: 1;
  margin-bottom: 12px;
}
.about_stat_num small { font-size: 28px; color: var(--ga); }
.about_stat_label {
  font-size: 13px;
  color: rgba(255,248,238,.45);
  letter-spacing: .5px;
}

/* ── 오시는 길 ── */
.about_location_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about_map_placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-d);
  border: 2px dashed var(--border-m);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.about_loc_dl { margin: 0; }
.about_loc_dl dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--ga);
  letter-spacing: 1px;
  margin: 24px 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.about_loc_dl dt:first-child { margin-top: 0; }
.about_loc_dl dd {
  font-size: 15px;
  color: var(--text-b);
  line-height: 1.7;
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.about_loc_dl dd small { font-size: 12px; color: var(--text-l); }
.about_loc_dl dd a { color: var(--text-b); text-decoration: none; }
.about_loc_dl dd a:hover { color: var(--ga); }

/* ============================================================
   장례절차 — 타임라인
   ============================================================ */
.proc_intro .pg_section_header { margin-bottom: 0; }

.proc_timeline { position: relative; padding: 20px 0; }

.proc_step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 32px;
  margin-bottom: 0;
}
.proc_step_last .proc_step_marker { }

/* 마커 (번호 + 선) */
.proc_step_marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}
.proc_step_num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--n8);
  border: 2px solid var(--ga);
  color: var(--gal);
  font-family: 'Noto Serif KR', serif;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.proc_step_line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, var(--ga), rgba(184,150,12,.1));
  margin: 8px 0;
}

/* 카드 */
.proc_step_card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 36px 40px;
  margin-bottom: 24px;
  position: relative;
  transition: all .3s;
  overflow: hidden;
}
.proc_step_card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--ga);
  opacity: .5;
  transition: opacity .3s;
}
.proc_step_card:hover { box-shadow: var(--shadow-m); border-color: var(--border-m); }
.proc_step_card:hover::before { opacity: 1; }

/* 신앙 강조 카드 */
.proc_step_faith {
  background: var(--bg-s);
}
.proc_step_faith::before { opacity: 1; background: var(--ga); }

.proc_step_icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 16px;
}
.proc_step_badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ga);
  margin-bottom: 8px;
}
.proc_step_title {
  font-family: 'Noto Serif KR', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-h);
  margin: 0 0 16px;
  line-height: 1.3;
}
.proc_step_notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ga);
  background: rgba(184,150,12,.08);
  border: 1px solid rgba(184,150,12,.2);
  padding: 6px 14px;
  margin-bottom: 16px;
}
.proc_step_notice i { color: var(--ga); }
.proc_step_desc {
  font-size: 15px;
  color: var(--text-b);
  line-height: 1.8;
  margin: 0 0 20px;
}
.proc_step_list {
  margin: 0;
  padding: 0 0 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proc_step_list li {
  font-size: 14px;
  color: var(--text-m);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.proc_step_list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--ga);
  border-radius: 50%;
}

/* 의례 그리드 */
.proc_ceremony_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 20px;
}
.proc_ceremony_item {
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px 18px;
  border-left: 3px solid var(--ga);
}
.proc_ceremony_title {
  display: block;
  font-family: 'Noto Serif KR', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 4px;
}
.proc_ceremony_desc {
  display: block;
  font-size: 12px;
  color: var(--text-m);
  line-height: 1.5;
}

/* ── 장례절차 CTA ── */
.proc_cta {
  background: var(--n8);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 80px 48px !important;
  border-top: none !important;
  text-align: center;
  box-sizing: border-box;
}
.proc_cta_inner { max-width: 600px; margin: 0 auto; }
.proc_cta_cross {
  font-size: 48px;
  color: var(--ga);
  display: block;
  margin-bottom: 20px;
  line-height: 1;
}
.proc_cta_title {
  font-family: 'Noto Serif KR', serif;
  font-size: 36px;
  font-weight: 700;
  color: #FFF8EE;
  margin: 0 0 16px;
}
.proc_cta_desc {
  font-size: 16px;
  color: rgba(255,248,238,.55);
  line-height: 1.75;
  margin: 0 0 36px;
}
.proc_cta_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  background: var(--ga);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all .25s;
}
.proc_cta_btn:hover { background: var(--gal); color: var(--n8); transform: translateY(-2px); }
.proc_cta_btn i { font-size: .85em; }

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 900px) {
  .pg_section_grid { grid-template-columns: 1fr; gap: 40px; }
  .about_values_grid { grid-template-columns: 1fr; gap: 16px; }
  .about_stats_grid { grid-template-columns: repeat(2, 1fr); }
  .about_location_grid { grid-template-columns: 1fr; gap: 32px; }
  .about_map_placeholder { aspect-ratio: 16/9; }
  .proc_ceremony_grid { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 768px) {
  .pg_hero { height: 280px; }
  .pg_hero_inner { padding: 0 20px 36px; }
  .pg_hero_title { font-size: 26px; }
  .pg_hero_desc { font-size: 14px; }
  .pg_bc_inner { padding: 10px 16px; }
  .pg_container { padding: 0 16px; }
  .pg_section { padding: 52px 0; }
  .pg_title { font-size: 24px; }
  .about_values { margin: 0 -16px; padding: 52px 16px; }
  .about_stats { margin: 0 -16px; padding: 52px 16px !important; }
  .about_stats_grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .about_stat_num { font-size: 36px; }
  .about_stat_num small { font-size: 20px; }
  .proc_step { grid-template-columns: 48px 1fr; gap: 0 16px; }
  .proc_step_num { width: 40px; height: 40px; font-size: 12px; }
  .proc_step_card { padding: 24px 20px; }
  .proc_step_title { font-size: 18px; }
  .proc_cta { margin: 0 -16px; padding: 52px 16px !important; }
  .proc_cta_title { font-size: 26px; }
  .proc_cta_btn { padding: 14px 36px; font-size: 16px; }
}

@media (max-width: 480px) {
  .pg_hero { height: 240px; }
  .pg_hero_title { font-size: 22px; }
  .about_stats_grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .about_stat_num { font-size: 30px; }
}
