/* ===== Font ===== */
@font-face {
  font-family: 'Paperlogy';
  src: url('/fonts/Paperlogy-5Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('/fonts/Paperlogy-7Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== Reset & tokens ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #e6007e;
  --secondary: #1b2756;
  --program-bg: #384180;
  --light-blue: #eef5ff;
  --text: #333333;
  --dark: #111111;
  --header-h: 64px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Paperlogy', 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', 'Noto Sans KR', sans-serif;
  color: var(--text);
  line-height: 1.5;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  max-width: 1920px;
  margin: auto;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
}
.header-inner {
  max-width: 1200px; margin: auto;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
}
.logo { display: flex; align-items: center; height: 40px; }
.logo img { height: 100%; width: auto; }
@media (min-width: 901px) {
  .site-header { --header-h: 84px; } /* 웹(데스크톱)에서만 로고 1.5배 확대, 모바일은 유지 */
  .logo { height: 60px; }
}

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--dark); }

.site-nav ul { display: flex; gap: 28px; }
.site-nav a {
  font-weight: 500; font-size: 19px; color: var(--text);
  padding: 8px 0; position: relative;
}
.site-nav a[aria-current="page"] { color: var(--primary); font-weight: 700; }
.site-nav a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav ul { flex-direction: column; gap: 0; padding: 12px 20px; }
  .site-nav a { display: block; padding: 16px 0; border-bottom: 1px solid #f3f4f6; font-size: 18px; }
}

/* ===== Hero ===== */
.hero { text-align: center; padding: 24px 0 40px; position: relative; }
.main-title { display: block; width: 100%; height: auto; margin: 0 auto 16px; } /* 콘텐츠 영역(최대 1200px) 가로 꽉 채움 */
.hero-sub { font-size: 20px; font-weight: 700; color: var(--secondary); padding: 0 20px; }

.cta-event-btn {
  display: block;
  width: calc(100% - 40px);
  max-width: 900px;
  margin: 0 auto 20px;
  padding: 30px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5fa8, var(--primary) 55%, #c2005f);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(230, 0, 126, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta-event-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(230, 0, 126, .45); }
@media (max-width: 700px) {
  .cta-event-btn { width: calc(100% - 32px); font-size: 22px; padding: 24px 16px; }
}
@media (min-width: 700px) {
  .main-title { border-radius: 12px; }
}
.char-runners, .char-seagull { display: none; } /* 데코 요소 — 데스크톱 대형 화면에서만 노출 예정 (레이아웃 미세조정 필요) */

/* ===== Sections (공통) ===== */
main > section, section.page-header {
  max-width: 1200px; margin: 0 auto; padding: 40px 20px;
}
section h2 { font-size: 24px; color: var(--secondary); margin-bottom: 20px; }
.more-link { display: inline-block; padding: 10px 4px; font-weight: 500; } /* 터치 타겟 최소 24px 확보 */
.page-header { text-align: center; padding-top: 48px; }
.page-header h1 { font-size: 34px; color: var(--secondary); margin: 8px 0; }
.page-header p { font-size: 18px; color: var(--muted, #6b7280); line-height: 1.6; }
.program-img {
  display: block; width: 100%; height: auto; margin: 24px 0 0;
}

/* ===== Program info / dl =====
   라벨(공원명)마다 길이가 제각각이라 옆으로 나란히 두면 뒤에 오는 내용이 줄마다 삐뚤빼뚤 시작돼 지저분해 보인다.
   그래서 "아이콘+제목"을 한 줄로, 내용은 그 아래 한 단 내려서 정리하고, 항목 사이는 구분선으로 분리한다. */
.program-info, .runbase-info dl { background: var(--light-blue); border-radius: 12px; padding: 4px 24px; }
.program-info > div, .runbase-info dl > div {
  padding: 18px 0; border-bottom: 1px solid rgba(27, 39, 86, .1);
}
.program-info > div:last-child, .runbase-info dl > div:last-child { border-bottom: none; }
.program-info div .sched-head, .runbase-info dl div .sched-head { display: flex; align-items: center; gap: 10px; }
.program-info div svg { flex-shrink: 0; }
.program-info dt, .runbase-info dt {
  font-weight: 700;
  font-size: var(--sched-label-size, 16px); color: var(--sched-label-color, var(--secondary));
} /* 원래 primary(핑크)였으나 연한 배경 위 대비율 4.1:1로 접근성 기준(4.5:1) 미달 → secondary로 교체 (기본값 기준) */
.program-info dd {
  margin-top: 6px; padding-left: 30px; line-height: 1.7;
  font-size: var(--sched-content-size, 16px); color: var(--sched-content-color, #1f2937);
}
/* 장소처럼 여러 항목이 연달아 나올 땐 한 줄로 쭉 나열하지 않고 2단으로 배치해 좌우 빈 공간을 줄인다 */
.program-info > .sched-grid { border-bottom: none; padding: 4px 0; }
.sched-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.sched-grid > div { padding: 14px 0; border-bottom: 1px solid rgba(27, 39, 86, .1); }
@media (max-width: 700px) {
  .sched-grid { grid-template-columns: 1fr; }
}
.park-list { display: grid; gap: 14px; list-style: none; }

/* ===== 운영 일정 상세 이미지(공원별 프로그램표) ===== */
.schedule-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.schedule-detail-grid img { display: block; width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 700px) {
  .schedule-detail-grid { grid-template-columns: 1fr; }
}

/* ===== 참가자 준비물 및 유의사항 ===== */
.notice-box ul {
  font-size: var(--prec-size, 15px);
  letter-spacing: var(--prec-letter-spacing, 0px);
  line-height: var(--prec-line-height, 1.8);
}
.notice-box li { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.notice-box li svg, .accept-guide li svg { flex-shrink: 0; }

/* ===== Cards / grids ===== */
.course-cards, .features ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.features ul { grid-template-columns: repeat(3, 1fr); }
.course-cards li, .features li {
  background: #eef3fb; border-radius: 12px; padding: 20px; overflow: hidden;
}
.course-cards li img { border-radius: 8px; margin-bottom: 12px; aspect-ratio: 16/10; object-fit: cover; }
@media (max-width: 700px) {
  .course-cards, .features ul { grid-template-columns: 1fr; }
}

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-grid li a { display: block; background: #f8f9fa; border-radius: 10px; overflow: hidden; }
.photo-grid .thumb {
  display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover;
  background: linear-gradient(135deg, var(--light-blue), #fff); /* 로딩 전/실패 시 대체 배경 */
}
.photo-grid .caption { display: block; padding: 10px 12px 4px; font-size: 14px; font-weight: 500; }
.photo-grid .date { display: block; padding: 0 12px 12px; font-size: 12px; color: #6b7280; } /* #9ca3af는 흰 배경에서 대비율 2.54:1로 미달 → 4.83:1로 통과하는 색으로 조정 */
@media (max-width: 700px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Notice list ===== */
.notice-list ul, ul.notice-list { border-top: 2px solid var(--secondary); }
.notice-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 4px; border-bottom: 1px solid #eaeaea; flex-wrap: wrap;
}
.notice-item a { font-weight: 500; flex: 1; min-width: 200px; }
.badge {
  display: inline-block; font-size: 12px; font-weight: 700; color: #ad0059; /* primary(#e6007e)는 이 배경 위에서 대비율 4.01:1로 미달 → 6.41:1로 통과하는 색으로 조정 */
  background: #fdeef5; border-radius: 999px; padding: 3px 10px;
}
.notice-item .date, .notice-item .hit, .notice-item .author { font-size: 13px; color: #6b7280; }
.empty-msg { text-align: center; padding: 60px 0; color: #6b7280; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.pagination a {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-size: 14px; color: var(--text);
}
.pagination a.active { background: var(--primary); color: #fff; font-weight: 700; }

/* ===== Detail pages ===== */
.notice-detail, .photo-detail { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.notice-detail h1, .photo-detail h1 { font-size: 22px; margin: 12px 0; color: var(--dark); }
.notice-detail .meta, .photo-detail .meta { color: #6b7280; font-size: 13px; margin-bottom: 24px; }
.content { font-size: 15px; line-height: 1.8; }
.content img { width: 100%; margin-bottom: 12px; border-radius: 8px; }
.content iframe { width: 100%; aspect-ratio: 16/9; height: auto; border-radius: 8px; margin-bottom: 12px; }
.back-link { margin-top: 32px; }
.todo-note {
  background: #fff8e1; border: 1px dashed #e0c060; border-radius: 8px;
  padding: 12px 16px; font-size: 13px; color: #7a5c00;
}

/* 공원 소개 페이지는 메인 페이지와 동일한 .course-cards 카드 스타일을 그대로 재사용한다 */
.route-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.route-list img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.map-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
@media (max-width: 700px) { .map-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ===== Accept / events ===== */
.accept-guide ul {
  background: var(--light-blue); border-radius: 12px; padding: 24px;
  font-size: var(--guide-size, 15px);
  letter-spacing: var(--guide-letter-spacing, 0px);
  line-height: var(--guide-line-height, 1.8);
}
.accept-guide li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.accept-guide li svg { width: 24px; height: 24px; flex-shrink: 0; }

/* ===== 월별 탭 ===== */
.month-tabs {
  display: flex; overflow-x: auto; gap: 0; margin: 28px 0 0; border-bottom: 2px solid #d5dae3;
  -webkit-overflow-scrolling: touch;
}
.month-tab {
  flex: 0 0 auto; min-width: 33.33%; padding: 16px 12px; text-align: center;
  font-size: 17px; font-weight: 700; color: var(--muted, #6b7280);
  background: none; border: none; border-bottom: 3px solid transparent; cursor: pointer;
}
.month-tab.active { color: #fff; background: var(--primary); border-radius: 6px 6px 0 0; }
@media (max-width: 700px) { .month-tab { min-width: 45%; } }

/* ===== 장소(공원) 선택 버튼 — 누르면 아래 표가 그 장소의 행사로 바뀐다 ===== */
.location-btn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0 4px; }
.location-btn {
  padding: 16px 12px; border-radius: 10px; border: 2px solid var(--secondary);
  background: #fff; color: var(--secondary); font-size: 16px; font-weight: 700;
  cursor: pointer; transition: background .15s ease, color .15s ease;
}
.location-btn:hover { background: rgba(27, 39, 86, .06); }
.location-btn.active { background: var(--secondary); color: #fff; }
@media (max-width: 700px) {
  .location-btn-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .location-btn { font-size: 14px; padding: 14px 8px; }
}

/* ===== 참가신청 표 (공원 · 행사명+썸네일 · 일시 · 신청버튼) ===== */
.apply-table { width: 100%; border-collapse: collapse; margin-top: 24px; border-top: 2px solid #b0b7c3; border-bottom: 2px solid #b0b7c3; }
.apply-table th {
  background: var(--light-blue); color: var(--secondary); font-size: 15px; font-weight: 800;
  padding: 14px 10px; text-align: center; border-top: 1px solid #b0b7c3; border-bottom: 1px solid #b0b7c3;
}
.apply-table td { padding: 16px 10px; text-align: center; border-top: 1px solid #b0b7c3; border-bottom: 1px solid #b0b7c3; font-size: 15px; }
.apply-loc-cell { width: 16%; vertical-align: middle; }
.apply-loc-name { font-size: 18px; font-weight: 800; color: var(--dark, #1f2937); }
.apply-ev-cell { display: flex; align-items: center; gap: 10px; text-align: left; }
.apply-ev-thumb { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; cursor: zoom-in; }
.apply-ev-cell-text { min-width: 0; }
.apply-ev-title { font-size: 15px; font-weight: 700; color: var(--dark, #1f2937); }
.apply-ev-desc { font-size: 12px; color: var(--muted, #6b7280); margin-top: 2px; white-space: pre-line; }
.apply-ev-capacity { font-size: 12px; color: var(--primary); font-weight: 700; margin-top: 4px; }
.apply-date { color: #333; }
.apply-date b { color: var(--primary); }
.apply-time { font-weight: 700; margin-left: 4px; }
.apply-date-legacy { color: #333; font-weight: 600; }
.apply-btn-cell { width: 18%; }
.apply-btn {
  display: inline-block; min-width: 120px; padding: 12px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 700; text-align: center; border: none; cursor: pointer;
}
.apply-btn-on { background: var(--primary); color: #fff; }
.apply-btn-on:hover { opacity: .9; }
.apply-btn-off { background: #9ca3af; color: #fff; cursor: not-allowed; }
.apply-table-wrap { overflow-x: auto; margin-top: 24px; }
.apply-table-wrap .apply-table { margin-top: 0; min-width: 620px; }
@media (max-width: 700px) {
  .apply-btn { min-width: 100px; font-size: 12px; padding: 10px; }
}

/* ===== 행사 이미지 확대(라이트박스) ===== */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.8); z-index: 400;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox-overlay img { max-width: 100%; max-height: 90vh; border-radius: 8px; margin: 0 auto; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff;
  font-size: 32px; cursor: pointer; line-height: 1;
}

/* ===== 내 예약 확인 결과 ===== */
.apply-lookup-result {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--light-blue); border-radius: 12px; padding: 16px; margin-bottom: 12px; text-align: left;
}
.apply-lookup-info { min-width: 0; }
.apply-lookup-qr { flex-shrink: 0; border-radius: 8px; border: 1px solid #eaeaea; }

/* ===== 참가신청 모달 ===== */
.apply-modal-overlay {
  position: fixed; inset: 0; background: rgba(17,17,17,.55); z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto;
}
.apply-modal {
  background: #fff; border-radius: 16px; padding: 36px 30px; max-width: 480px; width: 100%;
  position: relative; box-shadow: 0 18px 56px rgba(0,0,0,.3); max-height: 90vh; overflow-y: auto;
}
.apply-modal-close {
  position: absolute; top: 14px; right: 16px; background: none; border: 0;
  font-size: 24px; cursor: pointer; color: var(--muted, #6b7280); line-height: 1;
}
.apply-modal-title { font-size: 18px; color: var(--secondary); margin-bottom: 4px; }
.apply-modal-sub { font-size: 13px; color: var(--muted, #6b7280); margin-bottom: 20px; }
.apply-field { margin-bottom: 14px; }
.apply-field label { display: block; font-size: 13px; color: var(--muted, #6b7280); margin-bottom: 4px; }
.apply-field input {
  width: 100%; padding: 10px 12px; font-size: 15px; border: 1px solid #d5dae3; border-radius: 8px;
  font-family: inherit;
}
.apply-consent { margin-bottom: 12px; font-size: 13px; }
.apply-consent label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.apply-consent input[type="checkbox"] { width: 17px; height: 17px; flex-shrink: 0; }
.apply-consent summary { cursor: pointer; color: var(--primary); font-size: 12px; margin: 4px 0 0 25px; }
.apply-consent-detail { font-size: 12px; color: #6b7280; line-height: 1.6; margin: 6px 0 0 25px; }
.apply-modal-error { color: #dc2626; font-size: 13px; margin: 4px 0 12px; }
.apply-alert-overlay {
  position: absolute; inset: 0; z-index: 10; border-radius: 16px;
  background: rgba(17,17,17,.5); display: flex; align-items: center; justify-content: center; padding: 24px;
}
.apply-alert-box {
  background: #fff; border-radius: 14px; padding: 26px 22px; max-width: 320px; width: 100%;
  text-align: center; box-shadow: 0 10px 32px rgba(0,0,0,.25);
}
.apply-alert-msg { font-size: 15px; color: #1f2937; line-height: 1.6; margin-bottom: 18px; }
.apply-modal-submit { margin-top: 8px; padding: 14px 16px; font-size: 16px; }

.apply-done { text-align: center; }
.apply-done-check { font-size: 40px; margin-bottom: 4px; }
.apply-done h3 { font-size: 19px; color: var(--secondary); margin-bottom: 18px; }
.apply-done-qr { display: block; margin: 0 auto 14px; border-radius: 12px; border: 1px solid #eaeaea; } /* 전역 img { display:block } 때문에 text-align만으론 안 가운데 정렬돼서 margin auto로 직접 중앙정렬 */
.apply-done-code { font-size: 20px; font-weight: 800; letter-spacing: 1px; color: var(--primary); margin-bottom: 6px; }
.apply-done-note { font-size: 12px; color: var(--muted, #6b7280); margin-bottom: 16px; }
.apply-done-info { background: var(--light-blue); border-radius: 8px; padding: 12px 14px; margin-bottom: 18px; text-align: left; }
.apply-done-info-row { display: flex; justify-content: space-between; font-size: 14px; color: #1f2937; padding: 4px 0; }
.apply-done-info-row span { color: var(--muted, #6b7280); }
.apply-done-actions { display: flex; gap: 10px; }
.btn {
  display: inline-block; padding: 10px 20px; border-radius: 8px;
  background: var(--secondary); color: #fff; font-weight: 700; font-size: 14px;
  border: none; cursor: pointer; text-align: center;
}
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-primary { background: var(--primary); }
.btn-outline { background: #fff; color: var(--muted, #6b7280); border: 1px solid #d7dbe3; }
.cta { text-align: center; padding: 40px 20px 60px; }
.cta .btn {
  font-size: 27px; padding: 24px 60px; border-radius: 999px;
  background: linear-gradient(90deg, #ff5fa8, var(--primary) 55%, #c2005f);
  box-shadow: 0 10px 28px rgba(230, 0, 126, .35);
}
/* 메인페이지가 아닌 다른 페이지(행사개요 등)의 신청 버튼은 좀 더 차분한 크기로 */
.program-cta .btn { font-size: 17px; padding: 14px 36px; }

.floating-bottom-bar {
  position: fixed; left: 0; right: 0; bottom: -100px; z-index: 90;
  background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  padding: 12px 20px; text-align: center;
  transition: bottom .25s ease;
}
.floating-bottom-bar.show { bottom: 0; }
.floating-bottom-bar .btn {
  width: 100%; max-width: 480px; font-size: 27px; padding: 24px 30px; border-radius: 999px;
  background: linear-gradient(90deg, #ff5fa8, var(--primary) 55%, #c2005f);
  box-shadow: 0 10px 28px rgba(230, 0, 126, .35);
}

/* ===== 긴급 공지 배너 (관리자 발행) ===== */
.site-banner-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 16px;
  background: var(--primary); color: #fff; padding: 14px 44px; text-align: center;
  font-size: 17px; font-weight: 700; position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.site-banner-bar .site-banner-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #fff;
  font-size: 22px; cursor: pointer; line-height: 1;
}
.site-banner-bar .site-banner-dismiss-row { color: #fff; opacity: .9; }
.site-banner-modal-overlay {
  position: fixed; inset: 0; background: rgba(17,17,17,.6); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.site-banner-modal {
  background: #fff; border-radius: 16px; padding: 36px 28px 30px; max-width: 480px; width: 100%;
  position: relative; box-shadow: 0 18px 56px rgba(0,0,0,.3); border-top: 7px solid var(--primary);
}
.site-banner-modal .site-banner-content { font-size: 17px; line-height: 1.7; font-weight: 600; white-space: pre-line; }
.site-banner-modal .site-banner-content img { width: 100%; border-radius: 10px; margin-bottom: 14px; }
.site-banner-modal .site-banner-dismiss-row { justify-content: center; margin-top: 18px; color: var(--muted, #6b7280); }
.site-banner-modal .site-banner-close {
  position: absolute; top: 12px; right: 16px; background: none; border: 0;
  font-size: 24px; cursor: pointer; color: var(--muted, #6b7280);
}
.site-banner-dismiss-row {
  display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500;
  cursor: pointer; user-select: none;
}
.site-banner-dismiss-row input[type="checkbox"] { width: 15px; height: 15px; }

/* ===== Footer ===== */
.site-footer { background: var(--secondary); color: #cbd5e1; margin-top: 60px; }
.footer-inner { max-width: 1200px; margin: auto; padding: 32px 20px; }
.footer-name { color: #fff; font-weight: 700; margin-bottom: 8px; }
.footer-contact li { font-size: 13px; padding: 2px 0; }
.footer-copyright { font-size: 12px; margin-top: 16px; opacity: .7; }

/* ===== Back-to-top button ===== */
.btn-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--secondary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.btn-top.show { opacity: 1; pointer-events: auto; }
