@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700&family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

:root {
  --white: #fff;
  --bg: #f7f7f7;
  --soft: #fafafa;
  --text: #222;
  --sub: #666;
  --muted: #999;
  --line: #ebebeb;
  --primary: #ff6a3d;
  --primary-dark: #e85528;
  --brand-brown: #5d4b45;
  --brand-pink: #e98b9b;
  --cat: #8b7cf6;
  --shadow: 0 8px 28px rgba(0,0,0,.08);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  overflow: visible;
}
.header-top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 0;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  grid-column: 2;
  justify-self: center;
  z-index: 1;
  transition: opacity .2s ease;
}
.brand:hover { opacity: .9; }
.brand-logo {
  display: block;
  height: 72px;
  width: auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 15px;
  box-shadow:
    0 0 0 1px rgba(232, 85, 40, .12),
    0 8px 18px rgba(232, 85, 40, .18);
}
.brand-mark__img,
.brand-mark__svg {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  object-fit: cover;
}
.brand-icon {
  width: 50px; height: 50px; object-fit: contain; display: block; flex-shrink: 0;
  border-radius: 15px;
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  min-height: 50px;
  padding: 2px 0 1px;
}
.brand-name-text {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.36rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  font-style: normal;
}
.brand-tagline-text {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.04em;
  line-height: 1;
  padding-left: 1px;
  opacity: 1;
  font-style: normal;
}
.brand-name {
  height: 28px;
  width: auto;
  display: block;
}
.brand-tagline {
  height: 15px;
  width: auto;
  max-width: 100%;
  display: block;
  opacity: .95;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer-brand-logo {
  display: block;
  height: 84px;
  width: auto;
  background: #fff;
  border-radius: 16px;
  padding: 8px 10px;
}
.footer-brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 106, 61, .5);
  line-height: 1.2;
}
.footer-brand-main {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.045em;
  color: #fff;
}
.footer-brand-sub {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: rgba(255,248,245,.88);
}
.footer-brand:hover .footer-brand-text {
  border-bottom-color: var(--primary);
}
.footer-brand:hover .footer-brand-main,
.footer-brand:hover .footer-brand-sub {
  color: #fff;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: 3;
  justify-self: end;
  z-index: 1;
}
.header-phone {
  padding: 8px 16px; border: 2px solid var(--primary); border-radius: 999px;
  color: var(--primary); font-weight: 700; font-size: 14px; white-space: nowrap;
}
.contact-dock {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-dock__item {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 20px rgba(0,0,0,.10);
  transition: transform .2s, box-shadow .2s;
  color: #334155;
  overflow: hidden;
}
.contact-dock__item:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(0,0,0,.16);
}
.contact-dock__icon { display: grid; place-items: center; }
.contact-dock__icon svg { width: 24px; height: 24px; }
.contact-dock__text {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15,23,42,.88);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s;
}
.contact-dock__text small { display: none; }
.contact-dock__item:hover .contact-dock__text { opacity: 1; }
.contact-dock__item--phone { color: #10b981; }
.contact-dock__item--kakao { color: #fae100; background: #3c1e1e; border-color: #3c1e1e; }
.contact-dock__item--kakao:hover { background: #2d1616; }
.contact-dock__item--instagram { background: linear-gradient(135deg,#f9ce34,#ee2a7b,#6228d7); color: #fff; border-color: transparent; }
.contact-dock__item--youtube { color: #ff0000; }
.contact-dock__item--facebook { color: #1877f2; }
.contact-dock__item--visit,
.contact-dock__item--inquiry {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}
.contact-dock__item--visit:hover,
.contact-dock__item--inquiry:hover {
  background: var(--primary-dark);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px;
  border: none; cursor: pointer; transition: .2s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: #fff; border: 1.5px solid var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-lg { padding: 13px 28px; font-size: 15px; }

.gnb { border-top: 1px solid var(--line); overflow: visible; }
.gnb-inner { display: flex; position: relative; }
.nav-item { position: relative; flex: 1; text-align: center; }
.nav-link {
  display: block; padding: 13px 6px; font-size: 14px; font-weight: 500; color: var(--sub);
}
.nav-link:hover, .nav-link.active { color: var(--primary); font-weight: 700; }
.nav-link.has-sub::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  margin-left: 4px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .55;
  transition: transform .2s ease;
}
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; z-index: 40;
}
.nav-item:hover .nav-dropdown,
.nav-item.is-open .nav-dropdown { display: block; }
.nav-item:first-child .nav-dropdown {
  left: 0; transform: none;
}
.nav-item:last-child .nav-dropdown,
.nav-item:nth-last-child(2) .nav-dropdown {
  left: auto; right: 0; transform: none;
}
.nav-dropdown a {
  display: block; padding: 10px 12px; border-radius: 8px; font-size: 13px; color: var(--sub); text-align: left;
}
.nav-dropdown a:hover { background: #fff4ef; color: var(--primary); }
@media (max-width: 767px) {
  .contact-dock {
    right: 0;
    left: 0;
    top: auto;
    bottom: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 -2px 16px rgba(0,0,0,.08);
    padding: 6px 8px max(6px, env(safe-area-inset-bottom));
  }
  .contact-dock__item {
    width: auto;
    height: auto;
    flex: 1 1 0;
    border-radius: 12px;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 8px 4px;
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 3px;
  }
  .contact-dock__item:hover { transform: none; box-shadow: none; }
  .contact-dock__item--kakao { background: transparent; color: #3c1e1e; }
  .contact-dock__item--instagram { background: transparent; color: #ee2a7b; }
  .contact-dock__item--visit,
  .contact-dock__item--inquiry { background: transparent; color: var(--primary); }
  .contact-dock__icon svg { width: 24px; height: 24px; }
  .contact-dock__text {
    position: static;
    transform: none;
    background: none;
    color: inherit;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    font-size: 10px;
    font-weight: 700;
  }
  .contact-dock__text strong { font-size: 10px; }
  body { padding-bottom: 68px; }
}

/* Hero slider */
.hero-slider { position: relative; overflow: hidden; background: #111; }
.hero-slide {
  display: none; position: relative; min-height: 460px;
  background-size: cover; background-position: center;
}
.hero-slide.is-active { display: block; animation: fadeIn .6s ease; }
@keyframes fadeIn { from { opacity: .4; } to { opacity: 1; } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,12,8,.58) 0%, rgba(20,12,8,.28) 45%, rgba(20,12,8,.12) 100%);
}
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; min-height: 460px; display: flex; align-items: center; }
.hero-text { max-width: 560px; color: #fff; padding: 48px 0; }
.hero-label {
  display: inline-block; margin-bottom: 14px; padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  font-size: 12px; letter-spacing: .08em; font-weight: 700;
}
.hero-text h2 {
  font-size: clamp(30px, 5vw, 48px); font-weight: 900; line-height: 1.2;
  letter-spacing: -.03em; margin-bottom: 14px;
}
.hero-text p { font-size: 16px; opacity: .92; margin-bottom: 26px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-dots {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.banner-dot {
  width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(255,255,255,.45); cursor: pointer;
}
.banner-dot.active { width: 28px; background: #fff; }

/* Category cards */
.category-section { padding: 28px 0 8px; }
.category-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.category-card {
  position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 1 / 1.05;
  box-shadow: var(--shadow);
}
.category-card img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .35s;
}
.category-card:hover img { transform: scale(1.06); }
.category-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 18px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #fff;
}
.category-label strong { display: block; font-size: 20px; font-weight: 900; }
.category-label span { font-size: 11px; letter-spacing: .12em; opacity: .8; }

/* Sections */
.section { padding: 56px 0; }
.section-soft { background: var(--bg); }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -.02em; }
.section-title p { color: var(--muted); margin-top: 8px; }
.section-title .accent { color: var(--primary); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; margin-bottom: 24px;
}
.section-head h2 { font-size: 28px; font-weight: 900; }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.more-link {
  display: inline-flex; align-items: center; padding: 8px 16px;
  border: 1.5px solid var(--primary); color: var(--primary); border-radius: 999px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.more-link:hover { background: var(--primary); color: #fff; }
.center-more { text-align: center; margin-top: 20px; }

/* Safe cards */
.safe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.safe-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,.03);
}
.safe-num {
  font-size: 28px; font-weight: 900; color: var(--primary); margin-bottom: 12px;
  letter-spacing: -.04em;
}
.safe-card h3 { font-size: 17px; margin-bottom: 8px; }
.safe-card p { font-size: 13px; color: var(--sub); }

/* Pet cards */
.pet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pet-list-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin: 0 0 16px;
}
.pet-list-bar__count {
  margin: 0 auto 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.pet-list-bar__per {
  display: flex;
  align-items: center;
}
.pet-list-bar__per label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sub);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.pet-list-bar__per select {
  height: 38px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}
.pet-list-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}
.pet-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.pet-pager__btn,
.pet-pager__num {
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--sub);
}
.pet-pager__num.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pet-pager__btn:hover,
.pet-pager__num:hover {
  border-color: #ffd4c4;
  color: var(--primary);
}
.pet-pager__btn.is-disabled {
  opacity: .35;
}
.pet-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); transition: .25s; display: block;
  cursor: pointer; text-align: left; color: inherit; text-decoration: none;
}
.pet-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pet-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.pet-card.is-reserved { opacity: .96; }
.pet-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f0f0f0; }
.pet-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pet-card:hover .pet-thumb img { transform: scale(1.04); }
.pet-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
}
.badge-cat { background: var(--cat); }
.pet-badge.is-reserved { background: #64748b; }
.pet-badge.is-adopted { background: #94a3b8; }
.pet-body { padding: 16px 18px 20px; }
.pet-body h3 { font-size: 17px; font-weight: 800; }
.pet-body h3 small { font-weight: 500; color: var(--muted); font-size: 13px; }
.pet-meta { display: flex; gap: 8px; margin: 10px 0 12px; }
.pet-meta span {
  font-size: 12px; padding: 4px 10px; background: var(--bg); border-radius: 999px; color: var(--sub);
}
.pet-branch {
  background: #e7f4ef !important;
  color: #0f6b52 !important;
  font-weight: 700;
}
.pet-price { font-size: 20px; font-weight: 900; color: var(--primary); }
.pet-desc { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Instagram-like pet modal */
body.pet-modal-open { overflow: hidden; }
.pet-modal[hidden] { display: none !important; }
.pet-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center; padding: 18px;
}
.pet-modal__backdrop {
  position: absolute; inset: 0; background: rgba(12, 10, 9, .72);
  backdrop-filter: blur(4px);
}
.pet-modal__dialog {
  position: relative; z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 760px);
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  animation: petModalIn .28s ease;
}
@keyframes petModalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.pet-modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff; font-size: 24px; line-height: 1;
  cursor: pointer;
}
.pet-modal__close:hover { background: rgba(0,0,0,.65); }
.pet-modal__layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 520px;
  max-height: min(92vh, 760px);
}
.pet-modal__media {
  background: #1a1614;
  min-height: 320px;
}
.pet-modal__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.pet-modal__panel {
  padding: 28px 26px 24px;
  overflow: auto;
  display: flex; flex-direction: column; gap: 10px;
}
.pet-modal__head { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pet-modal__chip,
.pet-modal__status {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 999px;
}
.pet-modal__chip { background: #fff1ea; color: var(--primary); }
.pet-modal__status { background: #ecfdf5; color: #047857; }
.pet-modal__status.is-reserved { background: #f1f5f9; color: #475569; }
.pet-modal__status.is-available { background: #fff7ed; color: #c2410c; }
.pet-modal__title { margin: 4px 0 0; font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.pet-modal__breed { margin: 0; color: var(--muted); font-size: 14px; }
.pet-modal__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.pet-modal__meta span {
  font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--bg); color: var(--sub);
}
.pet-modal__price { font-size: 24px; font-weight: 900; color: var(--primary); }
.pet-modal__desc {
  margin: 0; font-size: 14px; line-height: 1.65; color: var(--sub);
  white-space: pre-wrap;
}
.pet-modal__cta { margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.pet-modal__book-btn { min-width: 140px; }
.pet-modal__book-btn.is-disabled,
.pet-modal__book-btn:disabled {
  opacity: 1; background: #94a3b8; border-color: #94a3b8; color: #fff; cursor: not-allowed;
}

/* Home popup banner */
body.home-popup-open { overflow: hidden; }
.home-popup[hidden] { display: none !important; }
.home-popup {
  position: fixed; inset: 0; z-index: 2100;
  display: grid; place-items: center; padding: 20px 16px;
}
.home-popup__backdrop {
  position: absolute; inset: 0;
  background: rgba(26, 22, 20, .62);
  backdrop-filter: blur(5px);
}
.home-popup__dialog {
  position: relative; z-index: 1;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(26, 22, 20, .38);
  animation: homePopupIn .32s cubic-bezier(.22, 1, .36, 1);
}
@keyframes homePopupIn {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.home-popup__x {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(26, 22, 20, .45); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer;
}
.home-popup__x:hover { background: rgba(26, 22, 20, .7); }
.home-popup__stage {
  position: relative;
  background: #f3eee9;
  line-height: 0;
}
.home-popup__slide {
  display: none;
  position: relative;
  animation: homePopupFade .35s ease;
}
.home-popup__slide.is-active { display: block; }
@keyframes homePopupFade {
  from { opacity: .35; }
  to { opacity: 1; }
}
.home-popup__media {
  display: block; width: 100%;
  position: relative; color: inherit;
  line-height: 0;
}
.home-popup__media img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 760px);
  object-fit: contain;
  object-position: center top;
  display: block;
  background: #fff;
  vertical-align: top;
}
.home-popup__media.is-static { cursor: default; }
.home-popup__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--brand-brown);
  font-size: 22px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.home-popup__nav:hover { background: #fff; color: var(--primary); }
.home-popup__nav--prev { left: 10px; }
.home-popup__nav--next { right: 10px; }
.home-popup__dots {
  position: absolute; left: 0; right: 0; top: 14px;
  z-index: 3;
  display: flex; justify-content: center; gap: 6px;
  pointer-events: none;
}
.home-popup__dot {
  pointer-events: auto;
  width: 7px; height: 7px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.55); cursor: pointer; padding: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: width .2s, background .2s;
}
.home-popup__dot.is-active {
  width: 20px; background: #fff;
}
.home-popup__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 14px 14px;
  background: linear-gradient(180deg, #fff, #fff8f5);
  border-top: 1px solid #f0e4de;
  line-height: 1.4;
}
.home-popup__today {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--sub); cursor: pointer; user-select: none;
}
.home-popup__today input {
  width: 16px; height: 16px; accent-color: var(--primary);
}
.home-popup__close-btn {
  border: 0; border-radius: 999px;
  padding: 9px 18px;
  background: var(--brand-brown); color: #fff;
  font-size: 13px; font-weight: 700; cursor: pointer;
}
.home-popup__close-btn:hover { background: #4a3b36; }

.pet-modal__form {
  margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line);
  display: grid; gap: 10px;
}
.pet-modal__form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--sub); }
.pet-modal__form input,
.pet-modal__form textarea,
.pet-modal__form select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 12px; font-size: 14px; font-weight: 500; color: var(--text);
  background: #fff;
}
.pet-modal__tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.pet-modal__tab {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; font-weight: 800; color: var(--sub);
}
.pet-modal__tab input { position: absolute; opacity: 0; pointer-events: none; }
.pet-modal__tab.is-active {
  border-color: var(--primary); background: #fff7ed; color: var(--primary);
}
.pet-modal__visit-fields { display: grid; gap: 10px; }
.pet-modal__form-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.pet-modal__form-msg {
  margin: 0; font-size: 13px; font-weight: 700; padding: 10px 12px; border-radius: 10px;
}
.pet-modal__form-msg.is-ok { background: #ecfdf5; color: #047857; }
.pet-modal__form-msg.is-error { background: #fef2f2; color: #b91c1c; }

@media (max-width: 820px) {
  .pet-modal { padding: 0; align-items: stretch; }
  .pet-modal__dialog {
    width: 100%; max-height: 100vh; height: 100%; border-radius: 0;
  }
  .pet-modal__layout {
    grid-template-columns: 1fr;
    max-height: 100vh; min-height: 100%;
  }
  .pet-modal__media { min-height: 42vh; max-height: 46vh; }
  .pet-modal__panel { padding: 20px 18px 28px; }
  .pet-modal__close { top: 10px; right: 10px; background: rgba(0,0,0,.55); }
}

/* Notice */
.notice-board {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.notice-row {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.notice-row:last-child { border-bottom: 0; }
.notice-row:hover { background: #fff8f5; }
.notice-badge {
  display: inline-flex; justify-content: center; font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 6px; background: #fff1ea; color: var(--primary);
}
.notice-badge.is-event { background: #fff3d6; color: #d97706; }
.notice-row strong { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-row time { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* 분양 이야기 (네이버 블로그형 목록) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.kids-board { padding: 40px 0 64px; }
.kids-board__inner { max-width: 960px; }
.kids-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 20px;
  flex-wrap: nowrap;
  margin-bottom: 16px;
}
.kids-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  flex-wrap: nowrap;
}
.kids-search__field {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 420px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.kids-search__field:focus-within {
  border-color: #ffb898;
  box-shadow: 0 0 0 3px rgba(255, 106, 61, .12);
}
.kids-search__field input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  padding: 0 14px;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.kids-search__field input[type="search"]::-webkit-search-decoration,
.kids-search__field input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.kids-search__btn {
  flex: 0 0 auto;
  height: 100%;
  min-width: 72px;
  padding: 0 16px;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.kids-search__btn:hover { background: var(--primary-dark); }
.kids-search__reset {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.kids-search__reset:hover { color: var(--primary); }

.kids-select {
  position: relative;
  flex: 0 0 auto;
  z-index: 5;
}
.kids-select__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 128px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.kids-select__trigger:hover,
.kids-select.is-open .kids-select__trigger {
  border-color: #ffb898;
}
.kids-select__caret {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform .2s;
}
.kids-select.is-open .kids-select__caret { transform: rotate(180deg); }
.kids-select__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  min-width: 100%;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(26, 22, 20, .12);
}
.kids-select__menu[hidden] { display: none !important; }
.kids-select__option {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sub);
  white-space: nowrap;
}
.kids-select__option:hover { background: #fff4ef; color: var(--primary); }
.kids-select__option.is-active {
  background: #fff1ea;
  color: var(--primary);
}

.kids-result-meta {
  display: flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}
.kids-result-meta strong { color: var(--primary); font-weight: 800; }

.kids-list {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.kids-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.kids-card:last-child { border-bottom: 0; }
.kids-card:hover { background: #fffaf7; }
.kids-card__thumb {
  display: block;
  width: 160px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1ebe7;
}
.kids-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.kids-card:hover .kids-card__thumb img { transform: scale(1.04); }
.kids-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 120px;
}
.kids-card__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kids-card:hover .kids-card__title { color: var(--primary); }
.kids-card__excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kids-card__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}
.kids-empty {
  padding: 72px 24px;
  text-align: center;
  color: var(--sub);
}
.kids-empty strong {
  display: block;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
}
.kids-empty p { margin: 0; font-size: 14px; }
.kids-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.kids-pager__btn,
.kids-pager__num {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--sub);
}
.kids-pager__num.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.kids-pager__btn:hover,
.kids-pager__num:hover {
  border-color: #ffd4c4;
  color: var(--primary);
}
.kids-pager__btn.is-disabled {
  opacity: .35;
  pointer-events: none;
}
.kids-article__wrap { max-width: 760px; }
.kids-article__head { margin-bottom: 22px; }
.kids-article__meta {
  display: flex; gap: 12px; color: var(--muted); font-size: 13px; margin-bottom: 12px;
  letter-spacing: -.01em;
}
.kids-article__lead {
  font-family: 'Nanum Myeongjo', 'Noto Sans KR', serif;
  font-size: 1.15rem;
  line-height: 1.85;
  color: #4a403c;
  word-break: keep-all;
  padding-bottom: 4px;
}
.kids-article__hero {
  margin: 0 0 28px; border-radius: 18px; overflow: hidden;
  background: #f1ebe7;
  box-shadow: 0 10px 28px rgba(93, 75, 69, .08);
}
.kids-article__hero img {
  width: 100%; max-height: 460px; object-fit: cover;
}
.kids-article__content.prose-card,
.kids-article__content {
  margin-bottom: 28px;
  padding: 28px 26px 32px;
  background: #fffaf7;
  border: 1px solid #f0e4dc;
  border-radius: 18px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.95;
  color: #2f2a28;
  letter-spacing: -.015em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.kids-article__content > p {
  margin: 0 0 1.15em;
  text-align: justify;
  text-justify: inter-ideograph;
}
.kids-article__content > p:last-child { margin-bottom: 0; }
.kids-article__content h2 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #3d322e;
  margin: 2rem 0 0.85rem;
  padding: 0.55rem 0 0.55rem 0.85rem;
  border-left: 4px solid var(--primary);
  line-height: 1.45;
  letter-spacing: -.02em;
}
.kids-article__content h2:first-child { margin-top: 0.35rem; }
.kids-article__content h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand-brown);
  margin: 1.35rem 0 0.45rem;
  line-height: 1.5;
}
.kids-article__content ul {
  list-style: none;
  margin: 0 0 1.25em;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #efe6e0;
  border-radius: 14px;
}
.kids-article__content ul li {
  position: relative;
  padding: 0.45em 0 0.45em 1.35em;
  line-height: 1.75;
  border-bottom: 1px dashed #f0e8e2;
  color: #453c38;
}
.kids-article__content ul li:last-child { border-bottom: 0; }
.kids-article__content ul li::before {
  content: '';
  position: absolute;
  left: 0.15em;
  top: 0.95em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.kids-article__content strong {
  color: #1f1a18;
  font-weight: 700;
}
.kids-article__content a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.kids-article__content a:hover { color: var(--primary); }
.kids-article__content img {
  max-width: 100%; height: auto; border-radius: 14px; margin: 14px 0;
}
.kids-callout {
  margin-top: 2rem;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff4ef, #ffe8df);
  border: 1px solid #ffd4c4;
}
.kids-callout__title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.45rem !important;
  color: #3d322e;
  text-align: left !important;
}
.kids-callout p {
  margin: 0 !important;
  text-align: left !important;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #5c504a;
}
.kids-article__actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding-top: 8px; border-top: 1px solid var(--line);
}
.sub-hero--compact { min-height: 260px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item, .facility-item {
  position: relative; overflow: hidden; border-radius: 16px; background: #eee;
}
.gallery-item { aspect-ratio: 1 / 1; }
.facility-item { aspect-ratio: 4 / 3; }
.gallery-item img, .facility-item img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.gallery-item:hover img, .facility-item:hover img { transform: scale(1.05); }
.gallery-item figcaption, .facility-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff; font-size: 13px; font-weight: 600;
}

/* Home adopt photo slider — 4 visible */
.adopt-gallery { position: relative; }
.adopt-gallery__viewport { overflow: hidden; border-radius: 4px; }
.adopt-gallery__track {
  display: flex;
  gap: 14px;
  transition: transform .55s cubic-bezier(.22, .9, .28, 1);
  will-change: transform;
}
.adopt-gallery__item {
  flex: 0 0 calc((100% - 42px) / 4);
  margin: 0;
  min-width: 0;
}
.adopt-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.adopt-gallery__nav {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--brand-brown);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color .2s, color .2s, background .2s;
}
.adopt-gallery__nav:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff7f3;
}
.adopt-gallery__dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.adopt-gallery__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #d6d3d1;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.adopt-gallery__dot.is-active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Bottom CTA */
.bottom-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 40px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ff7a4d, #ff4d6d);
  color: #fff;
}
.bottom-cta > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}
.bottom-cta h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
  word-break: keep-all;
  line-height: 1.35;
}
.bottom-cta p {
  opacity: .92;
  font-size: 14px;
  word-break: keep-all;
  line-height: 1.55;
}
.bottom-cta-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.bottom-cta .btn-outline { background: transparent; border-color: #fff; color: #fff; }
.bottom-cta .btn-primary { background: #fff; color: var(--primary); }

/* Bottom quick bar — mobile only */
.bottom-quick {
  display: none;
}
.bq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
.bq-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}
.bq-label { line-height: 1.2; }

/* Sub pages shared */
.page-hero { background: var(--bg); padding: 42px 0 28px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; margin-bottom: 8px; }
.page-hero p { color: var(--muted); }
.page-content { padding: 40px 0; }
.prose-card, .form-card, .info-box {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px;
}
.prose-card { line-height: 1.9; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.form-card form, .admin-form { display: grid; gap: 14px; }
label span { display: block; margin-bottom: 6px; font-weight: 700; font-size: 14px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.alert {
  padding: 14px 16px; border-radius: 12px; background: #e8f5e9; color: #2e7d32;
  border: 1px solid #c8e6c9; margin-bottom: 14px;
}
.kv-map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); min-height: 320px; }
.kv-map iframe { width: 100%; height: 320px; border: 0; }
.map-panel {
  position: relative; display: block; min-height: 320px; overflow: hidden;
  border-radius: 18px; border: 1px solid var(--line); background: #e9eef3;
}
.map-panel-img {
  width: 100%; height: 320px; object-fit: cover; display: block;
  filter: saturate(1.05) contrast(1.02);
}
.map-pin-overlay {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; pointer-events: none; z-index: 2;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.28));
}
.map-pin-overlay svg, .map-pin-icon, .map-pin-float, .map-pin-mini { display: block; }
.map-pin-label {
  margin-top: 4px; background: rgba(26,26,26,.9); color: #fff;
  font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap;
}
.map-panel-cta {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: rgba(255,255,255,.95); color: var(--text);
  font-size: 13px; font-weight: 700; padding: 10px 14px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.map-panel:hover .map-panel-cta { background: var(--primary); color: #fff; }
.map-panel-real .map-panel-img {
  height: 380px;
  object-fit: cover;
  object-position: center;
}
.map-panel-real {
  min-height: 380px;
}
.location-title-row { display: flex; align-items: center; gap: 12px; }
.place-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.place-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(20, 40, 30, .06);
}
.place-map {
  position: relative;
  height: 280px;
  background: #f8f9fa;
}
.place-naver {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f8f9fa;
  cursor: pointer;
}
.place-naver__tiles {
  position: absolute;
  inset: 0;
}
.place-naver__tiles img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  display: block;
}
.place-naver__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.28));
  pointer-events: none;
}
.place-naver__scale,
.place-naver__copy {
  position: absolute;
  z-index: 2;
  bottom: 6px;
  color: #444;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
  pointer-events: none;
}
.place-naver__scale { right: 10px; }
.place-naver__copy { left: 10px; font-weight: 500; }
.place-map-pin {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  background: #fff;
  color: #14352c;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.16);
}
.place-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.place-body h2 { margin: 0; font-size: 1.2rem; }
.place-address { margin: 0; color: var(--sub); font-size: 14px; line-height: 1.5; }
.place-facts, .place-ways { list-style: none; margin: 0; padding: 0; }
.place-facts li, .place-ways li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--sub);
  line-height: 1.5;
}
.place-facts li span {
  display: inline-block;
  min-width: 42px;
  margin-right: 8px;
  font-weight: 700;
  color: var(--text);
}
.place-card .location-actions { margin-top: auto; }
.location-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.map-panel-fallback {
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  background:
    linear-gradient(160deg, rgba(18, 92, 72, .18), rgba(20, 90, 140, .22)),
    #e7f2ee;
}
.map-panel-fallback-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px 64px;
  color: #14352c;
}
.map-panel-fallback-body strong { font-size: 1.35rem; }
.footer-branches { display: flex; flex-direction: column; gap: 18px; }
.footer-branch {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-branch strong { color: #fff; font-size: 15px; letter-spacing: -.02em; }
.footer-branch span,
.footer-branch a { line-height: 1.5; }
.bottom-cta-branches {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bottom-cta-branches li { font-size: 14px; line-height: 1.5; }
.location-info__title { margin: 0; font-size: 1.25rem; }
.location-info__branch { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.location-info__list { margin-top: 18px; }
.location-info__subtitle { margin-top: 24px; font-size: 1.1rem; }
.location-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.location-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.location-gallery .facility-item { margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.check-list { list-style: none; }
.check-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--sub); }
.check-list li::before { content: '✓ '; color: var(--primary); font-weight: 700; }
.meta-list { list-style: none; }
.meta-list li {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px dashed var(--line); font-size: 14px;
}
.price { color: var(--primary); font-weight: 900; }
.muted { color: var(--muted); }

/* Footer — warm charcoal to match brand brown/pink, not cold black */
.site-footer {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 8% 0%, rgba(255,106,61,.1), transparent 52%),
    linear-gradient(180deg, #2f2825 0%, #231e1c 55%, #1c1816 100%);
  color: rgba(255,248,245,.72);
  padding: 0;
  margin-top: 8px;
}
.footer-top-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--brand-pink) 0%, var(--primary) 45%, #f0c4a8 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(300px, 1.4fr) minmax(150px, .72fr);
  gap: 32px 48px;
  padding: 40px 0 32px;
  align-items: start;
}
.footer-about .footer-lead {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.footer-about .footer-keywords {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,248,245,.58);
  margin: 0;
  max-width: 280px;
}
.footer-about .footer-license {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255,248,245,.36);
  letter-spacing: -.01em;
}
.footer-sns {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
}
.footer-sns a { color: rgba(255,248,245,.86); }
.footer-sns a:hover { color: var(--primary); }
.footer-col h4 {
  color: #fff;
  margin: 4px 0 16px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col h4::before {
  content: '';
  width: 3px; height: 13px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--brand-pink));
  flex-shrink: 0;
}
.footer-col ul { list-style: none; }
.footer-col li {
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255,248,245,.55);
  line-height: 1.5;
}
.footer-col li.footer-branch {
  padding: 0 0 16px;
}
.footer-col a {
  color: rgba(255,248,245,.78);
  transition: color .2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,248,245,.08);
  background: rgba(0,0,0,.18);
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,248,245,.35);
}
.footer-bottom p { margin: 0; }

/* Admin */
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar { background: #1a1a1a; color: rgba(255,255,255,.8); padding: 24px; }
.admin-sidebar a { display: block; padding: 11px 12px; border-radius: 8px; margin-bottom: 4px; font-size: 14px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.08); }
.admin-main { padding: 24px; background: var(--bg); }
.admin-top { display: flex; justify-content: space-between; margin-bottom: 20px; }
.admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.admin-card h3 { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.admin-card strong { font-size: 30px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; background: var(--bg); padding-bottom: 0; }
.login-card { width: min(420px, 100%); }

/* Sub visual pages */
.sub-hero {
  position: relative; min-height: 380px; background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
.sub-hero-mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.52) 100%);
}
.sub-hero-inner {
  position: relative; z-index: 1; color: #fff; padding: 64px 0 44px; width: min(1180px, calc(100% - 32px)); margin: 0 auto;
}
.sub-hero-inner h1 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900; margin: 8px 0 10px; letter-spacing: -.03em;
}
.sub-hero-inner p { opacity: .92; font-size: 15px; max-width: 640px; }
.breadcrumb.light a, .breadcrumb.light span { color: rgba(255,255,255,.88); }
.breadcrumb.light a:hover { color: #fff; }

.intro-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 28px;
}
.intro-panel-copy { flex: 1; min-width: 0; }
.intro-panel p { color: var(--sub); font-size: 15px; line-height: 1.8; margin: 0; }

.visual-subnav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.visual-subnav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  -webkit-overflow-scrolling: touch;
}
.visual-subnav-link {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--sub);
  white-space: nowrap;
  transition: .2s;
}
.visual-subnav-link:hover { border-color: #ffd2c2; color: var(--primary); background: #fff7f3; }
.visual-subnav-link.is-active {
  background: #2a2422;
  border-color: #2a2422;
  color: #fff;
}

.visual-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--primary);
  margin-bottom: 10px;
}
.visual-section-head {
  margin: 36px 0 18px;
  text-align: left;
}
.visual-section-head h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.visual-section-head p {
  color: var(--muted);
  font-size: 14px;
}

.visual-spotlight {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff4ef 0%, #ffe8df 48%, #fff 100%);
  border: 1px solid #f3d7cb;
  margin-bottom: 12px;
}
.visual-spotlight-media {
  min-height: 320px;
  position: relative;
}
.visual-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.visual-spotlight-copy {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.visual-spotlight-copy h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 12px;
  line-height: 1.3;
}
.visual-spotlight-copy > p {
  color: var(--sub);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.visual-point-list {
  list-style: none;
  display: grid;
  gap: 8px;
}
.visual-point-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.visual-point-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.feature-visual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 12px;
}
.feature-visual-grid.is-three { grid-template-columns: repeat(3, 1fr); }
.feature-visual-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  box-sizing: border-box;
}
.feature-visual-card.has-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(93, 75, 69, .1);
}
/* 텍스트 전용 카드: 본문 패딩 (이미지 카드는 .fv-body만) */
.feature-visual-card.is-text,
.feature-visual-card:not(.has-image) { padding: 22px 20px; }
.feature-visual-card.is-text .fv-body,
.feature-visual-card:not(.has-image) .fv-body { padding: 0; }
.fv-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3ece8;
}
.fv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.feature-visual-card:hover .fv-thumb img { transform: scale(1.05); }
.fv-body { padding: 18px 18px 20px; }
.fv-num { font-size: 22px; font-weight: 900; color: var(--primary); margin-bottom: 8px; line-height: 1; }
.feature-visual-card h3 {
  font-size: 16px; margin-bottom: 8px; font-weight: 800;
  word-break: keep-all; line-height: 1.35;
}
.feature-visual-card p {
  font-size: 13px; color: var(--sub); line-height: 1.65;
  word-break: keep-all; margin: 0;
}

.visual-stories {
  display: grid;
  gap: 18px;
  margin: 28px 0 8px;
}
.visual-story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.visual-story.is-reverse { direction: rtl; }
.visual-story.is-reverse > * { direction: ltr; }
.visual-story-media {
  min-height: 260px;
}
.visual-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.visual-story-copy {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.visual-story-copy h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  line-height: 1.35;
}
.visual-story-copy p {
  color: var(--sub);
  font-size: 14px;
  line-height: 1.8;
}

.steps-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.step-card:not(.has-image) { padding: 24px; }
.step-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3ece8;
}
.step-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.step-body { padding: 18px 18px 20px; }
.step-card:not(.has-image) .step-body { padding: 0; }
.step-num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 900; margin-bottom: 12px;
}
.step-card h3 { font-size: 16px; margin-bottom: 8px; font-weight: 800; }
.step-card p { font-size: 13px; color: var(--sub); line-height: 1.65; }

.visual-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 420px;
  margin-bottom: 8px;
  align-items: stretch;
}
.visual-gallery-item {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #f3ece8;
  min-height: 0;
  align-self: stretch;
}
.visual-gallery-item.is-large {
  grid-row: 1 / span 2;
}
.visual-gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.visual-gallery-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(26, 22, 20, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: 999px;
}

.page-cta-box {
  margin-top: 40px;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff4ef, #ffe8df);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.page-cta-box > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}
.page-cta-box h3 {
  font-size: 20px;
  margin-bottom: 6px;
  word-break: keep-all;
  line-height: 1.35;
}
.page-cta-box p {
  color: var(--sub);
  font-size: 14px;
  word-break: keep-all;
  line-height: 1.5;
}
.page-cta-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.notice-list { display: grid; gap: 16px; }
.notice-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px;
}

/* Visit date + popup calendar */
.visit-date-block { display: grid; gap: 8px; }
.visit-date-label { display: block; font-weight: 700; font-size: 14px; }
.visit-date-picker { position: relative; max-width: 360px; }
.visit-date-trigger {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
.visit-date-trigger:hover,
.visit-date-picker.is-open .visit-date-trigger {
  border-color: #ffc2ad;
  box-shadow: 0 0 0 3px rgba(255, 106, 61, .12);
}
.visit-date-value { flex: 1; }
.visit-date-icon {
  display: inline-flex;
  color: var(--primary);
  flex-shrink: 0;
}
.visit-date-hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.visit-calendar {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 40;
  width: min(100%, 320px);
  background: linear-gradient(180deg, #fffaf7 0%, #fff 100%);
  border: 1px solid #f0ddd4;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 16px 36px rgba(93, 75, 69, .16);
}
.visit-calendar[hidden] { display: none !important; }
.visit-cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px; gap: 8px;
}
.visit-cal-title { font-size: 14px; font-weight: 800; color: var(--text); }
.visit-cal-nav {
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--text); font-size: 20px; line-height: 1;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.visit-cal-nav:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.visit-cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.visit-cal-weekdays,
.visit-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.visit-cal-weekdays span {
  text-align: center; font-size: 11px; font-weight: 700;
  color: var(--muted); padding: 4px 0;
}
.visit-cal-weekdays span:first-child { color: #e25555; }
.visit-cal-weekdays span:last-child { color: #4a7fd4; }
.visit-cal-day {
  aspect-ratio: 1;
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.visit-cal-day.is-empty { visibility: hidden; pointer-events: none; }
.visit-cal-day:hover:not(:disabled):not(.is-selected) { background: #ffe8df; color: var(--primary-dark); }
.visit-cal-day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1.5px var(--primary);
  color: var(--primary-dark);
}
.visit-cal-day {
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}
.visit-cal-day__num { font-weight: inherit; }
.visit-cal-day__today {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: inherit;
  opacity: 0.9;
}
.visit-cal-day.is-selected .visit-cal-day__today { color: #fff; opacity: 1; }
.visit-cal-day.is-selected {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 106, 61, .35);
}
.visit-cal-day.is-disabled,
.visit-cal-day:disabled {
  color: #ccc;
  cursor: not-allowed;
  background: transparent;
}
.form-card__title { margin: 0 0 16px; font-size: 1.15rem; }
.form-card__thumb {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 16px;
  display: block;
  object-fit: cover;
  max-height: 200px;
}
.visit-layout,
.inquiry-layout { align-items: start; }
.visit-info-card { margin-bottom: 16px; }
.inquiry-side-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.visit-side-actions {
  margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap;
}
.visit-facility { grid-template-columns: 1fr 1fr; }
.visit-submit { width: 100%; min-height: 48px; }

@media (max-width: 1024px) {
  .category-grid, .safe-grid, .pet-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .adopt-gallery__item { flex: 0 0 calc((100% - 14px) / 2); }
  .facility-grid, .admin-grid { grid-template-columns: 1fr 1fr; }
  /* 푸터: 브랜드 상단 전체폭 → 업체정보 | 바로가기 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 0 24px;
  }
  .footer-about { grid-column: auto; }
  .footer-about .footer-keywords { max-width: none; }
  .footer-links ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
  .footer-col li { padding: 8px 0; }
  .footer-col li.footer-branch { padding: 0 0 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  .place-grid { grid-template-columns: 1fr; }
  .place-map { height: 230px; }
  .location-media { order: -1; } /* 모바일: 지도 먼저 */
  .map-panel-real .map-panel-img { height: 240px; }
  .map-panel,
  .map-panel-real { min-height: 240px; }
  .location-info.form-card { padding: 22px 18px; }
  .location-actions { flex-direction: column; }
  .location-actions .btn { width: 100%; justify-content: center; }
  .location-gallery { gap: 10px; }
  .check-list li { word-break: keep-all; line-height: 1.55; }
  .feature-visual-grid, .steps-visual { grid-template-columns: repeat(2, 1fr); }
  .feature-visual-grid.is-three { grid-template-columns: repeat(2, 1fr); }
  .intro-panel {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 18px;
    gap: 14px;
  }
  .intro-panel .btn { width: 100%; justify-content: center; }
  .visual-spotlight,
  .visual-story,
  .visual-story.is-reverse { grid-template-columns: 1fr; direction: ltr; }
  .visual-spotlight-media,
  .visual-story-media { min-height: 240px; }
  .visual-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.15fr 1fr 1fr;
    height: 520px;
  }
  .visual-gallery-item.is-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .visit-date-picker { max-width: none; }
}
@media (max-width: 768px) {
  body { padding-bottom: 76px; }
  .header-top {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
    min-height: 0;
  }
  .brand {
    grid-column: auto;
    justify-self: center;
  }
  .header-actions {
    display: none; /* 모바일은 하단 퀵바로 전화·예약 제공 */
  }
  .brand-logo { height: 56px; }
  .brand-mark, .brand-mark__img, .brand-mark__svg, .brand-icon { width: 42px; height: 42px; }
  .brand-mark { border-radius: 12px; box-shadow: 0 0 0 1px rgba(232, 85, 40, .12), 0 6px 14px rgba(232, 85, 40, .16); }
  .brand-mark__img, .brand-mark__svg { border-radius: 12px; }
  .brand { gap: 9px; }
  .brand-wordmark { gap: 5px; min-height: 42px; }
  .brand-name-text { font-size: 1.2rem; font-weight: 800; }
  .brand-tagline-text { font-size: 0.72rem; letter-spacing: 0.03em; font-weight: 700; }
  .brand-name { height: 24px; }
  .brand-tagline { height: 13px; }

  .kids-article__content.prose-card,
  .kids-article__content {
    padding: 20px 16px 24px;
    font-size: 15px;
    line-height: 1.9;
  }
  .kids-article__content > p { text-align: left; }
  .kids-article__content h2 { font-size: 1.2rem; margin-top: 1.6rem; }
  .kids-article__lead { font-size: 1.05rem; }

  /* CTA 박스: 모바일에서 세로 스택 (글자 세로로 깨짐 방지) */
  .bottom-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 24px 20px;
    text-align: left;
  }
  .bottom-cta h2 { font-size: 22px; }
  .bottom-cta p { font-size: 13px; }
  .bottom-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .bottom-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .page-cta-box {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 22px 18px;
  }
  .page-cta-box h3 { font-size: 18px; }
  .page-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .page-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .bottom-quick {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #2a2422;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 -8px 24px rgba(0,0,0,.18);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .bottom-quick a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 64px;
    padding: 10px 6px 12px;
    color: rgba(255,248,245,.88);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -.02em;
    transition: background .2s, color .2s;
  }
  .bottom-quick a .bq-icon { color: #ff8a5c; }
  .bottom-quick a:active { background: rgba(255,255,255,.06); }
  .bottom-quick a.is-accent {
    background: linear-gradient(180deg, #ff7a4d 0%, #ff6a3d 100%);
    color: #fff;
  }
  .bottom-quick a.is-accent .bq-icon { color: #fff; }
  .home-popup { padding: 12px; align-items: center; }
  .home-popup__dialog { width: min(360px, 100%); border-radius: 18px; }
  .home-popup__media img {
    max-height: min(62vh, 560px);
  }
  .home-popup__bar { padding: 10px 12px 12px; }
  .home-popup__today { font-size: 12px; }
  .kids-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    align-items: flex-start;
  }
  .kids-card__thumb {
    width: 96px;
    height: 96px;
  }
  .kids-card__body {
    min-height: 0;
    gap: 6px;
  }
  .kids-card__title { font-size: 16px; }
  .kids-card__excerpt { -webkit-line-clamp: 2; font-size: 13px; }
  .kids-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .kids-search {
    width: 100%;
    flex: none;
  }
  .kids-search__field {
    max-width: none;
    width: 100%;
  }
  .kids-select {
    align-self: flex-end;
  }
  .kids-select__menu {
    right: 0;
    left: auto;
  }
  .kids-board { padding: 28px 0 56px; }
  .kids-search__field input[type="search"] {
    min-height: 0;
    font-size: 16px;
  }
  .kids-search__btn { min-height: 0; }
  .gnb { position: relative; z-index: 90; }
  .gnb-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    flex-wrap: unset;
    position: relative;
  }
  .nav-item {
    flex: none;
    width: auto;
    position: static; /* 하위메뉴를 gnb 전체 너비로 */
  }
  .nav-link {
    font-size: 12px;
    padding: 11px 4px;
    position: relative;
    line-height: 1.3;
    word-break: keep-all;
  }
  .nav-link.has-sub::after {
    margin-left: 2px;
    border-left-width: 3px;
    border-right-width: 3px;
    border-top-width: 4px;
  }
  .nav-link.has-sub.is-open::after {
    transform: rotate(180deg);
  }
  .nav-dropdown {
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    border-radius: 0 0 12px 12px;
    border-left: none;
    border-right: none;
    padding: 8px 12px 12px;
    max-height: min(60vh, 360px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 95;
    box-sizing: border-box;
  }
  .nav-dropdown a {
    padding: 12px 14px;
    font-size: 14px;
    text-align: left;
  }
  /* 모바일: hover로 열지 않고 탭(is-open)만 사용 */
  .nav-item:hover .nav-dropdown { display: none; }
  .nav-item.is-open .nav-dropdown { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .nav-item:focus-within .nav-dropdown { display: none; }
  .nav-item.is-open:focus-within .nav-dropdown { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .form-card, .prose-card, .info-box { padding: 20px; }
  .page-content { padding: 28px 0 88px; }

  /* 모바일 푸터: 세로로 과도하게 늘어지지 않게 압축 */
  .site-footer { margin-top: 4px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 0 20px;
  }
  .footer-about { grid-column: auto; }
  .footer-brand { margin-bottom: 12px; }
  .footer-brand-logo { height: 72px; border-radius: 14px; padding: 6px 8px; }
  .footer-brand-text { padding-bottom: 5px; }
  .footer-brand-main { font-size: 20px; }
  .footer-brand-sub { font-size: 15px; }
  .footer-about .footer-lead {
    font-size: 14px;
    margin: 0 0 8px;
  }
  .footer-about .footer-keywords {
    font-size: 13px;
    line-height: 1.65;
    max-width: none;
  }
  .footer-about .footer-license,
  .footer-sns {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    word-break: keep-all;
  }
  .footer-sns { margin-top: 8px; }
  .footer-branches { gap: 16px; }
  .footer-col h4 {
    margin: 0 0 12px;
    font-size: 14px;
  }
  .footer-col h4::before { height: 12px; }
  .footer-col li {
    padding: 9px 0;
    font-size: 14px;
    line-height: 1.45;
  }
  .footer-col li.footer-branch {
    padding: 0 0 14px;
    font-size: 13px;
  }
  .footer-links ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }
  .footer-bottom {
    padding: 16px 0 18px;
    font-size: 12px;
  }
  .feature-visual-grid,
  .feature-visual-grid.is-three,
  .steps-visual { grid-template-columns: 1fr; gap: 12px; }
  .feature-visual-card.is-text,
  .feature-visual-card:not(.has-image) { padding: 20px 18px; }
  .safe-grid { grid-template-columns: 1fr; gap: 12px; }
  .safe-card { padding: 22px 18px; }
  .pet-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pet-body { padding: 12px 12px 14px; }
  .pet-body h3 { font-size: 14px; word-break: keep-all; }
  .pet-desc { font-size: 12px; word-break: keep-all; }
  .visit-layout,
  .inquiry-layout { gap: 16px; }
  .visit-side-actions,
  .inquiry-side-actions { flex-direction: column; }
  .visit-side-actions .btn,
  .inquiry-side-actions .btn { width: 100%; justify-content: center; }
  .visit-submit,
  .inquiry-submit { width: 100%; }
  .visit-facility { grid-template-columns: 1fr 1fr; gap: 10px; }
  .visit-date-picker { max-width: none; }
  .visit-calendar { width: 100%; padding: 14px; }
  .visit-cal-day { min-height: 42px; font-size: 14px; }
  .visit-cal-nav { width: 42px; height: 42px; }
  input, textarea, select { font-size: 16px; min-height: 46px; }
  textarea { min-height: 120px; }
  .visual-subnav-inner { padding: 10px 0; gap: 6px; }
  .visual-subnav-link { padding: 9px 14px; font-size: 12px; }
  .visual-spotlight-copy,
  .visual-story-copy { padding: 24px 20px; }
  .visual-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
    gap: 12px;
  }
  .visual-gallery-item,
  .visual-gallery-item.is-large {
    min-height: 200px;
    height: 200px;
    grid-column: auto;
    grid-row: auto;
  }
  .visual-gallery-item img {
    position: absolute;
    inset: 0;
  }
  .fv-thumb { aspect-ratio: 16 / 10; }
}
