/* 포켓몽보호소 · 부산 — visual theme */
.pm-site {
  --pm-cream: #fff9f0;
  --pm-cream-deep: #f3ebe0;
  --pm-paper: #ffffff;
  --pm-coral: #e67e22;
  --pm-coral-deep: #c96512;
  --pm-forest: #2d5a27;
  --pm-forest-deep: #23461f;
  --pm-ink: #2a221c;
  --pm-muted: #6f645b;
  --pm-line: rgba(42, 34, 28, 0.1);
  --pm-shadow: 0 20px 50px rgba(42, 34, 28, 0.08);
  --pm-shadow-soft: 0 8px 24px rgba(42, 34, 28, 0.06);
  --pm-radius: 28px;
  --bg: var(--pm-cream);
  --paper: var(--pm-paper);
  --ink: var(--pm-ink);
  --muted: var(--pm-muted);
  --line: var(--pm-line);
  --persimmon: var(--pm-coral);
  --persimmon-deep: var(--pm-coral-deep);
  --leaf: var(--pm-forest);
  --shadow: var(--pm-shadow);
  --radius: var(--pm-radius);
}

.pm-site .nav {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--pm-line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.pm-site .brand-text { min-width: 0; }
.pm-site .brand-name {
  color: var(--pm-ink);
  font-size: clamp(14px, 2.2vw, 17px);
  line-height: 1.3;
  letter-spacing: -0.04em;
  word-break: keep-all;
}
.pm-site .brand-sub {
  color: var(--pm-forest);
  letter-spacing: 0.12em;
  font-size: 11px;
}
.pm-site .logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--pm-shadow-soft);
}
.pm-site .logo-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 16px;
  box-shadow: var(--pm-shadow-soft);
  object-fit: contain;
  display: block;
  background: #fff3e8;
}
.pm-site .nav-links a {
  font-size: 15px;
  font-weight: 700;
  color: #4a4038;
  padding: 8px 0;
  position: relative;
}
.pm-site .nav-links a:hover,
.pm-site .nav-links a[aria-current="page"] {
  color: var(--pm-coral-deep);
}
.pm-site .nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--pm-coral);
}

/* Hero */
.pm-hero {
  position: relative;
  padding: 36px 0 64px;
  overflow: hidden;
  background: linear-gradient(165deg, #fff9f0 0%, #f7efe4 45%, #eef4ea 100%);
}
.pm-hero__bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(230, 126, 34, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 45% at 5% 85%, rgba(45, 90, 39, 0.1), transparent 50%);
}
.pm-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.pm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--pm-line);
  color: var(--pm-forest);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pm-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--pm-coral-deep);
  word-break: keep-all;
}
.pm-lead {
  margin: 20px 0 0;
  max-width: 34rem;
  font-size: 17px;
  line-height: 1.85;
  color: #4a4038;
  word-break: keep-all;
}
.pm-lead strong { color: var(--pm-forest); font-weight: 800; }
.pm-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn-pm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 750;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-pm:hover { transform: translateY(-1px); }
.btn-pm-coral {
  background: linear-gradient(135deg, var(--pm-coral) 0%, var(--pm-coral-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(230, 126, 34, 0.35);
}
.btn-pm-coral:hover { box-shadow: 0 16px 32px rgba(230, 126, 34, 0.4); }
.btn-pm-forest {
  background: linear-gradient(135deg, var(--pm-forest) 0%, var(--pm-forest-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(45, 90, 39, 0.3);
}
.btn-pm-outline {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--pm-line);
  color: var(--pm-ink);
}
.btn-pm-outline:hover { border-color: var(--pm-coral); color: var(--pm-coral-deep); }
.pm-adopt-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(45, 90, 39, 0.25);
  font-size: 14px;
  line-height: 1.75;
  color: var(--pm-muted);
  max-width: 34rem;
}
.pm-adopt-note a { color: var(--pm-forest); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

.pm-hero-visual {
  position: relative;
  padding: 14px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--pm-shadow);
  backdrop-filter: blur(8px);
}
.pm-hero-visual .hero-photos {
  margin: 0;
}
.pm-hero-visual .hero-photos a {
  border-radius: 22px;
  box-shadow: var(--pm-shadow-soft);
}
.pm-hero-badge {
  position: absolute;
  top: -8px;
  right: 8px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--pm-forest);
  color: #f5fff3;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: var(--pm-shadow-soft);
}

/* Trust strip */
.pm-trust {
  padding: 0 0 48px;
  margin-top: -24px;
  position: relative;
  z-index: 1;
}
.pm-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pm-trust-item {
  background: var(--pm-paper);
  border: 1px solid var(--pm-line);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--pm-shadow-soft);
  text-align: center;
}
.pm-trust-item b {
  display: block;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--pm-coral-deep);
  margin-bottom: 4px;
}
.pm-trust-item span {
  font-size: 13px;
  color: var(--pm-muted);
  font-weight: 650;
  line-height: 1.45;
}

/* Sections */
.pm-section { padding: 72px 0; }
.pm-section--white { background: var(--pm-paper); }
.pm-section--cream { background: var(--pm-cream); }
.pm-section--sage { background: linear-gradient(180deg, #eef4ea 0%, #e8f0e4 100%); }
.pm-section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0;
}
.pm-section-head p { margin: 8px 0 0; color: var(--pm-muted); font-size: 16px; }
.pm-section-head {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(230, 126, 34, 0.2);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quick-card {
  background: var(--pm-paper);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  padding: 24px 22px;
  box-shadow: var(--pm-shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.quick-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pm-shadow);
}
.quick-card em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(230, 126, 34, 0.12);
  color: var(--pm-coral-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.quick-card h3 {
  margin: 14px 0 8px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.quick-card p { margin: 0; font-size: 15px; line-height: 1.72; color: #524840; }

.local-panel {
  background: var(--pm-paper);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  padding: 36px 32px;
  box-shadow: var(--pm-shadow);
}
.local-panel h3 {
  margin: 32px 0 10px;
  font-size: 20px;
  font-weight: 800;
  font-family: var(--sans);
  color: var(--pm-forest);
}
.local-panel h3:first-child { margin-top: 0; }
.local-panel p, .local-panel li { font-size: 16px; line-height: 1.85; color: #3e352e; }
.local-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.local-tags li,
.local-tags span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(45, 90, 39, 0.15);
  background: var(--pm-cream);
  color: var(--pm-forest);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

#rehome {
  background: var(--pm-cream) !important;
}
.pm-site .rehome-quote {
  border-left-color: var(--pm-coral);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0 24px 24px 0;
  padding-left: 28px;
}
.cat-band {
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.08) 0%, rgba(230, 126, 34, 0.08) 100%);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  padding: 32px 28px;
  box-shadow: var(--pm-shadow-soft);
}
.cat-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

#waiting { background: var(--pm-cream-deep) !important; }
.pm-waiting-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pm-site .card {
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pm-site .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pm-shadow);
}
.pm-site .card a {
  color: var(--pm-ink);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pm-site .card h2,
.pm-site .card h3 {
  color: var(--pm-ink);
}
.pm-site .card .meta {
  color: var(--pm-muted);
}
.pm-site .card .trait {
  color: #524840;
}
.pm-site .card .react {
  color: var(--pm-muted);
}

.pm-pets-page .grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pm-pets-page .card {
  background: var(--pm-paper);
  border: 1px solid var(--pm-line);
  box-shadow: var(--pm-shadow-soft);
}
.pm-pets-cta {
  margin: 32px 0 0;
  text-align: center;
}

.pm-story-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pm-site #story .story-card {
  box-shadow: var(--pm-shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pm-site #story .story-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pm-shadow);
}

/* Contact — reset legacy #contact dark overlay from site.css */
.pm-site #contact.pm-contact {
  background: var(--pm-cream);
  isolation: auto;
  overflow: visible;
}
.pm-site #contact.pm-contact::before,
.pm-site #contact.pm-contact::after {
  content: none;
  display: none;
}
.pm-site #contact.pm-contact > .wrap {
  position: static;
  z-index: auto;
}

/* Contact */
.pm-contact {
  padding: 0 0 72px;
  background: var(--pm-cream);
}
.pm-contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 36px 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--pm-forest) 0%, #1e4220 100%);
  color: #f5fff3;
  box-shadow: var(--pm-shadow);
}
.pm-contact-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
}
.pm-contact-copy p {
  margin: 0;
  opacity: 0.92;
  font-size: 15px;
  line-height: 1.65;
}
.pm-contact-copy .eyebrow { color: rgba(255, 255, 255, 0.75); }
.pm-contact-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pm-contact-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  transition: background 0.15s ease, transform 0.15s ease;
}
.pm-contact-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #fff;
}
.pm-contact-btn small {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.88;
}
.pm-contact-btn strong {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.pm-contact-btn--coral strong { color: #ffd4b0; }
.pm-contact-btn--green strong { color: #c8ebc4; }

/* FAQ */
.pm-faq-section { padding: 64px 0 80px; background: var(--pm-cream); }
.pm-faq-card {
  background: var(--pm-paper);
  border-radius: 32px;
  padding: 40px 36px 32px;
  box-shadow: var(--pm-shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.pm-faq-card > .eyebrow { color: var(--pm-coral-deep); }
.pm-faq-card h2 {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}
.pm-faq-list { display: grid; gap: 10px; }
.pm-faq-item {
  border: 1px solid var(--pm-line);
  border-radius: 18px;
  background: var(--pm-cream);
  overflow: hidden;
}
.pm-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.5;
  color: var(--pm-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pm-faq-item summary::-webkit-details-marker { display: none; }
.pm-faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.15);
  color: var(--pm-coral-deep);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
}
.pm-faq-item[open] summary::after { content: "−"; background: rgba(45, 90, 39, 0.12); color: var(--pm-forest); }
.pm-faq-item div {
  padding: 0 18px 16px;
  font-size: 15px;
  line-height: 1.78;
  color: #524840;
}
.pm-faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--pm-line);
}
.pm-faq-tags a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--pm-cream);
  border: 1px solid var(--pm-line);
  font-size: 13px;
  font-weight: 750;
  color: var(--pm-forest);
}
.pm-faq-tags a:hover {
  border-color: var(--pm-coral);
  color: var(--pm-coral-deep);
}

.pm-site footer {
  padding: 28px 0 100px;
  background: var(--pm-cream);
  color: var(--pm-muted);
  font-size: 14px;
  text-align: center;
}

/* Floating actions */
.pm-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pm-fab__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease;
}
.pm-fab__btn:hover { transform: scale(1.05); color: #fff; }
.pm-fab__btn small { font-size: 10px; font-weight: 700; opacity: 0.92; }
.pm-fab__btn--coral { background: linear-gradient(145deg, #f0924a, var(--pm-coral-deep)); }
.pm-fab__btn--green { background: linear-gradient(145deg, #3d7344, var(--pm-forest-deep)); }

.pm-site .callbar { display: none; }
.pm-site #consult,
.pm-site #busan-guide,
.pm-site #rehome,
.pm-site #cats,
.pm-site #waiting,
.pm-site #story,
.pm-site #faq,
.pm-site #contact {
  scroll-margin-top: 88px;
}

@media (max-width: 960px) {
  .pm-pets-page .grid,
  .pm-waiting-grid { grid-template-columns: repeat(2, 1fr); }
  .pm-story-grid { grid-template-columns: repeat(2, 1fr); }
  .pm-contact-card { grid-template-columns: 1fr; }
  .pm-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .pm-hero-visual .hero-photos a:first-child { min-height: 280px; }
  .pm-trust-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .pm-faq-card { padding: 28px 22px 24px; }
  .pm-fab { right: 14px; bottom: 14px; }
  .pm-fab__btn { width: 58px; height: 58px; }
}

@media (max-width: 720px) {
  .pm-pets-page .grid,
  .pm-waiting-grid { grid-template-columns: 1fr; }
  .pm-story-grid { grid-template-columns: 1fr; }
  .pm-contact-btn { width: 100%; min-width: 0; }
  .pm-site .nav-links {
    background: var(--pm-paper);
    border: 1px solid var(--pm-line);
    border-radius: 20px;
    box-shadow: var(--pm-shadow);
  }
}
