/* =============================================
   맨발걷기 지도 — Design System (style.css)
   접근성 강화 버전 (어르신 친화적 UI)
   ============================================= */

/* ── 변수 & 리셋 ── */
:root {
  --c-primary: #C97B3A;
  --c-primary-dark: #A85E1F;
  --c-primary-light: #F0A96A;
  --c-green: #4A7A5C;
  --c-green-light: #6FAE85;
  --c-bg: #FFF8F0;
  --c-bg2: #FFF1E0;
  --c-surface: #FFFFFF;
  --c-text: #2C1A08;
  --c-text2: #6B4C2A;
  --c-text3: #9E7A56;
  --c-border: #E8D5BB;
  --c-shadow: rgba(180,100,30,0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --font: 'Noto Sans KR', sans-serif;
  --nav-h: 80px;
  --header-h: 62px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
/* html/body overflow: #seo-landing-block 표시 중에는 스크롤이 필요하므로 JS 초기화 후 hidden 처리 */
html, body { height: 100%; font-family: var(--font); background: var(--c-bg); color: var(--c-text); font-size: 17px; }
body.app-ready { overflow: hidden; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── 스플래시 ── */
#splash-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(160deg, #C97B3A 0%, #8B4A1A 100%);
  display: flex; align-items: center; justify-content: center;
}
.splash-content { text-align: center; color: #fff; }
.splash-icon { font-size: 80px; animation: bounce 1s ease infinite alternate; }
.splash-title { font-size: 34px; font-weight: 900; margin-top: 16px; letter-spacing: -0.5px; }
.splash-sub { font-size: 19px; margin-top: 8px; opacity: 0.85; }
.splash-loader {
  width: 48px; height: 4px; background: rgba(255,255,255,0.3);
  border-radius: 2px; margin: 32px auto 0; overflow: hidden;
}
.splash-loader::after {
  content: ''; display: block; width: 40%; height: 100%;
  background: #fff; border-radius: 2px;
  animation: load 1.2s ease infinite;
}
@keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ── 앱 컨테이너 ── */
.app-container { display: flex; flex-direction: column; position: fixed; inset: 0; }

/* ── 헤더 ── */
.app-header {
  height: var(--header-h); background: var(--c-primary);
  display: flex; align-items: center; padding: 0 16px; gap: 8px;
  position: relative; z-index: 100; flex-shrink: 0;
  box-shadow: 0 2px 8px var(--c-shadow);
}
.btn-back {
  width: 48px; height: 48px; border-radius: 50%; color: #fff;
  font-size: 32px; line-height: 1; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15);
}
.header-title {
  flex: 1; font-size: 21px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.btn-header-icon {
  width: 48px; height: 48px; border-radius: 50%;
  color: #fff; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15);
}

/* ── 페이지 콘텐츠 ── */
.page-content {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch; background: var(--c-bg);
}

/* ── 하단 탭바 (크게) ── */
.bottom-nav {
  height: var(--nav-h); background: #fff; border-top: 1.5px solid var(--c-border);
  display: flex; align-items: center; flex-shrink: 0;
  box-shadow: 0 -2px 12px var(--c-shadow);
  padding-bottom: env(safe-area-inset-bottom);
}
.nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px; padding: 8px 4px;
  color: var(--c-text3); transition: color 0.2s;
  min-height: 64px;
}
.nav-item.active { color: var(--c-primary); }
.nav-icon { font-size: 30px; line-height: 1; }
.nav-label { font-size: 13px; font-weight: 600; }

/* ── 카드 공통 ── */
.card {
  background: var(--c-surface); border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--c-shadow); overflow: hidden;
}
.card-body { padding: 18px; }

/* ── 홈 페이지 ── */
.home-hero {
  background: linear-gradient(160deg, #C97B3A 0%, #8B4A1A 100%);
  padding: 30px 20px 40px; color: #fff; position: relative; overflow: hidden;
}
.home-hero::before {
  content: '🌿'; font-size: 130px; position: absolute;
  right: -16px; top: -16px; opacity: 0.15;
}
.hero-greeting { font-size: 17px; opacity: 0.9; line-height: 1.6; }
.hero-title { font-size: 28px; font-weight: 900; margin-top: 8px; line-height: 1.35; }
.hero-stats { display: flex; gap: 20px; margin-top: 22px; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 26px; font-weight: 900; }
.hero-stat-label { font-size: 13px; opacity: 0.85; margin-top: 3px; }

.home-search-box { padding: 16px; margin-top: -22px; position: relative; z-index: 1; }
.home-search {
  display: flex; align-items: center; background: #fff;
  border-radius: 16px; padding: 16px 20px; gap: 12px;
  box-shadow: 0 4px 20px var(--c-shadow); cursor: pointer;
}
.home-search-text { color: var(--c-text3); font-size: 17px; }

.section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 16px 12px;
}
.section-title { font-size: 20px; font-weight: 700; }
.section-more { font-size: 16px; color: var(--c-primary); font-weight: 600; padding: 8px 4px; }

.region-chips { display: flex; gap: 10px; padding: 0 16px 18px; overflow-x: auto; scrollbar-width: none; }
.region-chips::-webkit-scrollbar { display: none; }
.region-chip {
  flex-shrink: 0; padding: 12px 20px; border-radius: 26px;
  background: var(--c-bg2); border: 2px solid var(--c-border);
  font-size: 16px; font-weight: 600; color: var(--c-text2);
  transition: all 0.2s; min-height: 48px;
}
.region-chip.active, .region-chip:active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ── 장소 카드 ── */
.place-card {
  margin: 0 16px 14px; border-radius: var(--radius);
  background: #fff; box-shadow: 0 2px 12px var(--c-shadow);
  padding: 18px; display: flex; gap: 14px; align-items: flex-start;
  cursor: pointer; transition: transform 0.15s;
  border-left: 5px solid var(--c-primary);
}
.place-card:active { transform: scale(0.98); }
.place-card-icon { font-size: 38px; flex-shrink: 0; }
.place-card-body { flex: 1; min-width: 0; }
.place-card-name { font-size: 18px; font-weight: 700; color: var(--c-text); margin-bottom: 5px; line-height: 1.4; }
.place-card-addr { font-size: 14px; color: var(--c-text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.6; }
.place-card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.tag {
  font-size: 13px; padding: 4px 10px; border-radius: 8px;
  background: var(--c-bg2); color: var(--c-text2); font-weight: 600;
}
.tag.surface { background: #FFF0E0; color: var(--c-primary-dark); }
.tag.facility { background: #E8F5EE; color: var(--c-green); }
.place-card-fav {
  flex-shrink: 0; font-size: 28px; padding: 6px;
  background: none; border: none; min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}

/* ── 목록 페이지 ── */
.sido-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px; }
.sido-card {
  background: #fff; border-radius: var(--radius); padding: 18px 10px;
  text-align: center; box-shadow: 0 2px 10px var(--c-shadow);
  cursor: pointer; transition: all 0.2s; border: 2px solid transparent;
  min-height: 100px;
}
.sido-card:active { border-color: var(--c-primary); transform: scale(0.96); }
.sido-card-icon { font-size: 34px; }
.sido-card-name { font-size: 16px; font-weight: 700; margin-top: 8px; }
.sido-card-count { font-size: 13px; color: var(--c-text3); margin-top: 3px; font-weight: 500; }

.list-header {
  padding: 18px 16px; background: var(--c-bg2); border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; gap: 10px;
}
.list-header-back {
  font-size: 26px; color: var(--c-primary); font-weight: 700;
  padding: 8px; min-width: 48px; min-height: 48px; display: flex; align-items: center;
}
.list-header-text { font-size: 19px; font-weight: 700; }
.list-header-count { font-size: 14px; color: var(--c-text3); margin-left: auto; font-weight: 500; }

/* ── 즐겨찾기 ── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--c-text3); }
.empty-icon { font-size: 64px; margin-bottom: 18px; }
.empty-title { font-size: 20px; font-weight: 700; color: var(--c-text2); margin-bottom: 10px; }
.empty-desc { font-size: 16px; line-height: 1.8; }

/* ── 상세 바텀시트 ── */
.detail-sheet {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: #fff; border-radius: 26px 26px 0 0;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
  transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.32,0.72,0,1);
  max-height: 85vh; overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
}
.detail-sheet.open { transform: translateY(0); }
.sheet-handle {
  width: 48px; height: 5px; background: var(--c-border);
  border-radius: 3px; margin: 14px auto 6px;
}
.sheet-overlay {
  position: fixed; inset: 0; z-index: 499;
  background: rgba(0,0,0,0.4); display: none;
}
.sheet-overlay.show { display: block; }
.sheet-content { padding: 10px 20px 28px; }
.sheet-name { font-size: 22px; font-weight: 900; color: var(--c-text); margin-bottom: 8px; line-height: 1.4; }
.sheet-sigungu { font-size: 16px; color: var(--c-text3); margin-bottom: 14px; line-height: 1.6; }
.sheet-info-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.sheet-addr { font-size: 16px; color: var(--c-text2); padding: 12px 0; border-top: 1px solid var(--c-border); line-height: 1.7; }
.sheet-actions { display: flex; gap: 12px; margin-top: 18px; }
.sheet-btn {
  flex: 1; padding: 16px; border-radius: 14px;
  font-size: 17px; font-weight: 700; text-align: center;
  min-height: 56px;
}
.sheet-btn-primary { background: var(--c-primary); color: #fff; }
.sheet-btn-secondary { background: var(--c-bg2); color: var(--c-primary-dark); border: 2px solid var(--c-border); }

/* ── 댓글 섹션 ── */
.comments-section {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--c-border);
}
.comments-title { font-size: 17px; font-weight: 700; margin-bottom: 12px; color: var(--c-text); }
.comments-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.comment-item {
  background: var(--c-bg); border-radius: 12px; padding: 12px 14px;
}
.comment-text { font-size: 15px; color: var(--c-text2); line-height: 1.7; }
.comment-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.comment-meta { font-size: 12px; color: var(--c-text3); }
.comment-report {
  font-size: 12px; color: var(--c-text3); padding: 4px 8px;
  border: 1px solid var(--c-border); border-radius: 8px; background: #fff;
}
.comment-input-wrap { display: flex; gap: 8px; align-items: flex-end; }
.comment-input {
  flex: 1; padding: 12px 14px; border-radius: 12px;
  border: 2px solid var(--c-border); font-size: 15px;
  font-family: var(--font); outline: none; resize: none;
  background: var(--c-bg); color: var(--c-text); line-height: 1.6;
  min-height: 48px;
}
.comment-input:focus { border-color: var(--c-primary); }
.comment-submit {
  padding: 12px 18px; background: var(--c-primary); color: #fff;
  border-radius: 12px; font-size: 15px; font-weight: 700;
  min-height: 48px; flex-shrink: 0;
}
.comments-loading { text-align: center; padding: 16px; color: var(--c-text3); font-size: 14px; }

/* 대댓글 들여쓰기 */
.comment-reply {
  margin-left: 18px;
  background: #fff;
  border-left: 3px solid var(--c-primary-light);
  border-radius: 10px;
}
.replies-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }

/* 더 보기 버튼 */
.load-more-btn {
  width: 100%; padding: 12px; margin: 8px 0;
  background: var(--c-bg2); border: 1.5px solid var(--c-border);
  border-radius: 12px; font-size: 15px; font-weight: 600;
  color: var(--c-text2); cursor: pointer; transition: background 0.15s;
}
.load-more-btn:active { background: var(--c-border); }


/* ── 검색 오버레이 ── */
.search-overlay {
  position: fixed; inset: 0; z-index: 600; background: var(--c-bg);
  display: flex; flex-direction: column;
}
.search-header {
  display: flex; align-items: center; padding: 12px 16px;
  background: var(--c-primary); gap: 12px; flex-shrink: 0;
}
.search-input {
  flex: 1; padding: 14px 18px; border-radius: 14px; border: none;
  font-size: 17px; font-family: var(--font); outline: none;
  background: rgba(255,255,255,0.95);
}
.search-close { color: #fff; font-size: 17px; font-weight: 700; flex-shrink: 0; padding: 8px; }
.search-filters { display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; scrollbar-width: none; flex-shrink: 0; }
.search-filters::-webkit-scrollbar { display: none; }
.filter-chip {
  flex-shrink: 0; padding: 10px 18px; border-radius: 22px;
  background: var(--c-bg2); border: 2px solid var(--c-border);
  font-size: 15px; font-weight: 600; color: var(--c-text2);
  min-height: 44px;
}
.filter-chip.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.search-results { flex: 1; overflow-y: auto; padding: 0 0 16px; }
.search-result-item {
  padding: 16px; border-bottom: 1px solid var(--c-border);
  cursor: pointer; display: flex; gap: 14px; align-items: center;
  min-height: 72px;
}
.search-result-item:active { background: var(--c-bg2); }
.result-icon { font-size: 32px; flex-shrink: 0; }
.result-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; line-height: 1.4; }
.result-addr { font-size: 14px; color: var(--c-text3); line-height: 1.5; }

/* ── 만보기 ── */
.pedometer-page { padding: 20px 16px; }
.step-circle-wrap { display: flex; justify-content: center; padding: 24px 0; }
.step-circle {
  width: 220px; height: 220px; border-radius: 50%;
  background: linear-gradient(145deg, #f5e6d5, #ffe8cc);
  box-shadow: 0 8px 32px var(--c-shadow), inset 0 2px 6px rgba(255,255,255,0.8);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 6px solid var(--c-primary-light);
}
.step-num { font-size: 52px; font-weight: 900; color: var(--c-primary-dark); line-height: 1; }
.step-unit { font-size: 18px; color: var(--c-text3); margin-top: 6px; font-weight: 600; }
.step-goal-bar { margin: 22px 0; }
.step-goal-label { display: flex; justify-content: space-between; font-size: 15px; color: var(--c-text3); margin-bottom: 10px; font-weight: 500; }
.progress-bar { height: 14px; background: var(--c-bg2); border-radius: 7px; overflow: hidden; border: 1px solid var(--c-border); }
.progress-fill { height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--c-primary-light), var(--c-primary)); transition: width 0.5s ease; }
.step-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.step-stat-card { background: #fff; border-radius: 14px; padding: 16px 8px; text-align: center; box-shadow: 0 2px 8px var(--c-shadow); }
.step-stat-num { font-size: 22px; font-weight: 700; color: var(--c-primary-dark); }
.step-stat-label { font-size: 13px; color: var(--c-text3); margin-top: 4px; font-weight: 500; }
.pedometer-btn {
  width: 100%; padding: 20px; border-radius: 16px; margin-top: 22px;
  font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff; box-shadow: 0 4px 16px var(--c-shadow);
  transition: transform 0.15s; min-height: 64px;
}
.pedometer-btn:active { transform: scale(0.97); }
.pedometer-btn.danger { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.pedometer-weekly { margin-top: 20px; background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 2px 10px var(--c-shadow); }
.weekly-title { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.weekly-bars { display: flex; align-items: flex-end; gap: 6px; height: 88px; }
.weekly-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.weekly-bar { width: 100%; background: linear-gradient(180deg, var(--c-primary-light), var(--c-primary)); border-radius: 4px 4px 0 0; min-height: 4px; transition: height 0.5s ease; }
.weekly-bar.today { background: linear-gradient(180deg, #F0C060, #C97B3A); }
.weekly-day { font-size: 13px; color: var(--c-text3); font-weight: 500; }

/* ── 가이드 ── */
.guide-page { padding: 0 0 24px; }
.guide-banner {
  background: linear-gradient(135deg, #4A7A5C, #2D5940);
  padding: 30px 20px; color: #fff; text-align: center;
}
.guide-banner h2 { font-size: 24px; font-weight: 900; }
.guide-banner p { font-size: 17px; margin-top: 8px; opacity: 0.9; line-height: 1.6; }
.guide-tabs { display: flex; border-bottom: 2px solid var(--c-border); background: #fff; position: sticky; top: 0; z-index: 10; }
.guide-tab {
  flex: 1; padding: 16px 4px; font-size: 16px; font-weight: 600;
  color: var(--c-text3); border-bottom: 3px solid transparent; margin-bottom: -2px;
  min-height: 54px;
}
.guide-tab.active { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.guide-section { padding: 16px; }
.guide-card { background: #fff; border-radius: var(--radius); padding: 20px; margin-bottom: 14px; box-shadow: 0 2px 8px var(--c-shadow); }
.guide-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.guide-card p, .guide-card li { font-size: 16px; line-height: 1.9; color: var(--c-text2); }
.guide-card ul { padding-left: 20px; }
.guide-card li { margin-bottom: 6px; }
.season-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.season-card { border-radius: 14px; padding: 16px; text-align: center; }
.season-card h4 { font-size: 17px; font-weight: 700; margin: 8px 0 8px; }
.season-card p { font-size: 14px; line-height: 1.7; }
.season-spring { background: #FFF0F5; color: #C97BA0; }
.season-summer { background: #F0F8FF; color: #3A7AC9; }
.season-autumn { background: #FFF5E8; color: #C97B3A; }
.season-winter { background: #F0F4FF; color: #5A6AC9; }

/* ── 더보기 페이지 ── */
.more-page { padding: 16px; }
.more-menu-list { display: flex; flex-direction: column; gap: 12px; }
.more-menu-item {
  background: #fff; border-radius: var(--radius); padding: 20px 18px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 2px 10px var(--c-shadow); cursor: pointer; transition: transform 0.15s;
  min-height: 76px;
}
.more-menu-item:active { transform: scale(0.98); }
.more-menu-icon { font-size: 36px; width: 48px; text-align: center; flex-shrink: 0; }
.more-menu-text { flex: 1; }
.more-menu-title { font-size: 18px; font-weight: 700; }
.more-menu-desc { font-size: 14px; color: var(--c-text3); margin-top: 4px; line-height: 1.5; }
.more-menu-arrow { font-size: 24px; color: var(--c-text3); flex-shrink: 0; }
.more-version { text-align: center; padding: 28px; font-size: 14px; color: var(--c-text3); }

/* ── 지도 페이지 ── */
.map-page { height: 100%; display: flex; flex-direction: column; }
#kakao-map { flex: 1; width: 100%; }
.map-notice {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.95); border-radius: 18px; padding: 26px 22px;
  text-align: center; box-shadow: 0 4px 24px rgba(0,0,0,0.12); width: 80%; max-width: 290px;
}
.map-notice h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.map-notice p { font-size: 15px; color: var(--c-text3); line-height: 1.7; }

/* 지도 플로팅 버튼 */
.map-float-btn {
  position: absolute; z-index: 10;
  background: #fff; border-radius: 50%;
  box-shadow: 0 3px 14px rgba(0,0,0,0.2);
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; cursor: pointer; border: 2px solid var(--c-border);
  transition: transform 0.15s;
}
.map-float-btn:active { transform: scale(0.92); }
.map-float-location { bottom: 20px; right: 16px; }

/* ── 유틸 ── */
.page-pad { padding: 16px; }
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mb16 { margin-bottom: 16px; }
.text-center { text-align: center; }
.fade-in { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── 모달 다이얼로그 (불편사항 / 장소 추가) ── */
.custom-modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(44, 26, 8, 0.4);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.custom-modal-overlay.active {
  opacity: 1; pointer-events: auto;
}
.custom-modal {
  background: #ffffff;
  width: 90%; max-width: 440px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(180, 100, 30, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.custom-modal-overlay.active .custom-modal {
  transform: scale(1);
}
.custom-modal-header {
  padding: 20px 24px 14px;
  border-bottom: 1px solid var(--c-border);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--c-bg);
}
.custom-modal-title {
  font-size: 19px; font-weight: 900; color: var(--c-text);
}
.custom-modal-close {
  font-size: 24px; color: var(--c-text3); cursor: pointer; line-height: 1; font-weight: 700;
}
.custom-modal-body {
  padding: 20px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.modal-form-group {
  display: flex; flex-direction: column; gap: 6px;
}
.modal-form-label {
  font-size: 14px; font-weight: 700; color: var(--c-text2);
}
.modal-form-input, .modal-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid var(--c-border);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s ease;
}
.modal-form-input:focus, .modal-form-textarea:focus {
  border-color: var(--c-primary);
  background: #fff;
}
.modal-form-textarea {
  resize: none; height: 100px;
}
.custom-modal-footer {
  padding: 16px 24px 24px;
  display: flex; gap: 12px;
}
.modal-btn {
  flex: 1; padding: 14px; border-radius: 12px;
  font-size: 16px; font-weight: 700; text-align: center;
}
.modal-btn-cancel {
  background: var(--c-bg2); color: var(--c-text2); border: 2px solid var(--c-border);
}
.modal-btn-submit {
  background: var(--c-primary); color: #fff;
}
.modal-btn-submit:disabled {
  background: var(--c-text3); opacity: 0.6; cursor: not-allowed;
}

/* ── 구글 애드센스 웹 상단 배너 ── */
.web-adsense-top {
  width: 100%;
  background: var(--c-bg2);
  border-bottom: 1.5px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px 0;
  min-height: 66px;
  flex-shrink: 0;
}


/* ================================================================
   SEO / AdSense 정적 랜딩 블록 스타일
   - 크롤러·검색엔진이 JS 없이 볼 수 있는 콘텐츠 풀 영역
   - JS 초기화 완료 시 display:none 으로 즉시 숨겨짐
   ================================================================ */
#seo-landing-block {
  display: block;
  width: 100%;
  min-height: 100vh;
  background: var(--c-bg);
  font-family: var(--font);
  color: var(--c-text);
  overflow-y: auto;
}

.seo-header {
  background: var(--c-primary);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.seo-logo {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
}
.seo-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.seo-nav a {
  color: rgba(255,255,255,0.90);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.seo-nav a:hover { color: #fff; text-decoration: underline; }

.seo-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 0 60px;
}

/* 히어로 */
.seo-hero {
  background: linear-gradient(160deg, #C97B3A 0%, #8B4A1A 100%);
  padding: 36px 24px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.seo-hero::before {
  content: '🌿';
  font-size: 140px;
  position: absolute;
  right: -10px; top: -20px;
  opacity: 0.12;
  pointer-events: none;
}
.seo-hero h1 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.seo-hero-sub {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.92;
  margin-bottom: 20px;
}
.seo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.seo-badge {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* AdSense 래퍼 */
.seo-adsense-wrap {
  padding: 16px 20px;
  background: var(--c-bg2);
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}

/* 섹션 공통 */
.seo-features,
.seo-earthing,
.seo-regions,
.seo-safety {
  padding: 32px 20px;
  border-bottom: 1px solid var(--c-border);
}
.seo-features h2,
.seo-earthing h2,
.seo-regions h2,
.seo-safety h2 {
  font-size: 20px;
  font-weight: 900;
  color: var(--c-primary-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2.5px solid var(--c-border);
}

/* 기능 카드 그리드 */
.seo-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.seo-feature-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 2px 8px var(--c-shadow);
}
.seo-feature-icon { font-size: 28px; margin-bottom: 10px; }
.seo-feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 6px;
}
.seo-feature-card p {
  font-size: 13px;
  color: var(--c-text2);
  line-height: 1.6;
}

/* 어싱 효능 리스트 */
.seo-earthing-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.seo-earthing-list li {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text2);
}
.seo-earthing-list li strong { color: var(--c-primary-dark); }

/* 지역 현황 테이블 */
.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.seo-table th {
  background: var(--c-bg2);
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  color: var(--c-text);
  border-bottom: 2px solid var(--c-border);
}
.seo-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text2);
}
.seo-table tr:last-child td { border-bottom: none; }

/* 안전 주의사항 */
.seo-safety-list {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.seo-safety-list li {
  font-size: 14px;
  color: var(--c-text2);
  line-height: 1.7;
}

/* 푸터 */
.seo-footer {
  padding: 24px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--c-text3);
  border-top: 1.5px dashed var(--c-border);
  line-height: 1.8;
}
.seo-footer a {
  color: var(--c-primary);
  font-weight: bold;
  text-decoration: underline;
  margin: 0 4px;
}
