/* =============================================
   about.css — 굿네이버스 소개 페이지 통합 스타일
   (layout.css + 페이지 전용 스타일 통합본)
   ============================================= */

/* ===================================================
   1. LAYOUT / GLOBAL (구 layout.css 내용)
   =================================================== */

/* ===== 기본 변수 ===== */
:root {
  --gutter: 40px;
}
@media (max-width: 860px) {
  :root {
    --gutter: 20px;
  }
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #eee;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.brand img { display: block; }
.gnb { display: flex; gap: 24px; }
.gnb a { padding: 10px 6px; font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; line-height: 1; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .gnb {
    position: fixed; inset: 64px 0 auto 0;
    background: #fff; border-top: 1px solid #eee;
    flex-direction: column; gap: 0; padding: 8px 16px;
    transform: translateY(-120%); transition: transform .25s ease;
  }
  .gnb.is-open { transform: translateY(0); }
  .gnb a { padding: 14px 8px; }
}

/* ===== 공통 Section ===== */
.section {
  position: relative;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 120px;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.ptb0 {
  padding-top: 0;
  padding-bottom: 0;
}
@media (max-width: 860px) {
  .section {
    padding-top: 80px;
    padding-bottom: 40px;
  }
}

/* ===== Hero ===== */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.section-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.15) 45%,
    rgba(0,0,0,0) 100%
  );
  z-index: -1;
}
.section-hero .section-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 0;
  display: flex;
  align-items: flex-end;
  min-height: 650px;
  color: #fff;
 text-shadow: 2px 2px 4px rgba(0,0,0,.3);
}
.hero-title {
  margin: 0;
  font-size: clamp(36px, 5.4vw, 54px);
  font-weight: 700;
  line-height: 1.5;
}
.hero-copy-right {
  position: absolute;
  right: 24px;
  bottom: 40px;
  writing-mode: vertical-rl;
  font-size: 11px;
  opacity: .85;
  color: #fff;
}
@media (max-width: 860px) {
  .section-hero .section-inner {
    padding: 40px 20px 50px;
    align-items: flex-end;
    min-height: 550px;
  }
  .section-hero::before {
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.7) 0%,
      rgba(0,0,0,0.45) 30%,
      rgba(0,0,0,0.1) 65%,
      rgba(0,0,0,0) 100%
    );
  }
  .hero-title { line-height: 140%; }
  .hero-copy-right { right: 16px; bottom: 24px; font-size: 10px; }
}

/* ===== Section Donation Criteria ===== */
.section-donation-criteria .section-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.criteria-header { text-align: center; }
.section-title {
  margin: 0 0 24px;
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #333333;
}
.criteria-intro {
  letter-spacing: -0.5px;
  margin: 0;
  font-size: clamp(14px, 2.4vw, 20px);
  line-height: 1.9;
  color: #333333;
  font-weight: 500;
}
.criteria-subtitle {
  margin: 0 0 24px;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: #333;
}
.criteria-questions {
  margin: 0 0 24px;
  font-size: clamp(14px, 2.4vw, 20px);
  line-height: 1.8;
  color: #828282;
}
@media (max-width: 860px) {
  .section-donation-criteria .section-inner { padding: 0 20px; }
}

/* padding bottom 유틸 */
.pb80-60  { padding-bottom: 80px; }
.pb120-80 { padding-bottom: 120px; }
.margin-bottom-24 { margin-bottom: 24px; }
@media (max-width: 860px) {
  .pb80-60  { padding-bottom: 60px; }
  .pb120-80 { padding-bottom: 80px; }
}

/* pc / mobile 전용 텍스트 */
.pcpc { display: block; }
.mm   { display: none;  }
.pc-br { display: inline; }
.mobile-br { display: none; }
.text-left { text-align: left !important; }
.green { color: #89A230; }
@media (max-width: 860px) {
  .pcpc   { display: none;  }
  .mm     { display: block; }
  .pc-br  { display: none;  }
  .mobile-br { display: block; }
  .mo { display: block; }
}
@media (min-width: 861px) {
  .mo { display: none; }
}

/* ===== Donation Card Grid ===== */
.donation-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.donation-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 28px 24px;
  border-radius: 26px;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.015);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.donation-card--gray  { background: #f2f2e9; color: #333; }
.donation-card--green { background: #8cb63b; color: #fff; }
.donation-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.donation-card-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.donation-card-body {
  margin: 0 0 24px;
  font-size: clamp(14px, 2vw, 20px);
  line-height: 1.8;
  text-align: left;
}
@media (hover: hover) and (pointer: fine) {
  .donation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
  }
}
@media (max-width: 860px) {
  .donation-card-header { margin-bottom: 8px; }
  .donation-card { border-radius: 20px; padding: 16px 22px; min-height: 320px; }
  .donation-card-title { font-size: 18px; }
  .donation-card-body { margin-bottom: 8px; }
}
@media (max-width: 420px) {
  .donation-card-grid { grid-template-columns: 1fr; gap: 16px; }
  .donation-card { min-height: 100px; }
}

/* ===== Donation Steps ===== */
.donation-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.donation-step {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 40px;
  background: #ecefdf;
  border-radius: 24px;
}
.donation-step-number {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #555;
}
.donation-step-text {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.donation-step-title {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  color: #333;
  width:230px;
  flex-shrink:0;
}
.donation-step-desc {
  flex: 1;
  margin: 0;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.8;
  color: #333;
  letter-spacing: -0.9px;
}
.donation-step-arrow {
  text-align: center;
  padding: 4px 0 8px;
  display: flex;
  justify-content: center;
}
.donation-step-arrow img { width: 16px; height: auto; }
.donation-step-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 60px auto 0;
  padding: 14px 40px;
  border-radius: 999px;
  background: #556A1F;
  color: #fff;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  text-decoration: none;
  max-width: fit-content;
}
.donation-step-cta:hover,
.donation-step-cta:focus { opacity: 0.9; }
.cta { display: flex; justify-content: center; }
@media (max-width: 860px) {
  .donation-step { padding: 18px 20px; border-radius: 20px; align-items: flex-start; gap: 16px; }
  .donation-step-number { flex: 0 0 52px; width: 52px; height: 52px; font-size: 16px; }
  .donation-step-text { flex-direction: column; align-items: flex-start; gap: 6px; }
  .donation-step-arrow { padding: 6px 0 10px; }
  .donation-step-cta { margin-top: 20px; padding: 13px 28px; }
}

/* ===== Business Table ===== */
.business-table-wrap { width: 100%; overflow-x: auto; }
.business-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.7;
  color: #444;
}
.business-table thead th {
  padding: 14px 18px;
  background: #E9EADE;
  font-weight: 700;
  text-align: center;
  border: 1px solid #e2e4d7;
}
.business-table thead th:first-child { border-top-left-radius: 12px; }
.business-table thead th:last-child  { border-top-right-radius: 12px; }
.business-table tbody th,
.business-table tbody td {
  padding: 16px 18px;
  border: 1px solid #E9EADE;
  background: #fff;
  vertical-align: top;
  letter-spacing: -0.5px;
}
.business-table tbody th {
  width: 18%; background: #fff; font-weight: 700;
  text-align: center; vertical-align: middle;
}
.business-table tbody tr:last-child th { border-bottom-left-radius: 12px; }
.business-table tbody tr:last-child td:last-child { border-bottom-right-radius: 12px; }
@media (max-width: 860px) {
  .business-table thead th { padding: 10px 8px; }
  .business-table tbody th,
  .business-table tbody td  { padding: 10px 8px; }
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 24px; }
.faq-item-header {
  width: 100%;
  padding: 16px 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  letter-spacing: -0.5px;
}
.faq-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: 13px; font-weight: 700;
  min-width: 24px;
}
.faq-badge-q { background: #93c03b; color: #fff; }
.faq-badge-a { background: #333;    color: #fff; }
.faq-question {
  flex: 1;
  text-align: left;
  font-size: clamp(16px, 3vw, 28px);
  font-weight: 700;
  color: #89A230;
}
.faq-arrow { flex-shrink: 0; }
.faq-arrow img {
  display: block;
  width: 24px; height: 24px;
  transform-origin: center;
  transition: transform 0.18s ease;
}
.faq-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer-row { display: flex; gap: 16px; }
.faq-answer {
  margin: 0;
  font-size: clamp(14px, 2.4vw, 20px);
  line-height: 160%;
  color: #333;
  text-align: justify;
}
.faq-item.is-open .faq-item-body { max-height: 500px; }
.faq-item.is-open .faq-arrow img { transform: rotate(180deg); }
@media (max-width: 860px) {
  .faq-list { gap: 20px; }
  .faq-item-header { align-items: flex-start; }
  .faq-answer-row { flex-direction: row; align-items: flex-start; }
}

/* ===== Info Banner ===== */
.gn-info-banner {
  background: #89A230;
  border-radius: 14px;
  padding: 36px 48px;
  max-width: 1100px;
  margin: 0 auto;
  color: #fff;
}
.gn-info-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.gn-info-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.7px;
}
.gn-info-btn {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid #fff;
  border-radius: 30px;
  font-size: 16px;
  color: #fff;
  white-space: nowrap;
  transition: 0.25s ease;
  width: fit-content;
}
.gn-info-btn:hover { background: rgba(255,255,255,0.18); }
.btnalign { width: 100%; display: flex; justify-content: flex-end; }
@media (max-width: 860px) {
  .gn-info-banner { padding: 28px 24px; }
  .gn-info-inner { flex-direction: column; align-items: flex-start; }
  .gn-info-text { font-size: 17px; }
  .gn-info-btn { margin-top: 10px; font-size: 14px; }
}

/* ===== Floating Button ===== */
.gn-floating-btn {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  padding: 10px 10px 10px 20px;
  border-radius: 120px;
  background: linear-gradient(90deg, #89A230 0%, #556A1F 100%);
  color: #fff;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, opacity 0.15s ease-out;
  width: fit-content;
}
.gn-floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  opacity: 0.95;
}
.gn-floating-text { white-space: nowrap; }
.gn-floating-icon {
  margin-left: 16px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  flex-shrink: 0;
}
.gn-floating-icon::before {
  content: "";
  position: absolute;
  left: 11px; top: 7px;
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 11px solid #4f7020;
}
@media (max-width: 480px) {
  .gn-floating-btn { right: 16px; bottom: 16px; padding: 8px 8px 8px 16px; font-size: 13px; }
  .gn-floating-icon { width: 26px; height: 26px; }
  .gn-floating-icon::before { left: 9px; top: 6px; border-top-width: 7px; border-bottom-width: 7px; border-left-width: 9px; }
}

/* ===== 기타 공통 유틸 ===== */
.criteria-org-box {
  margin-bottom: 8px;
  padding: 24px 28px;
  background: #E9EADE;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.9;
}
.bulleted {
  position: relative;
  padding-left: 1.2em;
  font-size: clamp(12px, 2vw, 18px);
  font-weight: 500;
}
.bulleted::before { content: "•"; position: absolute; left: 0; top: 0; }
.criteria-footnote { margin-top: 14px; font-size: 14px; line-height: 1.7; color: #556A1F; }
@media (max-width: 860px) {
  .criteria-footnote { font-size: 12px; }
  .criteria-org-box  { padding: 18px; border-radius: 14px; font-size: 13px; }
}


/* ===================================================
   2. ABOUT PAGE 전용 스타일
   =================================================== */

/* ===== 인트로 문단 ===== */
.intro-copy {
  max-width: 960px;
  margin: 0 auto;
}

/* ===== Story Card ===== */
.story-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 861px) {
  .story-list {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}
.story-card {
  background: #f2f2e9;
  border-radius: 26px;
  overflow: hidden;
}
.story-card-img {
  position: relative;
  width: 100%;
  display: block;
}
.story-copy-right {
  position: absolute;
  right: 14px;
  bottom: 16px;
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-size: 11px;
  color: rgba(255,255,255,.85);
}
.story-card-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.story-card-body {
  padding: 40px 48px 36px;
  text-align: center;
}
.story-desc {
  margin: 0 0 24px;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.9;
  color: #333;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.story-quote {
  margin: 0 0 24px;
  font-size: clamp(14px, 1.9vw, 18px);
  line-height: 1.85;
  color: #333;
}
.story-quote-text { margin: 0 0 10px; }
.story-quote-author { display: block; font-size: 14px; color: #555; }
.story-divider { border: none; border-top: 1px solid #d8d9cc; margin: 0 0 24px; }
.story-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.story-stat-label { font-size: clamp(14px, 1.8vw, 18px); font-weight: 700; color: #556A1F; line-height: 1.5; }
.story-stat-number { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; color: #89A230; letter-spacing: -0.03em; }
@media (max-width: 860px) {
  .story-list       { gap: 24px; }
  .story-card       { border-radius: 20px; }
  .story-card-body  { padding: 28px 22px 26px; }
  .story-stat-row   { flex-direction: column; gap: 4px; }
}

/* ===== Why 카드 번호 뱃지 ===== */
.why-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  font-size: 16px; font-weight: 700;
  color: #333;
  margin: 0 auto 14px;
}
.donation-card--green .why-card-number { background: rgba(255,255,255,0.35); color: #fff; }
.why-card .donation-card-title  { text-align: center; }
.why-card .donation-card-body   { text-align: center; }
.why-card .donation-card-header { flex-direction: column; align-items: center; margin-bottom: 12px; }

/* ===== About FAQ 전용 ===== */
.about-faq .faq-item { border-bottom: 1px solid #eee; }
.about-faq .faq-item-header { padding: 20px 0; gap: 16px; }
.about-faq .faq-badge-q { background: #89A230; }
.about-faq .faq-question { color: #556A1F; }
.about-faq .faq-arrow img { width: 18px; height: 18px; }

/* ===== 변화 4단계 텍스트 시작점 정렬 ===== */
@media (min-width: 861px) {
  .donation-step.step1 .donation-step-text,
  .donation-step.step2 .donation-step-text,
  .donation-step.step3 .donation-step-text,
  .donation-step.step4 .donation-step-text {
    gap: 40px;
  }
}

/* ===== Section CTA 가운데 정렬 ===== */
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}
