/* ============================================================
   주소모음 — 에디토리얼 / 매거진 (아이보리 + 잉크 + 명조 제목)
   따뜻한 종이 배경 · 세리프 헤드라인 · 절제된 포레스트 그린 · 얇은 괘선
   제목: Nanum Myeongjo(명조) / 본문: Pretendard(고딕)
   ============================================================ */
:root {
  --bg: #f7f4ec;          /* 따뜻한 아이보리 */
  --surface: #fffdf8;     /* 카드 (살짝 따뜻한 흰색) */
  --surface-2: #f0ebdf;   /* 옅은 영역 */
  --border: #e4ddcc;      /* 따뜻한 헤어라인 */
  --border-strong: #d6cdb8;
  --ink: #211e18;         /* 잉크 (제목·강조) */
  --text: #2c2820;        /* 본문 */
  --text-dim: #5d564a;    /* 보조 */
  --text-faint: #6b6453;  /* 흐림 */
  --accent: #2f6b4f;      /* 포레스트 그린 (절제) */
  --accent-dark: #224f3a;
  --accent-soft: #e7eee8; /* 옅은 그린 */
  --accent-line: #c7d8cc;
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1120px;
  --serif: "Nanum Myeongjo", "Noto Serif KR", Georgia, "Apple SD Gothic Neo", serif;
  --shadow-sm: 0 1px 2px rgba(40, 33, 20, 0.05);
  --shadow: 0 6px 22px -10px rgba(40, 33, 20, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, .logo, .stat b { font-family: var(--serif); }

/* ===== 헤더 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--ink);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; flex-shrink: 0; color: var(--ink); }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a {
  padding: 9px 14px; border-radius: var(--radius-sm); font-size: 0.95rem;
  color: var(--text-dim); font-weight: 600; transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.active { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.6rem; cursor: pointer; line-height: 1; }

/* ===== 히어로 ===== */
.hero { text-align: center; padding: 92px 28px 72px; border-bottom: 1px solid var(--border); }
.hero .eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 26px; padding-bottom: 12px; border-bottom: 1px solid var(--accent-line);
}
.hero h1 { font-size: 3.6rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.24; margin-bottom: 22px; color: var(--ink); }
.hero h1 span { color: var(--accent); font-style: italic; }
.hero p { font-family: var(--serif); color: var(--text-dim); font-size: 1.2rem; max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ===== 통계 ===== */
.stats { display: inline-flex; justify-content: center; gap: 0; margin-top: 44px; flex-wrap: wrap; }
.stat { text-align: center; padding: 0 36px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 38px; width: 1px; background: var(--border-strong); }
.stat b { display: block; font-size: 2.3rem; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.stat span { font-size: 0.82rem; color: var(--text-faint); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* ===== 검색 ===== */
.searchbar { max-width: 580px; margin: 38px auto 0; position: relative; }
.searchbar svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-faint); pointer-events: none; }
.searchbar input {
  width: 100%; padding: 16px 20px 16px 52px; font-size: 1.02rem;
  border-radius: var(--radius); border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--ink);
  outline: none; transition: border-color 0.18s; font-family: inherit;
}
.searchbar input::placeholder { color: var(--text-faint); }
.searchbar input:focus { border-color: var(--accent); }

/* ===== 섹션 ===== */
.section { padding: 60px 0; }
.section-title { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; color: var(--ink); }
.section-desc { color: var(--text-dim); margin-bottom: 30px; font-size: 1.02rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.section-head .section-desc { margin-bottom: 0; }
.more-link { flex-shrink: 0; font-family: var(--serif); font-size: 0.96rem; font-weight: 700; color: var(--accent); padding-bottom: 2px; border-bottom: 1.5px solid var(--accent); }
.more-link:hover { color: var(--accent-dark); }

/* ===== 카테고리 그리드 (홈) ===== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 0; border-top: 1px solid var(--border); }
.cat-card {
  display: block; background: transparent; padding: 26px 24px; position: relative;
  border-bottom: 1px solid var(--border); border-right: 1px solid var(--border);
  transition: background 0.18s ease;
}
.cat-card:hover { background: var(--surface); }
.cat-card .emoji {
  font-size: 1.4rem; width: 0; height: auto; margin-bottom: 12px; background: none;
}
.cat-card h3 { font-size: 1.2rem; margin-bottom: 6px; font-weight: 700; color: var(--ink); }
.cat-card p { color: var(--text-dim); font-size: 0.9rem; }
.cat-card .count { display: inline-block; margin-top: 14px; font-size: 0.78rem; font-weight: 700; color: var(--accent); letter-spacing: 0.03em; }
.cat-card .arrow { position: absolute; top: 26px; right: 22px; color: var(--text-faint); transition: color 0.18s, transform 0.18s; }
.cat-card:hover .arrow { color: var(--accent); transform: translateX(3px); }

/* ===== 링크 카드 그리드 ===== */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 14px; }
.link-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.link-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.link-card .lc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.link-card .lc-icon {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; letter-spacing: -0.03em;
  position: relative; overflow: hidden;
}
.link-card .lc-icon span { z-index: 0; }
.link-card .lc-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7px; background: #fff; z-index: 1; }
.link-card h3 { font-size: 1.06rem; font-weight: 700; color: var(--ink); }
.link-card p { color: var(--text-dim); font-size: 0.9rem; flex: 1; line-height: 1.55; }
.link-card .lc-url { color: var(--accent); font-size: 0.8rem; margin-top: 12px; font-weight: 600; word-break: break-all; }
.link-card .lc-url::after { content: " ↗"; color: var(--text-faint); }

.cat-block { margin-bottom: 50px; scroll-margin-top: 86px; }
.cat-block .section-title { font-size: 1.35rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* ===== 페이지 헤더 (카테고리) ===== */
.page-head { padding: 66px 0 14px; border-bottom: 1px solid var(--border); }
.breadcrumb { color: var(--text-faint); font-size: 0.86rem; margin-bottom: 18px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.breadcrumb a:hover { color: var(--accent); }
.page-head h1 { font-size: 2.7rem; letter-spacing: -0.01em; font-weight: 800; color: var(--ink); line-height: 1.22; }
.page-head p { color: var(--text-dim); margin-top: 16px; max-width: 720px; font-size: 1.1rem; line-height: 1.7; }

/* ===== 기타 카테고리 칩 ===== */
.also { padding: 26px 0 66px; }
.also h2 { font-size: 1.1rem; margin-bottom: 16px; color: var(--text-dim); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: var(--radius-sm); background: var(--surface);
  border: 1px solid var(--border); color: var(--text-dim); font-size: 0.9rem; font-weight: 600;
  transition: color 0.15s, border-color 0.15s;
}
.chip:hover { color: var(--accent); border-color: var(--accent); }

/* ===== 가이드/블로그 카드 ===== */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.guide-card {
  display: flex; flex-direction: column; gap: 10px; position: relative;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.guide-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.guide-badge { font-size: 0.72rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }
.guide-card h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.4; color: var(--ink); }
.guide-card p { color: var(--text-dim); font-size: 0.9rem; flex: 1; line-height: 1.55; }
.guide-rel { align-self: flex-start; margin-top: 4px; font-size: 0.78rem; color: var(--accent); background: var(--accent-soft); padding: 4px 11px; border-radius: var(--radius-sm); font-weight: 600; }

/* ===== 카테고리 안내 + FAQ ===== */
.cat-info p { color: var(--text); margin-bottom: 14px; max-width: 760px; font-size: 1.06rem; line-height: 1.85; }
.faq { display: flex; flex-direction: column; gap: 0; max-width: 760px; border-top: 1px solid var(--border); }
.faq details { background: transparent; border-bottom: 1px solid var(--border); padding: 4px 4px; }
.faq summary { cursor: pointer; font-family: var(--serif); font-weight: 700; font-size: 1.08rem; padding: 20px 0; list-style: none; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q. "; color: var(--accent); font-weight: 800; }
.faq p { padding: 0 0 20px; margin: 0; color: var(--text-dim); line-height: 1.8; }

/* ===== 가이드/블로그 본문 ===== */
.guide { padding: 60px 0 40px; }
.guide-inner { max-width: 720px; }
.guide h1 { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; margin: 10px 0 18px; color: var(--ink); }
.guide .lead { font-family: var(--serif); font-size: 1.22rem; color: var(--text-dim); margin-bottom: 30px; line-height: 1.7; }
.guide .post-meta { font-size: 0.86rem; color: var(--text-faint); font-weight: 600; margin: -10px 0 22px; letter-spacing: 0.04em; }
.guide h2 { font-size: 1.62rem; font-weight: 800; letter-spacing: -0.01em; margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); color: var(--ink); }
.guide p { margin-bottom: 16px; color: var(--text); line-height: 1.85; font-size: 1.08rem; }
.guide .steps { margin: 12px 0 26px; padding-left: 0; list-style: none; counter-reset: step; }
.guide .steps li {
  counter-increment: step; position: relative; padding: 16px 0 16px 48px; margin-bottom: 0;
  border-top: 1px solid var(--border); color: var(--text); line-height: 1.7; font-size: 1.05rem;
}
.guide .steps li::before {
  content: counter(step); position: absolute; left: 0; top: 14px;
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--accent);
  color: var(--accent); background: transparent; font-family: var(--serif);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 800;
}
.guide .tips { background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 30px 0; }
.guide .tips h3 { font-size: 1.08rem; margin-bottom: 12px; color: var(--accent-dark); }
.guide .tips ul, .guide .sources ul { padding-left: 20px; }
.guide .tips li { margin-bottom: 8px; color: var(--text); line-height: 1.7; }
.guide .sources { margin: 34px 0 10px; padding: 22px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.guide .sources h3 { font-size: 1.06rem; margin-bottom: 12px; color: var(--ink); }
.guide .sources li { margin-bottom: 9px; }
.guide .sources a { color: var(--accent); font-weight: 600; }
.guide .sources span { color: var(--text-faint); font-size: 0.82rem; margin-left: 6px; }
.guide .related-box {
  display: flex; flex-direction: column; gap: 5px; background: var(--accent-soft);
  border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin-bottom: 14px;
}
.guide .related-box span { font-size: 0.82rem; color: var(--text-dim); }
.guide .related-box strong { font-family: var(--serif); color: var(--accent-dark); font-size: 1.1rem; }
.guide .download-box {
  background: var(--accent-soft); border: 1px solid var(--border); border-top: 3px solid var(--accent);
  border-radius: var(--radius); padding: 22px 24px; margin: 22px 0 16px;
}
.guide .download-box h3 { font-family: var(--serif); color: var(--accent-dark); font-size: 1.15rem; margin: 0 0 14px; }
.guide .dl-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.guide .dl-btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: #fff; color: var(--accent-dark); border: 1px solid var(--accent);
  border-radius: var(--radius); padding: 11px 18px; font-weight: 600; font-size: 0.95rem;
  transition: background .15s, color .15s, transform .1s;
}
.guide .dl-btn:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.guide .dl-btn .dl-fmt {
  font-size: 0.72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  background: var(--accent); color: #fff; border-radius: 4px; padding: 2px 6px;
}
.guide .dl-btn:hover .dl-fmt { background: #fff; color: var(--accent-dark); }
.guide .dl-note { margin: 13px 0 0; font-size: 0.82rem; color: var(--text-dim); }
/* 무료 양식 다운로드 허브 */
.form-group-title { font-family: var(--serif); color: var(--accent-dark); font-size: 1.25rem; margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.forms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; }
.form-card h3 { font-family: var(--serif); font-size: 1.12rem; color: var(--accent-dark); margin: 0 0 6px; }
.form-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.55; margin: 0 0 14px; flex: 1; }
.form-card .dl-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.form-card .dl-btn { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; background: var(--accent-soft); color: var(--accent-dark); border: 1px solid var(--accent); border-radius: var(--radius); padding: 8px 13px; font-weight: 600; font-size: 0.88rem; transition: background .15s, color .15s; }
.form-card .dl-btn:hover { background: var(--accent); color: #fff; }
.form-card .dl-btn .dl-fmt { font-size: 0.66rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; background: var(--accent); color: #fff; border-radius: 3px; padding: 1px 5px; }
.form-card .dl-btn:hover .dl-fmt { background: #fff; color: var(--accent-dark); }
.form-card .form-more { text-decoration: none; color: var(--accent-dark); font-weight: 600; font-size: 0.88rem; margin-left: 2px; }
.form-card .form-more:hover { text-decoration: underline; }
.forms-note { margin-top: 30px; font-size: 0.84rem; color: var(--text-dim); border-top: 1px solid var(--border); padding-top: 16px; line-height: 1.6; }
/* 작성자 소개 박스 (E-E-A-T) */
.guide .author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--accent-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin: 30px 0 8px; }
.guide .author-avatar { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--serif); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.guide .author-name { font-family: var(--serif); font-weight: 700; color: var(--accent-dark); font-size: 1.02rem; margin-bottom: 4px; }
.guide .author-bio { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; margin: 0; }
/* 관련 글/가이드 내부 링크 (콘텐츠 허브) */
.guide .related-posts { margin: 34px 0 8px; padding: 22px 24px; background: var(--accent-soft); border: 1px solid var(--border); border-radius: var(--radius); }
.guide .related-posts .section-title { margin: 0 0 12px; font-size: 1.12rem; }
.guide .rel-list { list-style: none; margin: 0; padding: 0; }
.guide .rel-list li { padding: 9px 0; border-bottom: 1px dashed var(--border); }
.guide .rel-list li:last-child { border-bottom: none; }
.guide .rel-list a { text-decoration: none; color: var(--accent-dark); font-weight: 600; line-height: 1.5; }
.guide .rel-list a:hover { text-decoration: underline; }
.guide .rel-list li::before { content: "→ "; color: var(--accent); }
.guide .disclaimer { margin-top: 36px; font-size: 0.86rem; color: var(--text-faint); border-top: 1px solid var(--border); padding-top: 20px; line-height: 1.6; }

/* ===== 본문 이미지 · 인포그래픽 · 영상 ===== */
.post-hero { margin: 0 0 30px; }
.post-hero img, .post-hero svg.hero-banner { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border); }
.post-fig, .post-graphic { margin: 28px 0; }
.post-fig img, .post-graphic img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.post-graphic img { padding: 0; }
figure figcaption { margin-top: 10px; font-size: 0.84rem; color: var(--text-faint); text-align: center; line-height: 1.5; }
.video-embed { margin: 28px 0; }
.video-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border); }

/* ===== 추천 사이트 슬라이드 ===== */
.slide-wrap { margin: 30px 0; }
.slide-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 12px; }
.slide-head h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin: 0; }
.slide-hint { font-size: 0.78rem; color: var(--text-faint); white-space: nowrap; }
.slide-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; -webkit-overflow-scrolling: touch; }
.slide-track::-webkit-scrollbar { height: 8px; }
.slide-track::-webkit-scrollbar-track { background: transparent; }
.slide-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.slide-card { flex: 0 0 300px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.slide-img { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; border-bottom: 1px solid var(--border); }
.slide-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.slide-body { padding: 14px 16px; }
.slide-body h4 { font-family: var(--serif); font-size: 1.06rem; margin: 0 0 5px; color: var(--ink); }
.slide-body p { font-size: 0.86rem; color: var(--text-dim); margin: 0; line-height: 1.5; }
@media (max-width: 640px) { .slide-card { flex-basis: 80vw; } .slide-hint { display: none; } }

/* ===== HTML 사이트맵 페이지 ===== */
.sitemap-list { list-style: none; padding: 0; margin: 10px 0 0; columns: 2; column-gap: 40px; }
.sitemap-list li { margin: 0 0 10px; break-inside: avoid; line-height: 1.4; }
.sitemap-list a { color: var(--accent-dark); text-decoration: none; border-bottom: 1px solid transparent; }
.sitemap-list a:hover { border-bottom-color: var(--accent); }
@media (max-width: 640px) { .sitemap-list { columns: 1; } }

/* ===== 푸터 ===== */
.site-footer { margin-top: 0; padding: 60px 0; background: var(--ink); color: #cfc8b9; font-size: 0.9rem; }
.footer-cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; margin-bottom: 34px; }
.footer-cols .brand .logo { font-size: 1.35rem; margin-bottom: 12px; display: inline-block; color: #fff; }
.footer-cols .brand .logo span { color: var(--accent); }
.footer-cols .brand p { color: #a59d8c; font-size: 0.88rem; max-width: 290px; line-height: 1.7; }
.footer-col h4 { font-family: var(--serif); font-size: 0.98rem; color: #fff; margin-bottom: 14px; font-weight: 700; }
.footer-col a { display: block; color: #a59d8c; padding: 5px 0; font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; color: #8a8273; font-size: 0.84rem; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }

/* ===== 검색 도우미 ===== */
.hidden { display: none !important; }
.no-result { color: var(--text-dim); padding: 32px 0; text-align: center; }

/* ===== 반응형 ===== */
@media (max-width: 1040px) {
  .nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 2px; background: var(--bg);
    border-bottom: 1px solid var(--ink); padding: 12px;
    max-height: calc(100vh - 70px); overflow-y: auto; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 16px; }
  .nav-toggle { display: block; }
}
@media (max-width: 760px) {
  .hero { padding: 60px 22px 48px; }
  .hero h1 { font-size: 2.4rem; }
  .hero p { font-size: 1.08rem; }
  .stat { padding: 0 22px; }
  .page-head { padding: 46px 0 10px; }
  .page-head h1 { font-size: 2.05rem; }
  .guide h1 { font-size: 2rem; }
  .section { padding: 46px 0; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-cols .brand { grid-column: 1 / -1; }
}
