@charset "UTF-8";
/* ==========================================================================
   동물자유연대 메인 리디자인 — 웹 퍼블리셔 포트폴리오 (비공식 시안)
   구조: 1) 토큰 2) 리셋·기본 3) 공통 컴포넌트 4) 섹션별 5) 반응형 6) 모션 감소
   작성 방식: 모바일 퍼스트 + min-width 미디어쿼리 (768 / 1024 / 1200)
   ========================================================================== */

/* 1) 브랜드 토큰 ------------------------------------------------------------ */
:root {
  --c-orange: #FE6F20;       /* 브랜드 오렌지: 넓은 면·장식 전용 (흰 글자 금지, 위에는 잉크만 5.69:1) */
  --c-orange-deep: #BF4A0D;  /* 딥 오렌지: 흰 글자 버튼·링크·선택 상태 (흰색과 5.0:1) */
  --c-orange-hover: #A23F0B;
  --c-ink: #222222;          /* 제목·본문·포커스 링 */
  --c-text-2: #474747;       /* 보조 본문 (흰 배경 9.29:1, 크림 8.58:1) */
  --c-warm-dark: #2A211C;    /* 히어로 사진 브라운 톤에서 파생: 뉴스레터·히어로 바탕 */
  --c-warm-darker: #1F1915;  /* 푸터 */
  --c-cream: #FFF4EC;
  --c-peach: #FFE3D1;
  --c-line: #DFDFDF;
  --c-sub: #6B6B6B;          /* 날짜·메타 (흰 배경 5.33:1) */
  --c-error: #B3261E;
  --c-error-on-dark: #FFB4AB;/* 어두운 면 위 오류 문구 (웜 다크 대비 9.6:1) */
  --c-white: #FFFFFF;
  --c-fur: #AA8866;          /* 사진 톤 기준값: UI 색으로는 쓰지 않음 */

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;

  --fs-hero: clamp(1.625rem, 1.05rem + 2.5vw, 3.25rem);   /* 28 → 52px */
  --fs-h2: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem);      /* 26 → 36px */
  --fs-h3: clamp(1.125rem, 1.06rem + .28vw, 1.25rem);     /* 18 → 20px */
  --fs-body: clamp(1rem, .975rem + .1vw, 1.0625rem);      /* 16 → 17px */
  --fs-meta: clamp(.8125rem, .79rem + .1vw, .875rem);     /* 13 → 14px */

  --r-control: .5rem;
  --r-card: 1rem;
  --r-lg: 1.5rem;

  --container: 75rem;
  --gutter: 1rem;
  --header-h: 3.75rem;
  --sticky-h: 4rem;

  --shadow-card: 0 .75rem 2rem rgba(42, 33, 28, .18);
  --shadow-soft: 0 .5rem 1.5rem rgba(42, 33, 28, .1);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 2rem; --header-h: 4.5rem; } }
@media (min-width: 1200px) { :root { --gutter: 1.5rem; --header-h: 5.5rem; } }

/* 2) 리셋 · 기본 ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
html.has-sticky { scroll-padding-bottom: calc(var(--sticky-h) + 1rem); }
body {
  margin: 0;
  min-width: 20rem;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-white);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sr-input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.ico {
  display: inline-block; flex: none; width: 1.5rem; height: 1.5rem;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ico--sm { width: 1.125rem; height: 1.125rem; }
.ico--xs { width: .875rem; height: .875rem; }
.br-pc { display: none; }

/* 포커스: 밝은 면은 잉크, 어두운 면은 흰색 (3px + offset 2px) */
:focus-visible { outline: 3px solid var(--c-ink); outline-offset: 2px; }
.sr-input:focus-visible + label { outline: 3px solid var(--c-ink); outline-offset: 2px; }
.notice-bar :focus-visible,
.hero :focus-visible,
.newsletter :focus-visible,
.site-footer :focus-visible,
.site-header:not(.is-scrolled):not(.is-mega) .header__inner > .logo :focus-visible,
.site-header:not(.is-scrolled):not(.is-mega) .util :focus-visible { outline-color: var(--c-white); }

.skip-link {
  position: absolute; left: 1rem; top: -6rem; z-index: 1000;
  padding: .75rem 1.25rem; border-radius: var(--r-control);
  background: var(--c-ink); color: var(--c-white); font-weight: 700;
}
.skip-link:focus { top: .5rem; }

/* 3) 공통 컴포넌트 --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: 0 1.5rem;
  border: 2px solid transparent; border-radius: var(--r-control);
  font-size: 1rem; font-weight: 700; line-height: 1.2; text-align: center; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--primary { background: var(--c-orange-deep); color: var(--c-white); }
.btn--primary:hover { background: var(--c-orange-hover); }
.btn--brand { background: var(--c-orange); color: var(--c-ink); }
.btn--brand:hover { background: #FF8A4A; }
.btn--outline, .btn--outline-ink { background: var(--c-white); border-color: var(--c-ink); color: var(--c-ink); }
.btn--outline:hover, .btn--outline-ink:hover { background: var(--c-ink); color: var(--c-white); }
.btn--ghost-light { min-height: 3.25rem; border-color: rgba(255, 255, 255, .85); color: var(--c-white); }
.btn--ghost-light:hover { background: var(--c-white); color: var(--c-ink); }
.btn--pill { border-radius: 999px; }
.btn--sm { min-height: 2.75rem; padding: 0 1rem; font-size: .9375rem; }
.btn--lg { min-height: 3.5rem; padding: 0 2rem; font-size: 1.0625rem; }
.btn--xl { min-height: 3.5rem; font-size: 1.125rem; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; color: inherit;
  transition: background-color .2s;
}
.icon-btn:hover { background: rgba(127, 127, 127, .16); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; line-height: 1.4;
  color: var(--c-orange-deep);
}
.eyebrow::before { content: ""; width: 1.25rem; height: 2px; background: currentColor; }
.eyebrow--ink { color: var(--c-ink); }
.eyebrow--ink::before { display: none; }
.eyebrow--light, .eyebrow--onDark { color: var(--c-orange); }

.section { padding: 4.5rem 0; }
.section.adoption { padding-bottom: 3rem; } /* 바로 아래 흰 배경 '주요 활동'과의 간격이 두 배가 되지 않게 */
.sec-head { margin-bottom: 2rem; }
.sec-head--center { text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-title { margin-top: .625rem; font-size: var(--fs-h2); font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
.sec-lead { margin-top: .75rem; color: var(--c-text-2); }

.text-link {
  display: inline-flex; align-items: center; gap: .375rem; min-height: 2.75rem; margin-top: 1rem;
  font-weight: 700; color: var(--c-orange-deep);
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .ico { transition: transform .2s; }
.text-link:hover .ico { transform: translateX(3px); }
.text-link--sm { margin-top: 0; font-size: .9375rem; }
.note { font-size: .8125rem; color: var(--c-sub); line-height: 1.55; }

/* 고지 바 */
.notice-bar { position: relative; z-index: 1; background: var(--c-ink); color: var(--c-white); font-size: .8125rem; line-height: 1.4; }
.notice-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 2.25rem; }
.notice-bar__text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice-bar__text strong { font-weight: 700; color: var(--c-orange); }
.notice-bar__long { display: none; }
.notice-bar__link {
  display: inline-flex; align-items: center; gap: .25rem; flex: none; min-height: 2.25rem;
  font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}

/* 4) 헤더 · GNB ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  margin-bottom: calc(var(--header-h) * -1);
  color: var(--c-white);
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.site-header.is-scrolled, .site-header.is-mega {
  background: var(--c-white); color: var(--c-ink);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}
.header__inner { position: relative; z-index: 2; display: flex; align-items: center; gap: .5rem; height: 100%; }

.logo { flex: none; margin-right: auto; font-size: inherit; }
.logo__link, .footer__logo { display: flex; align-items: center; gap: .5rem; min-height: 2.75rem; }
.logo__mark { width: 2rem; height: 2rem; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__ko { font-size: 1.3125rem; font-weight: 800; letter-spacing: -.01em; }
/* 영문 서브 표기: SVG textLength로 국문 워드마크 폭에 정확히 맞춤 (width:0 + min-width:100%) */
.logo__en { width: 0; min-width: 100%; height: auto; margin-top: .3125rem; overflow: visible; fill: currentColor; font-size: 8px; font-weight: 600; }
.site-header:not(.is-scrolled):not(.is-mega) .logo__mark { --logo-heart: #FE6F20; }

.util { display: flex; align-items: center; gap: .125rem; flex: none; }
.util__link--wide { display: none; }
.header__cta { display: none; }

/* 언어 전환 (ENG ↔ KOR) — 모든 너비에서 헤더에 노출 */
.util__lang {
  display: inline-flex; align-items: center; justify-content: center; gap: .25rem; flex: none;
  min-width: 2.75rem; height: 2.75rem; padding: 0 .5rem; border-radius: 999px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .04em; line-height: 1;
  transition: background-color .2s;
}
.util__lang:hover { background: rgba(127, 127, 127, .16); }
.util__lang .ico { width: 1rem; height: 1rem; }
@media (max-width: 399.98px) {
  .util__lang .ico { display: none; }
}
@media (max-width: 359.98px) {
  .logo__ko { font-size: 1.125rem; }
  .logo__mark { width: 1.75rem; height: 1.75rem; }
  .hero__ctrl .hero__dot { width: 2rem; }
  .hero__ctrl .hero__arrow { width: 2.5rem; }
}

/* 모바일·태블릿 드로어 (≤1199px) */
@media (max-width: 1199.98px) {
  .gnb-wrap {
    position: fixed; inset: 0; z-index: 100;
    display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    background: var(--c-white); color: var(--c-ink);
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s var(--ease), visibility 0s linear .3s;
  }
  .gnb-wrap.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
  .drawer__head {
    display: flex; align-items: center; justify-content: space-between; flex: none;
    height: var(--header-h); padding: 0 calc(var(--gutter) - .5rem) 0 var(--gutter);
    border-bottom: 1px solid var(--c-line);
  }
  .drawer__title { font-size: 1.125rem; font-weight: 800; }
  .gnb { padding: .5rem var(--gutter) 1.5rem; }
  .gnb__item { border-bottom: 1px solid var(--c-line); }
  /* 대분류: 링크(페이지 이동) + 화살표 버튼(하위 메뉴 펼침) */
  .gnb__head { display: flex; align-items: center; gap: .5rem; }
  .gnb__link {
    display: flex; align-items: center; flex: 1; min-width: 0;
    min-height: 3.5rem; font-size: 1.125rem; font-weight: 700;
  }
  .gnb__link:hover { color: var(--c-orange-deep); }
  .gnb__link[aria-current="page"] { color: var(--c-orange-deep); }
  .gnb__link[aria-current="page"]::after {
    content: ""; width: .375rem; height: .375rem; margin-left: .5rem; border-radius: 50%; background: var(--c-orange);
  }
  .gnb__toggle {
    display: grid; place-items: center; flex: none;
    width: 2.75rem; height: 2.75rem; margin-right: -.375rem; border-radius: 50%;
    transition: background-color .2s, color .2s;
  }
  .gnb__toggle:hover { background: var(--c-cream); }
  .gnb__caret { transition: transform .2s; }
  .gnb__toggle[aria-expanded="true"] { color: var(--c-orange-deep); }
  .gnb__toggle[aria-expanded="true"] .gnb__caret { transform: rotate(180deg); }
  .gnb__sub { display: none; padding: 0 0 .75rem; }
  .gnb__item.is-open .gnb__sub { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
  .gnb__sub a {
    display: flex; align-items: center; min-height: 2.75rem; padding: 0 .75rem;
    border-radius: var(--r-control); background: var(--c-cream); color: var(--c-text-2); font-size: .9375rem;
  }
  .gnb__sub a:hover { color: var(--c-orange-deep); }
  .drawer__util {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: auto;
    padding: 1.25rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom));
    background: var(--c-cream);
  }
  .drawer__util-link {
    display: flex; align-items: center; justify-content: center; gap: .375rem; width: 100%; min-height: 3rem;
    border: 1px solid var(--c-line); border-radius: var(--r-control); background: var(--c-white); font-weight: 600;
  }
  .drawer__util .btn { grid-column: 1 / -1; }
  .mega-bg { display: none; }
}

/* 5) 히어로 캠페인 슬라이드 ------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--c-warm-dark); color: var(--c-white); }
.hero__track { display: grid; }
.hero__slide {
  grid-area: 1 / 1; position: relative; z-index: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease), visibility 0s linear .7s;
}
.hero__slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg::before, .hero__bg::after { content: ""; position: absolute; inset: 0; }

/* 사진 슬라이드: 같은 사진을 흐리게 깔아 골든·브라운 톤을 화면 전체로 확장 */
.hero__slide--photo .hero__bg::before {
  inset: -4rem;
  background: url("../img/hero-puppy.jpg") 30% 50% / cover no-repeat;
  filter: blur(40px) saturate(1.15);
  transform: scale(1.1);
}
.hero__slide--photo .hero__bg::after {
  background:
    linear-gradient(180deg, rgba(31, 25, 21, .55) 0, rgba(31, 25, 21, 0) 10rem), /* 헤더 글자 가독성 */
    linear-gradient(90deg, rgba(31, 25, 21, .95) 0%, rgba(31, 25, 21, .86) 38%, rgba(31, 25, 21, .5) 72%, rgba(31, 25, 21, .32) 100%),
    linear-gradient(0deg, rgba(31, 25, 21, .55) 0%, rgba(31, 25, 21, 0) 45%);
}
/* 일러스트 슬라이드: 웜 다크 + 캠페인 모티프 패턴 */
.hero__slide--bear .hero__bg,
.hero__slide--cat .hero__bg,
.hero__slide--horse .hero__bg,
.hero__slide--hen .hero__bg {
  background:
    radial-gradient(48rem 30rem at 82% 45%, rgba(254, 111, 32, .26), transparent 62%),
    linear-gradient(135deg, #2A211C 0%, #3A2A20 100%);
}
.hero__slide--bear .hero__bg::after { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 6px, transparent 6px 54px); }
.hero__slide--cat .hero__bg::after { background-image: radial-gradient(rgba(255, 255, 255, .07) 1.5px, transparent 1.6px); background-size: 22px 22px; }
.hero__slide--horse .hero__bg::after { background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 4px, transparent 4px 40px); }
.hero__slide--hen .hero__bg::after {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 28px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 28px);
}

.hero__inner {
  display: grid; gap: 1.5rem;
  padding-top: calc(var(--header-h) + .75rem);
  padding-bottom: 5.5rem; /* 아래에 겹쳐 놓는 슬라이드 컨트롤 자리 */
}
.hero__copy { max-width: 40rem; }
.hero__chip {
  display: inline-flex; align-items: center; min-height: 2rem; padding: .25rem .875rem;
  border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
}
.hero__title {
  margin-top: .875rem;
  font-size: var(--fs-hero); font-weight: 800; line-height: 1.32; letter-spacing: -.025em;
}
.hero__sub { margin-top: .75rem; max-width: 32rem; font-size: clamp(.9375rem, .88rem + .3vw, 1.125rem); color: rgba(255, 255, 255, .88); }
.hero__copy .btn { margin-top: 1.5rem; }

.hero__visual {
  order: -1; position: relative; overflow: hidden;
  aspect-ratio: 3 / 2; border-radius: var(--r-card);
  background: #3A2A20;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .35);
}
.hero__visual img, .hero__visual > svg { width: 100%; height: 100%; object-fit: cover; object-position: 25% 50%; }
.hero__caption {
  position: absolute; left: .75rem; bottom: .75rem;
  display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem;
  border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--c-ink);
  font-size: .8125rem; font-weight: 700;
}
.hero__caption .ico { color: var(--c-orange-deep); }

.hero__controls { position: absolute; left: 0; right: 0; bottom: 1.5rem; z-index: 2; }
.hero__ctrl { display: flex; align-items: center; gap: .125rem; }
.hero__dots { display: flex; align-items: center; }
/* 모바일: 대시 버튼도 44px 터치 영역, 태블릿 이상: 원본처럼 촘촘한 대시 */
.hero__dot { position: relative; width: 2.75rem; height: 2.75rem; transition: width .3s var(--ease); }
.hero__dot::before {
  content: ""; position: absolute; left: .625rem; right: .625rem; top: 50%; height: 3px; margin-top: -1.5px;
  border-radius: 2px; background: var(--c-line); opacity: .75; transition: background-color .3s, opacity .3s, left .3s, right .3s;
}
.hero__dot:hover::before { opacity: 1; }
.hero__dot.is-active::before { left: .25rem; right: .25rem; background: var(--c-orange); opacity: 1; }
.hero__count { margin: 0 .5rem 0 .75rem; font-size: .875rem; white-space: nowrap; color: rgba(255, 255, 255, .8); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
@media (max-width: 479.98px) { .hero__count { display: none; } .hero__pause { margin-left: auto; } }
.hero__count b { font-weight: 700; color: var(--c-white); }
.hero__pause { width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255, 255, 255, .5); }

/* 6) 후원 모듈 ------------------------------------------------------------- */
.donate {
  position: relative; overflow: clip; /* hidden이면 스크롤 컨테이너가 되어 sticky가 어긋남 */
  padding: 3.5rem 0 4rem;
  background: var(--c-orange);
  color: var(--c-ink);
}
.donate::before { /* 로고 하트 모티프 워터마크 */
  content: ""; position: absolute; left: -6rem; bottom: -7rem; width: 26rem; height: 26rem; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.6 4.5 13.3a4.9 4.9 0 0 1 0-6.9 4.8 4.8 0 0 1 6.9 0l.6.6.6-.6a4.8 4.8 0 0 1 6.9 0 4.9 4.9 0 0 1 0 6.9z' fill='%23ffffff' fill-opacity='.14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.donate__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.donate__title { margin-top: .75rem; font-size: var(--fs-h2); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.donate__lead { margin-top: .875rem; font-weight: 500; }
.trust-mini { display: grid; gap: .625rem; margin-top: 1.5rem; }
.trust-mini li { display: flex; align-items: center; gap: .625rem; font-weight: 700; }
.trust-mini__ico { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; flex: none; border-radius: 50%; background: var(--c-white); color: var(--c-ink); }
.trust-mini__ico .ico { stroke-width: 2.6; width: 1rem; height: 1rem; }
.donate__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-top: 1.25rem; }
.donate__links a {
  display: inline-flex; align-items: center; gap: .25rem; min-height: 2.75rem;
  font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}

.donate-card {
  position: relative; padding: 1.5rem 1.25rem;
  border-radius: var(--r-card); background: var(--c-white);
  box-shadow: 0 12px 32px rgba(42, 33, 28, .18);
}
.donate-card__set { min-width: 0; padding: 0; border: 0; }
.donate-card__set + .donate-card__set { margin-top: 1.5rem; }
.form-legend { padding: 0; margin-bottom: .625rem; font-size: .9375rem; font-weight: 800; }
.form-help { margin-top: .5rem; font-size: .875rem; color: var(--c-sub); }

.seg { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.seg__btn {
  display: flex; align-items: center; justify-content: center; gap: .375rem;
  min-height: 3.25rem; padding: 0 .5rem;
  border: 2px solid var(--c-line); border-radius: var(--r-control); background: var(--c-white);
  font-weight: 700; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.seg__btn:hover { border-color: var(--c-orange-deep); }
.seg__sub { font-size: .875rem; font-weight: 500; color: var(--c-sub); }
.seg__sub::before { content: "· "; }
.seg__check { display: none; stroke-width: 2.6; }
.sr-input:checked + .seg__btn { border-color: var(--c-orange-deep); background: var(--c-orange-deep); color: var(--c-white); }
.sr-input:checked + .seg__btn .seg__sub { color: rgba(255, 255, 255, .92); }
.sr-input:checked + .seg__btn .seg__check { display: block; }
/* 아주 좁은 화면(영문 'Monthly · recurring' 등): 버튼 글자 줄바꿈 허용 → 카드가 열을 넘지 않게 */
@media (max-width: 399.98px) {
  .seg__btn { flex-wrap: wrap; gap: 0 .25rem; padding: .375rem .5rem; line-height: 1.3; text-align: center; }
  .donate-card { padding-inline: 1rem; }
}

.presets { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.preset {
  display: flex; align-items: center; justify-content: center; gap: .25rem;
  min-height: 3.25rem; padding: 0 .25rem;
  border: 2px solid var(--c-line); border-radius: var(--r-control); background: var(--c-white);
  font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.preset:hover { border-color: var(--c-orange-deep); }
.preset__check { display: none; color: var(--c-orange-deep); stroke-width: 2.8; }
.sr-input:checked + .preset { border-color: var(--c-orange-deep); background: var(--c-peach); font-weight: 800; }
.sr-input:checked + .preset .preset__check { display: block; }

.custom { position: relative; display: flex; gap: .5rem; margin-top: .5rem; }
.custom__radio {
  display: flex; align-items: center; gap: .5rem; flex: none;
  min-height: 3.25rem; padding: 0 .875rem;
  border: 2px solid var(--c-line); border-radius: var(--r-control); background: var(--c-white);
  font-weight: 600; white-space: nowrap; cursor: pointer;
}
.custom__radio:hover { border-color: var(--c-orange-deep); }
.custom__dot { position: relative; width: 1.125rem; height: 1.125rem; border: 2px solid #767676; border-radius: 50%; }
.sr-input:checked + .custom__radio { border-color: var(--c-orange-deep); background: var(--c-peach); font-weight: 800; }
.sr-input:checked + .custom__radio .custom__dot { border-color: var(--c-orange-deep); }
.sr-input:checked + .custom__radio .custom__dot::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--c-orange-deep); }
.custom__field { position: relative; flex: 1; min-width: 0; }
.custom__input {
  width: 100%; height: 100%; min-height: 3.25rem; padding: 0 2.5rem 0 1rem;
  border: 2px solid var(--c-line); border-radius: var(--r-control); background: var(--c-white);
  font-size: 1.0625rem; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums;
}
.custom__input::placeholder { color: #767676; font-weight: 500; }
.custom__input:hover { border-color: #9a9a9a; }
.custom__input:focus { border-color: var(--c-ink); }
.custom__input[aria-invalid="true"] { border-color: var(--c-error); background: #FFF8F7; }
.custom__unit { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--c-text-2); pointer-events: none; }
.form-error { display: flex; align-items: flex-start; gap: .375rem; margin-top: .5rem; font-size: .875rem; font-weight: 600; color: var(--c-error); }
.form-error .ico { margin-top: .125rem; }

.impact { margin-top: 1.5rem; padding: 1rem 1.125rem; border-left: 4px solid var(--c-orange); border-radius: 0 var(--r-control) var(--r-control) 0; background: var(--c-cream); }
.impact__title { display: flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 800; color: var(--c-orange-deep); }
.impact__ico { display: inline-flex; color: var(--c-orange); }
.impact__text { margin-top: .375rem; font-weight: 600; line-height: 1.55; }
.impact__note { margin-top: .5rem; font-size: .8125rem; line-height: 1.5; color: var(--c-sub); }

.donate-card__submit { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--c-line); }
.donate-summary { margin-bottom: .75rem; text-align: center; font-size: .9375rem; }
.donate-summary strong { font-weight: 800; color: var(--c-orange-deep); }
.donate-card__foot { margin-top: .625rem; text-align: center; font-size: .8125rem; color: var(--c-sub); }

/* 7) 입양 ------------------------------------------------------------------ */
.filter-bar { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.chips {
  display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: .375rem var(--gutter);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: .375rem; flex: none; scroll-snap-align: start;
  min-height: 2.75rem; padding: 0 1.25rem;
  border: 1.5px solid var(--c-line); border-radius: 999px; background: var(--c-white);
  font-size: .9375rem; font-weight: 600; transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover { border-color: var(--c-ink); }
.chip__check { display: none; stroke-width: 2.8; }
.chip[aria-pressed="true"] { border-color: var(--c-ink); background: var(--c-ink); color: var(--c-white); font-weight: 700; }
.chip[aria-pressed="true"] .chip__check { display: block; }
.filter-count { font-size: .9375rem; color: var(--c-sub); }
.filter-count strong { font-weight: 800; color: var(--c-ink); }

.pets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .75rem; }
.pet__card { position: relative; display: flex; flex-direction: column; height: 100%; }
.pet__thumb {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--r-card);
  background-color: var(--c-peach);
  background-image: radial-gradient(rgba(255, 255, 255, .6) 1.5px, transparent 1.7px);
  background-size: 18px 18px;
}
.pet__thumb--a { background-color: #FFE3D1; }
.pet__thumb--b { background-color: #FBEBDD; }
.pet__thumb--c { background-color: #F6DCC6; }
.pet__thumb--d { background-color: #FFEFE3; }
.pet__thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(0deg, rgba(170, 136, 102, .22), transparent); }
.pet__ill {
  position: absolute; left: 50%; bottom: 0; z-index: 1;
  width: auto; height: 86%; aspect-ratio: 1 / 1;
  transform: translateX(-50%); transform-origin: 50% 100%;
  transition: transform .4s var(--ease);
}
.pet__card:hover .pet__ill, .pet__card:focus-within .pet__ill { transform: translateX(-50%) scale(1.04); }
.badge {
  position: absolute; top: .625rem; left: .625rem; z-index: 2;
  display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0 .75rem;
  border-radius: 999px; font-size: .8125rem; font-weight: 700;
}
.badge--adopt { background: var(--c-orange-deep); color: var(--c-white); }
.badge--bond { border: 1.5px solid var(--c-ink); background: var(--c-white); color: var(--c-ink); }
.pet__body { display: flex; flex-direction: column; flex: 1; padding: .875rem .125rem 0; }
.pet__name { font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; }
.pet__meta { margin-top: .125rem; font-size: var(--fs-meta); font-weight: 500; color: var(--c-sub); line-height: 1.45; }
.pet__desc { margin-top: .375rem; font-size: .9375rem; line-height: 1.5; }
.pet__more {
  display: inline-flex; align-items: center; gap: .25rem; align-self: flex-start;
  min-height: 2.75rem; margin-top: auto; padding-top: .25rem;
  font-size: .9375rem; font-weight: 700; color: var(--c-orange-deep);
}
.pet__more::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: var(--r-card); }
.pet__more:focus-visible { outline: none; }
.pet__more:focus-visible::after { outline: 3px solid var(--c-ink); outline-offset: 4px; }
.pet__card:hover .pet__more { text-decoration: underline; text-underline-offset: 4px; }
.pet__more .ico { transition: transform .2s; }
.pet__card:hover .pet__more .ico { transform: translateX(3px); }
.pets__empty { padding: 3rem 1rem; border-radius: var(--r-card); background: var(--c-cream); text-align: center; font-weight: 600; }
.adoption__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 2.25rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* 8) 주요 활동 -------------------------------------------------------------- */
.work { background: linear-gradient(180deg, var(--c-white) 0%, var(--c-white) 55%, #FFFAF6 100%); }
.work__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.work-tile {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: .625rem; height: 100%;
  min-height: 4rem; padding: .625rem .75rem;
  border: 1px solid var(--c-line); border-radius: var(--r-control); background: var(--c-white);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.work-tile::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--c-orange); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.work-tile:hover, .work-tile:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: #E9D6C8; }
.work-tile:hover::after, .work-tile:focus-visible::after { transform: scaleX(1); }
.work-tile__ico { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--c-peach); color: var(--c-ink); }
.work-tile__ico .ico { width: 1.25rem; height: 1.25rem; }
.work-tile__txt { display: flex; flex-direction: column; min-width: 0; }
.work-tile__title { font-size: .9375rem; font-weight: 700; line-height: 1.35; }
.work-tile__more { display: none; margin-top: .25rem; font-size: .8125rem; font-weight: 500; color: var(--c-sub); }

/* 9) 온센터 · 함께하는 방법 ------------------------------------------------- */
.center { background: var(--c-cream); }
.center__grid { display: grid; gap: 2rem; }
.center__visual { position: relative; overflow: hidden; aspect-ratio: 560 / 460; border-radius: var(--r-lg); background: var(--c-peach); }
.center__visual > svg { width: 100%; height: 100%; }
.center__tag {
  position: absolute; left: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .875rem;
  border-radius: 999px; background: var(--c-white); box-shadow: var(--shadow-soft);
  font-size: .8125rem; font-weight: 700;
}
.center__tag .ico { color: var(--c-orange-deep); }
.center__cards { display: grid; gap: .75rem; margin-top: 1.5rem; }
.center-card { display: grid; gap: .25rem; padding: 1.25rem; border-radius: var(--r-card); background: var(--c-white); }
.center-card__title { font-size: var(--fs-h3); font-weight: 700; }
.center-card__text { font-size: .9375rem; color: var(--c-text-2); }
.center-card__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .625rem; }

.ways { margin-top: 3.5rem; }
.ways__title { margin-bottom: 1.25rem; font-size: clamp(1.25rem, 1.12rem + .55vw, 1.5rem); font-weight: 800; letter-spacing: -.01em; }
.ways__grid { display: grid; gap: .75rem; }
.way {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 1rem; row-gap: .125rem; align-items: center;
  height: 100%; padding: 1.125rem 1.25rem;
  border-radius: var(--r-card); background: var(--c-white);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.way::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--c-orange); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.way:hover, .way:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.way:hover::after, .way:focus-visible::after { transform: scaleX(1); }
.way__ico { grid-row: 1 / 3; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--c-peach); color: var(--c-ink); }
.way__title { font-size: 1.0625rem; font-weight: 700; }
.way__text { grid-column: 2; font-size: .875rem; line-height: 1.5; color: var(--c-text-2); }
.way__arrow { grid-column: 3; grid-row: 1 / 3; color: var(--c-orange-deep); transition: transform .2s; }
.way:hover .way__arrow { transform: translateX(3px); }

/* 10) 소식 · 보고서 --------------------------------------------------------- */
.news__grid { display: grid; gap: 3rem; }
.news__main { min-width: 0; }
.news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.news__head .text-link { margin-top: 0; flex: none; }
.tabs { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--c-line); }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; min-height: 3rem; padding: 0 1rem; font-weight: 600; color: var(--c-sub); transition: color .2s; }
.tab:hover { color: var(--c-ink); }
.tab:focus-visible { outline-offset: -3px; }
.tab[aria-selected="true"] { font-weight: 800; color: var(--c-ink); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--c-orange); }
.tabpanel { margin-bottom: 1rem; }
.tabpanel:focus-visible { outline-offset: 4px; }
.news-row {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "tag date" "title title";
  align-items: center; gap: .375rem .75rem;
  padding: 1rem .25rem; border-bottom: 1px solid var(--c-line);
}
.tag {
  grid-area: tag; justify-self: start;
  display: inline-flex; align-items: center; min-height: 1.5rem; padding: 0 .625rem;
  border-radius: 999px; background: var(--c-peach); font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.news-row__title {
  grid-area: title; min-width: 0; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-row__date { grid-area: date; justify-self: end; font-size: var(--fs-meta); color: var(--c-sub); font-variant-numeric: tabular-nums; }
.news-row:hover .news-row__title { color: var(--c-orange-deep); text-decoration: underline; text-underline-offset: 3px; }

.reports { min-width: 0; }
.reports__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.reports__title { font-size: var(--fs-h3); font-weight: 800; }
.reports__list {
  display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: .375rem var(--gutter) .5rem;
}
.reports__list::-webkit-scrollbar { display: none; }
.reports__list li { flex: 0 0 78%; scroll-snap-align: start; }
.report {
  display: flex; align-items: center; gap: 1rem; height: 100%; padding: .75rem;
  border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-white);
  transition: border-color .2s, box-shadow .2s;
}
.report:hover { border-color: #E9D6C8; box-shadow: var(--shadow-soft); }
.report__cover {
  position: relative; overflow: hidden; flex: none;
  display: flex; flex-direction: column; justify-content: space-between;
  width: 4.5rem; aspect-ratio: 3 / 4; padding: .5rem; border-radius: .5rem;
}
.report__cover::after { content: ""; position: absolute; right: -1.25rem; bottom: -1.25rem; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: currentColor; opacity: .18; }
.report__cover .ico { width: 1.25rem; height: 1.25rem; }
.report__cover--a { background: var(--c-warm-dark); color: var(--c-orange); }
.report__cover--b { background: var(--c-orange); color: var(--c-ink); }
.report__cover--c { background: var(--c-peach); color: var(--c-orange-deep); }
.report__cover-txt { font-size: .5rem; font-weight: 800; letter-spacing: .14em; }
.report__body { min-width: 0; }
.report__title { display: block; font-size: .9375rem; font-weight: 700; line-height: 1.45; }
.report:hover .report__title { color: var(--c-orange-deep); }
.report__meta { display: inline-flex; align-items: center; gap: .25rem; margin-top: .375rem; font-size: .8125rem; color: var(--c-sub); }

.insta-strip {
  display: flex; align-items: center; gap: .875rem; margin-top: 2.5rem; padding: 1rem 1.125rem;
  border-radius: var(--r-card); background: var(--c-cream); font-size: .9375rem; line-height: 1.5;
  transition: background-color .2s;
}
.insta-strip:hover { background: var(--c-peach); }
.insta-strip__ico { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-orange-deep); color: var(--c-white); }
.insta-strip__txt strong { display: block; font-weight: 800; }
.insta-strip__arrow { flex: none; margin-left: auto; color: var(--c-orange-deep); }

/* 11) 신뢰 · CTA ------------------------------------------------------------ */
.section.trust { padding-top: 0; }
.trust__banner {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; min-height: 15rem;
  border-radius: var(--r-lg); background: var(--c-warm-dark); color: var(--c-white);
}
.trust__banner img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.trust__banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(31, 25, 21, .94) 0%, rgba(31, 25, 21, .78) 60%, rgba(31, 25, 21, .55) 100%);
}
.trust__banner-copy { max-width: 40rem; padding: 2rem 1.5rem; }
.trust__title { margin-top: .5rem; font-size: var(--fs-h2); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.trust__lead { margin-top: .5rem; color: rgba(255, 255, 255, .9); }
.trust__cards { display: grid; gap: .75rem; margin-top: 1.25rem; }
.trust-card { padding: 1.5rem; border-radius: var(--r-card); background: var(--c-cream); }
.trust-card__ico { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--c-white); color: var(--c-orange-deep); box-shadow: 0 4px 12px rgba(191, 74, 13, .12); }
.trust-card__ico .ico { width: 1.625rem; height: 1.625rem; }
.trust-card__title { margin-top: 1rem; font-size: var(--fs-h3); font-weight: 800; line-height: 1.4; }
.trust-card__text { margin-top: .5rem; color: var(--c-text-2); }
.trust__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; margin-top: 2rem; }
.trust__actions .btn { flex: 1 1 100%; }

/* 12) 뉴스레터 -------------------------------------------------------------- */
.newsletter { padding: 3.5rem 0; background: var(--c-warm-dark); color: var(--c-white); }
.newsletter__grid { display: grid; gap: 1.75rem; }
.newsletter__title { margin-top: .5rem; font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); font-weight: 800; letter-spacing: -.01em; }
.newsletter__lead { margin-top: .5rem; color: rgba(255, 255, 255, .85); }
.nl-form__alert { margin: 0; font-size: .875rem; font-weight: 600; color: #FFDAD6; }
.nl-form__alert:not(:empty) { margin-bottom: 1rem; padding: .75rem 1rem; border: 1px solid var(--c-error-on-dark); border-radius: var(--r-control); background: rgba(255, 180, 171, .1); }
.nl-form__row { display: grid; gap: 1rem; }
.field__label { display: block; margin-bottom: .5rem; font-size: .9375rem; font-weight: 600; }
.req { font-size: .8125rem; font-weight: 700; color: var(--c-orange); }
.field__input {
  width: 100%; height: 3.25rem; padding: 0 1rem;
  border: 3px solid transparent; border-radius: var(--r-control); background: var(--c-white); color: var(--c-ink);
  font-size: 1rem;
}
.field__input[aria-invalid="true"] { border-color: var(--c-error-on-dark); }
.field__error { display: flex; align-items: flex-start; gap: .375rem; margin-top: .5rem; font-size: .875rem; font-weight: 600; color: var(--c-error-on-dark); }
.field__error .ico { margin-top: .125rem; }
.nl-form__submit { height: 3.25rem; min-height: 3.25rem; }
.nl-form__consents { display: grid; gap: .125rem; margin-top: 1rem; }
.check { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5rem; }
.check__input { position: absolute; top: .625rem; left: 0; width: 1.5rem; height: 1.5rem; margin: 0; opacity: 0; }
.check__label { display: inline-flex; align-items: center; gap: .625rem; min-height: 2.75rem; font-size: .9375rem; cursor: pointer; }
.check__box {
  display: grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem;
  border: 2px solid rgba(255, 255, 255, .8); border-radius: .375rem; color: transparent;
  transition: background-color .15s, border-color .15s;
}
.check__box .ico { stroke-width: 3; }
.check__input:checked + .check__label .check__box { border-color: var(--c-orange); background: var(--c-orange); color: var(--c-ink); }
.check__input:focus-visible + .check__label .check__box { outline: 3px solid var(--c-white); outline-offset: 2px; }
.check__input[aria-invalid="true"] + .check__label .check__box { border-color: var(--c-error-on-dark); }
.check__more {
  display: inline-flex; align-items: center; gap: .25rem; min-height: 2.75rem; padding: 0 .25rem;
  font-size: .8125rem; color: rgba(255, 255, 255, .85); text-decoration: underline; text-underline-offset: 3px;
}
.check__more .ico { transition: transform .2s; }
.check__more[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nl-terms { margin: .25rem 0 .5rem; padding: .875rem 1rem; border-radius: var(--r-control); background: rgba(255, 255, 255, .07); font-size: .8125rem; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.nl-form__done:not(:empty) { margin-top: 1rem; padding: .875rem 1rem; border: 1px solid var(--c-orange); border-radius: var(--r-control); background: rgba(254, 111, 32, .14); font-weight: 600; }

/* 13) 푸터 · 고정 요소 ------------------------------------------------------ */
.site-footer { padding: 3rem 0 calc(3rem + var(--sticky-h)); background: var(--c-warm-darker); color: rgba(255, 255, 255, .8); font-size: .875rem; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__logo { color: var(--c-white); }
.footer__sns { display: flex; flex-wrap: wrap; gap: .375rem; }
.sns { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--c-white); transition: background-color .2s, color .2s; }
.sns .ico { width: 1.25rem; height: 1.25rem; }
.sns:hover { background: var(--c-orange); color: var(--c-ink); }
/* 푸터 사이트맵: 6개 카테고리 페이지와 하위 섹션 바로가기 */
.footer__sitemap {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem;
  padding: 1.5rem 0 1.75rem; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.sitemap__title a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font-size: 1rem; font-weight: 800; color: var(--c-white);
}
.sitemap__title a::after { content: ""; width: 1rem; height: 2px; margin-left: .5rem; background: var(--c-orange); }
.sitemap__list { display: grid; }
.sitemap__list a {
  display: inline-flex; align-items: center; min-height: 2.25rem; padding: .125rem 0;
  font-size: .875rem; line-height: 1.4; color: rgba(255, 255, 255, .74);
}
.sitemap__title a:hover, .sitemap__list a:hover { color: var(--c-orange); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) { .footer__sitemap { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; } }
@media (min-width: 1200px) { .footer__sitemap { grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 2rem 0; } }

.footer__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-top: 1rem; }
.footer__links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--c-white); }
.footer__links a:hover { color: var(--c-orange); text-decoration: underline; text-underline-offset: 3px; }
.footer__info { margin-top: .5rem; }
.footer__info a { color: var(--c-orange); text-decoration: underline; text-underline-offset: 3px; }
.footer__credit { display: grid; gap: .25rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8125rem; color: rgba(255, 255, 255, .68); }

.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 2fr; gap: .5rem;
  padding: .5rem var(--gutter) calc(.5rem + env(safe-area-inset-bottom));
  background: var(--c-white); box-shadow: 0 -4px 16px rgba(0, 0, 0, .1);
  transform: translateY(110%); visibility: hidden;
  transition: transform .3s var(--ease), visibility 0s linear .3s;
}
.sticky-bar.is-show { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
.sticky-bar .btn { min-height: 3rem; padding: 0 .75rem; }
.floating { display: none; }
.floating__give {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .125rem;
  width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--c-orange-deep); color: var(--c-white); font-size: .8125rem; font-weight: 700;
  box-shadow: 0 8px 20px rgba(191, 74, 13, .35); transition: background-color .2s, transform .2s;
}
.floating__give:hover { background: var(--c-orange-hover); transform: translateY(-2px); }
.floating__give .ico { width: 1.25rem; height: 1.25rem; }
.floating__top {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 2px solid var(--c-ink); background: var(--c-white); color: var(--c-ink); transition: background-color .2s, color .2s;
}
.floating__top:hover { background: var(--c-ink); color: var(--c-white); }

/* 다이얼로그 · 검색 */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(31, 25, 21, .62); }
.modal__box {
  position: relative; width: min(100%, 30rem); padding: 2.5rem 1.5rem 1.5rem;
  border-radius: var(--r-card); background: var(--c-white); text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.modal__box:focus { outline: none; }
.modal__ico { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: 0 auto; border-radius: 50%; background: var(--c-peach); color: var(--c-orange-deep); }
.modal__ico .ico { fill: currentColor; stroke: none; }
.modal__title { margin-top: 1rem; font-size: 1.375rem; font-weight: 800; }
.modal__pick { margin-top: .75rem; font-weight: 700; color: var(--c-orange-deep); }
.modal__text { margin-top: .5rem; font-size: .9375rem; color: var(--c-text-2); }
.modal__actions { display: grid; grid-template-columns: 1fr; gap: .5rem; margin-top: 1.5rem; }
.modal__x { position: absolute; top: .5rem; right: .5rem; }

.search-layer { position: fixed; inset: 0; z-index: 150; background: rgba(31, 25, 21, .62); }
.search-layer__box { position: relative; padding: 4rem 0 2.5rem; background: var(--c-white); color: var(--c-ink); }
.search-layer__box .container { position: relative; }
.search-layer__title { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem); font-weight: 800; letter-spacing: -.01em; }
.search-form { display: flex; align-items: center; margin-top: 1.25rem; border-bottom: 3px solid var(--c-ink); }
.search-form__input { flex: 1; min-width: 0; height: 3.5rem; border: 0; background: transparent; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 600; }
.search-form__input::placeholder { color: #767676; }
.search-layer__keys { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.search-layer__label { font-size: .875rem; font-weight: 700; color: var(--c-sub); }
.search-layer__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.kw { min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; background: var(--c-cream); font-size: .9375rem; font-weight: 600; }
.kw:hover { background: var(--c-peach); }
.search-layer__msg { margin-top: 1rem; font-size: .9375rem; color: var(--c-sub); }
.search-layer__go { font-weight: 700; color: var(--c-orange-deep); text-decoration: underline; text-underline-offset: 3px; }
.search-layer__close { position: absolute; top: -3.25rem; right: calc(var(--gutter) - .5rem); }

/* ==========================================================================
   반응형
   ========================================================================== */
@media (min-width: 768px) {
  .notice-bar__long { display: inline; }
  .notice-bar__short { display: none; }
  .header__cta { display: inline-flex; min-height: 2.5rem; padding: 0 1.125rem; margin-left: .375rem; font-size: .9375rem; }
  .header__cta .ico { width: 1rem; height: 1rem; }
  .logo__mark { width: 2.25rem; height: 2.25rem; }
  .logo__ko { font-size: 1.4375rem; }

  .section { padding: 6rem 0; }
  .sec-head { margin-bottom: 2.5rem; }
  .sec-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }

  .hero__inner { padding-top: calc(var(--header-h) + 1.5rem); }
  .hero__visual { border-radius: var(--r-lg); aspect-ratio: 16 / 10; }
  .hero__inner { padding-bottom: 6.5rem; }
  .hero__controls { bottom: 2.25rem; }
  .hero__dot { width: 2rem; }
  .hero__dot::before { left: .25rem; right: .25rem; }
  .hero__dot.is-active { width: 3rem; }

  .donate { padding: 4.5rem 0 5rem; }
  .donate-card { padding: 2.25rem; }
  .presets { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .preset { min-height: 3.5rem; }
  .custom__radio { padding: 0 1.25rem; }

  .filter-bar { flex-direction: row; align-items: center; justify-content: space-between; }
  .chips { margin: 0; padding: .375rem; overflow: visible; }
  .pets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .pet__thumb { aspect-ratio: 4 / 3; }
  .adoption__foot { flex-direction: row; align-items: center; justify-content: space-between; }

  .work__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
  .work-tile { flex-direction: column; justify-content: center; text-align: center; min-height: 8.5rem; padding: 1rem .5rem; border-radius: var(--r-card); }
  .work-tile__ico { width: 2.75rem; height: 2.75rem; }
  .work-tile__title { font-size: .875rem; }

  .center-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1.5rem; padding: 1.375rem 1.5rem; }
  .center-card__actions { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
  .ways__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

  .news-row { grid-template-columns: 5.75rem minmax(0, 1fr) auto; grid-template-areas: "tag title date"; gap: 1.25rem; min-height: 4rem; padding: .75rem .5rem; }
  .news-row__title { -webkit-line-clamp: 1; }
  .reports__list li { flex-basis: 44%; }

  .trust__banner { min-height: 14rem; }
  .trust__banner::after { background: linear-gradient(90deg, rgba(31, 25, 21, .93) 0%, rgba(31, 25, 21, .75) 50%, rgba(31, 25, 21, .2) 100%); }
  .trust__banner-copy { padding: 2.5rem 3rem; }
  .trust__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
  .trust-card__text { font-size: .9375rem; }
  .trust__actions .btn { flex: 0 0 auto; }

  .newsletter { padding: 4rem 0; }
  .nl-form__row { grid-template-columns: 1fr 1fr; }
  .nl-form__submit { grid-column: 1 / -1; }
  .modal__actions { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .br-pc { display: inline; }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 33.75rem);
    align-items: center; gap: 3.5rem;
    min-height: 40rem;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 7.5rem;
  }
  .hero__visual { order: 0; aspect-ratio: 540 / 400; }
  .hero__caption { left: 1rem; bottom: 1rem; }
  .hero__controls { bottom: 3rem; }

  .donate { padding: 4.5rem 0 5rem; }
  .donate__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
  .donate__intro { position: sticky; top: calc(var(--header-h) + 2rem); padding-top: .5rem; }
  .donate-card { padding: 2.5rem; }
  .btn--xl { min-height: 3.75rem; }

  .center__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4rem; }
  .center__cards { margin-top: 1.75rem; }

  .site-footer { padding-bottom: 3rem; }
  .sticky-bar { display: none; }
  .floating {
    position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 40;
    display: flex; flex-direction: column; align-items: center; gap: .625rem;
    opacity: 0; visibility: hidden; transform: translateY(1rem);
    transition: opacity .3s, transform .3s var(--ease), visibility 0s linear .3s;
  }
  .floating.is-show { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease), visibility 0s; }
}

@media (min-width: 1200px) {
  .section { padding: 7.5rem 0; }

  /* 데스크톱 GNB + 6열 메가메뉴 */
  .logo__mark { width: 2.5rem; height: 2.5rem; }
  .logo__ko { font-size: 1.625rem; }
  .gnb-wrap { display: flex; justify-content: center; flex: 1; height: 100%; }
  .drawer__head, .drawer__util, .menu-toggle, .gnb__toggle { display: none; }
  .gnb, .gnb__list, .gnb__head { height: 100%; }
  .gnb__list { display: flex; }
  .gnb__item { position: relative; width: clamp(5.5rem, 7.5vw, 6.75rem); height: 100%; }
  /* 대분류 링크: 클릭하면 카테고리 페이지로 이동, hover·키보드 포커스로 메가메뉴가 열림 */
  .gnb__link {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; font-size: 1.0625rem; font-weight: 700; text-align: center;
  }
  .gnb__link::after {
    content: ""; position: absolute; left: 50%; bottom: 0; width: 2.25rem; height: 3px; margin-left: -1.125rem;
    border-radius: 3px 3px 0 0; background: var(--c-orange); transform: scaleX(0); transition: transform .2s var(--ease);
  }
  .gnb__item:hover .gnb__link::after, .gnb__item:focus-within .gnb__link::after,
  .gnb__link[aria-current="page"]::after { transform: scaleX(1); }
  .site-header.is-scrolled .gnb__link[aria-current="page"],
  .site-header.is-mega .gnb__link[aria-current="page"] { color: var(--c-orange-deep); }
  .gnb__sub {
    position: absolute; top: 100%; left: -.5rem; right: -.5rem; padding: 1.5rem 0;
    text-align: center; opacity: 0; visibility: hidden; transition: opacity .2s;
  }
  .site-header.is-mega .gnb__sub { opacity: 1; visibility: visible; }
  .gnb__sub a { display: block; padding: .3125rem .125rem; font-size: .9375rem; color: var(--c-text-2); line-height: 1.5; }
  .gnb__sub a:hover { color: var(--c-orange-deep); text-decoration: underline; text-underline-offset: 3px; }
  .gnb__item:hover .gnb__sub { background: linear-gradient(180deg, var(--c-cream), rgba(255, 244, 236, 0)); }
  .mega-bg {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 1; height: 0;
    overflow: hidden; opacity: 0; visibility: hidden;
    border-bottom: 3px solid var(--c-orange); background: var(--c-white);
    box-shadow: 0 16px 24px rgba(0, 0, 0, .08);
    transition: height .25s var(--ease), opacity .2s, visibility 0s linear .25s;
  }
  .site-header.is-mega .mega-bg { height: var(--mega-h, 16.5rem); opacity: 1; visibility: visible; transition: height .25s var(--ease), opacity .2s, visibility 0s; }

  .util { gap: .25rem; }
  .util__link--wide { display: inline-flex; align-items: center; gap: .25rem; min-height: 2.75rem; padding: 0 .375rem; font-size: .875rem; font-weight: 600; }
  .util__link--wide:hover { text-decoration: underline; text-underline-offset: 3px; }
  .util__lang { padding: 0 .625rem; font-size: .875rem; letter-spacing: .02em; }
  .header__cta { min-height: 2.75rem; margin-left: .5rem; }

  .hero__visual { border-radius: var(--r-lg); }

  .pets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }

  .work__grid { gap: 1.25rem 1.5rem; }
  .work-tile { min-height: 10rem; gap: .875rem; }
  .work-tile__ico { width: 3.5rem; height: 3.5rem; }
  .work-tile__ico .ico { width: 1.625rem; height: 1.625rem; }
  .work-tile__title { font-size: 1.0625rem; }
  .work-tile__more { display: block; }

  .ways { margin-top: 5rem; }
  .ways__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .way { grid-template-columns: minmax(0, 1fr) auto; align-content: start; row-gap: .5rem; padding: 1.75rem 1.5rem 1.5rem; }
  .way__ico { grid-row: auto; grid-column: 1 / -1; width: 3.5rem; height: 3.5rem; margin-bottom: .5rem; }
  .way__title { grid-column: 1; }
  .way__arrow { grid-column: 2; grid-row: 2; }
  .way__text { grid-column: 1 / -1; }

  .news__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 4rem; }
  .reports { padding-top: 4.875rem; }
  .reports__list { flex-direction: column; overflow: visible; margin: 0; padding: 0; }
  .reports__list li { flex: none; }

  .trust__actions { margin-top: 2.5rem; }

  .newsletter { padding: 4.5rem 0; }
  .newsletter__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; gap: 4rem; }
  .nl-form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: start; }
  .nl-form__submit { grid-column: auto; margin-top: 2.0625rem; padding: 0 2rem; }
}

/* 영문 모드 보정 (i18n.js가 <html lang="en">으로 바꿈) */
html[lang="en"] body { word-break: normal; }
html[lang="en"] .custom__input { padding-right: 3.5rem; }
@media (min-width: 1200px) {
  html[lang="en"] .gnb__link { font-size: .9375rem; letter-spacing: -.005em; }
  /* 영문 하위 메뉴: 열끼리 겹치지 않게 하고, 긴 항목(Support Programs 등)은 두 줄로 */
  html[lang="en"] .gnb__sub { left: 0; right: 0; }
  html[lang="en"] .gnb__sub a { padding: .375rem .375rem; font-size: .875rem; line-height: 1.3; text-wrap: balance; overflow-wrap: normal; }
}
@media (min-width: 1200px) and (max-width: 1439.98px) {
  /* 열 폭이 좁은 구간(7.5vw): 단어 중간 줄바꿈 없이 들어가도록 */
  html[lang="en"] .gnb__sub a { padding-inline: .125rem; font-size: .8125rem; }
}

/* 모션 감소 설정 존중 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
  }
}
