/*
Theme Name: PP Memphis 孟菲斯
Theme URI: https://example.com/pp-memphis
Author: PP Theme Studio
Author URI: https://example.com
Description: 面向 PP 酸洗槽厂家的孟菲斯设计风 WordPress 主题。奶白底上散落波点、三角与波浪线,青粉黄紫四色撞色、之字分隔线与贴纸圆徽,把八十年代设计运动的俏皮混进工业品官网——严肃的槽,不严肃的网站,适合想让采购眼前一亮的年轻团队。
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pp-memphis
Tags: light, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --cream: #fdf6ee;
  --ink: #241e30;
  --teal: #00b3a4;
  --pink: #ff5d8f;
  --yellow: #ffc700;
  --purple: #7b5ea7;
  --gray: #6f6880;
  --line: #e6ddd0;
  --bw: 2.5px;
  --container: 1140px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ===== Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background:
    radial-gradient(circle at 10px 10px, rgba(0, 179, 164, 0.12) 3px, transparent 3.6px),
    radial-gradient(circle at 46px 40px, rgba(255, 93, 143, 0.1) 2.6px, transparent 3.2px),
    var(--cream);
  background-size: 72px 72px, 72px 72px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--pink); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.28; font-weight: 900; }
table { border-collapse: collapse; width: 100%; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
::selection { background: var(--yellow); }

/* 之字分隔 */
.zigzag {
  height: 14px;
  background:
    linear-gradient(135deg, var(--teal) 25%, transparent 25%) 0 0 / 14px 14px,
    linear-gradient(225deg, var(--teal) 25%, transparent 25%) 0 0 / 14px 14px;
}

/* 高亮块 */
.hl { display: inline-block; padding: 0 12px; border-radius: 6px; }
.hl-teal { background: var(--teal); color: #fff; }
.hl-pink { background: var(--pink); color: #fff; }
.hl-yellow { background: var(--yellow); }
.hl-purple { background: var(--purple); color: #fff; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: 1px;
  cursor: pointer;
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  transition: all 0.18s ease;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn-pop { background: var(--yellow); }
.btn-pop:hover { background: #ffd633; color: var(--ink); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { color: #fff; }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { color: #fff; }

/* ===== Header ===== */
.site-header {
  background: rgba(253, 246, 238, 0.95);
  backdrop-filter: blur(5px);
  border-bottom: var(--bw) solid var(--ink);
  position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding .custom-logo { max-height: 46px; width: auto; }
.brand-mark {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  background: var(--teal);
  border: var(--bw) solid var(--ink);
  color: #fff;
  font-weight: 900; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: -7px; top: -7px;
  width: 14px; height: 14px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.site-title { font-size: 21px; font-weight: 900; letter-spacing: 1px; }
.site-title a { color: var(--ink); }
.site-desc { font-size: 12px; font-weight: 700; color: var(--gray); }

.nav-toggle-input { display: none; }
.nav-toggle-label {
  display: none;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
  padding: 11px;
  border: var(--bw) solid var(--ink);
  border-radius: 12px;
  background: var(--yellow);
}
.nav-toggle-label span { display: block; height: 2.5px; background: var(--ink); border-radius: 3px; }

.site-nav ul { display: flex; gap: 6px; }
.site-nav li { position: relative; }
.site-nav a {
  display: block;
  padding: 9px 16px;
  margin: 17px 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  border: var(--bw) solid transparent;
}
.site-nav li:nth-child(4n+1) a:hover { background: var(--teal); color: #fff; border-color: var(--ink); }
.site-nav li:nth-child(4n+2) a:hover { background: var(--pink); color: #fff; border-color: var(--ink); }
.site-nav li:nth-child(4n+3) a:hover { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.site-nav li:nth-child(4n) a:hover { background: var(--purple); color: #fff; border-color: var(--ink); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { background: var(--ink); color: #fff; }
.site-nav .sub-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 200px;
  background: #fff;
  border: var(--bw) solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  display: none;
  z-index: 99;
}
.site-nav li:hover > .sub-menu { display: block; }
.site-nav .sub-menu a { margin: 0; padding: 11px 16px; border-radius: 0; border-bottom: 1.5px dashed var(--line); font-size: 14px; }
.site-nav .sub-menu li:last-child a { border-bottom: none; }

/* ===== Hero ===== */
.hero { position: relative; padding: 86px 0 70px; overflow: hidden; }
.shape { position: absolute; pointer-events: none; }
.shape-ring { width: 130px; height: 130px; border: 12px solid var(--teal); border-radius: 50%; top: 60px; right: 6%; transform: rotate(12deg); opacity: 0.85; }
.shape-tri {
  width: 0; height: 0;
  border-left: 44px solid transparent;
  border-right: 44px solid transparent;
  border-bottom: 76px solid var(--yellow);
  bottom: 40px; right: 16%;
  transform: rotate(-14deg);
  opacity: 0.9;
}
.shape-half { width: 110px; height: 55px; background: var(--pink); border-radius: 110px 110px 0 0; left: 4%; bottom: 26px; transform: rotate(-8deg); opacity: 0.85; }
.shape-zig {
  left: 8%; top: 60px;
  width: 120px; height: 14px;
  background:
    linear-gradient(135deg, var(--purple) 25%, transparent 25%) 0 0 / 14px 14px,
    linear-gradient(225deg, var(--purple) 25%, transparent 25%) 0 0 / 14px 14px;
  transform: rotate(-16deg);
}
.hero-inner { position: relative; max-width: 780px; }
.hero-badge {
  display: inline-block;
  background: #fff;
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  padding: 7px 20px;
  font-size: 13.5px;
  font-weight: 900;
  transform: rotate(-2deg);
  margin-bottom: 24px;
}
.hero h1 { font-size: 50px; line-height: 1.25; margin-bottom: 20px; }
.hero-sub { font-size: 16.5px; color: var(--gray); font-weight: 600; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Sections ===== */
.section { padding: 78px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.sec-tag {
  display: inline-block;
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 5px 18px;
  transform: rotate(2deg);
  margin-bottom: 16px;
}
.section-head h2 { font-size: 36px; margin-bottom: 10px; }
.section-head p { color: var(--gray); font-weight: 600; font-size: 15px; }

/* ===== Products ===== */
.pm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pm-card {
  background: #fff;
  border: var(--bw) solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease;
  position: relative;
}
.pm-card:hover { transform: translateY(-6px) rotate(-0.6deg); }
.pm-wave { height: 16px; border-bottom: var(--bw) solid var(--ink); }
.pm-card:nth-child(4n+1) .pm-wave { background: radial-gradient(circle at 8px -4px, transparent 9px, var(--teal) 9.5px) 0 0 / 16px 16px; }
.pm-card:nth-child(4n+2) .pm-wave { background: radial-gradient(circle at 8px -4px, transparent 9px, var(--pink) 9.5px) 0 0 / 16px 16px; }
.pm-card:nth-child(4n+3) .pm-wave { background: radial-gradient(circle at 8px -4px, transparent 9px, var(--yellow) 9.5px) 0 0 / 16px 16px; }
.pm-card:nth-child(4n) .pm-wave { background: radial-gradient(circle at 8px -4px, transparent 9px, var(--purple) 9.5px) 0 0 / 16px 16px; }
.pm-dot {
  position: absolute;
  top: 26px; right: 18px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: var(--bw) solid var(--ink);
}
.pm-card:nth-child(4n+1) .pm-dot { background: var(--pink); }
.pm-card:nth-child(4n+2) .pm-dot { background: var(--yellow); }
.pm-card:nth-child(4n+3) .pm-dot { background: var(--purple); }
.pm-card:nth-child(4n) .pm-dot { background: var(--teal); }
.pm-body { padding: 24px 24px 22px; flex: 1; display: flex; flex-direction: column; }
.pm-body svg { width: 100%; max-width: 200px; height: auto; margin: 0 auto 14px; }
.pm-body h3 { font-size: 19px; margin-bottom: 6px; }
.pm-body h3 a { color: var(--ink); }
.pm-body p { font-size: 13.5px; color: var(--gray); font-weight: 600; flex: 1; }
.pm-more { margin-top: 14px; font-size: 14px; font-weight: 900; }

/* ===== 贴纸圆徽 ===== */
.badge-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; max-width: 940px; margin: 0 auto; }
.badge { text-align: center; }
.badge-circle {
  width: 104px; height: 104px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: var(--bw) solid var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 900;
  transition: transform 0.2s ease;
}
.badge:hover .badge-circle { transform: rotate(-8deg) scale(1.06); }
.badge:nth-child(1) .badge-circle { background: var(--teal); color: #fff; }
.badge:nth-child(2) .badge-circle { background: var(--pink); color: #fff; }
.badge:nth-child(3) .badge-circle { background: var(--yellow); }
.badge:nth-child(4) .badge-circle { background: var(--purple); color: #fff; }
.badge-circle b { font-size: 24px; }
.badge-circle small { font-size: 10.5px; letter-spacing: 1px; }
.badge h3 { font-size: 17px; margin-bottom: 4px; }
.badge p { font-size: 13px; color: var(--gray); font-weight: 600; }

/* ===== 斜排步骤 ===== */
.steps { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.step {
  background: #fff;
  border: var(--bw) solid var(--ink);
  border-radius: 14px;
  padding: 20px 26px;
  min-width: 190px;
  text-align: center;
}
.step:nth-child(odd) { transform: rotate(-2deg); }
.step:nth-child(even) { transform: rotate(2deg); }
.step b {
  display: inline-block;
  width: 34px; height: 34px;
  line-height: 30px;
  border-radius: 50%;
  border: var(--bw) solid var(--ink);
  font-size: 16px;
  margin-bottom: 8px;
}
.step:nth-child(4n+1) b { background: var(--yellow); }
.step:nth-child(4n+2) b { background: var(--teal); color: #fff; }
.step:nth-child(4n+3) b { background: var(--pink); color: #fff; }
.step:nth-child(4n) b { background: var(--purple); color: #fff; }
.step h3 { font-size: 17px; margin-bottom: 2px; }
.step p { font-size: 12.5px; color: var(--gray); font-weight: 600; }

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: #fff;
  border: var(--bw) solid var(--ink);
  border-radius: 18px;
  padding: 24px;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease;
}
.news-card:hover { transform: translateY(-5px) rotate(0.6deg); }
.news-date {
  align-self: flex-start;
  font-size: 12.5px; font-weight: 900;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 3px 13px;
  background: var(--yellow);
  transform: rotate(-2deg);
}
.news-card h3 { font-size: 17.5px; margin: 13px 0 8px; line-height: 1.45; }
.news-card h3 a { color: var(--ink); }
.news-card p { font-size: 13.5px; color: var(--gray); font-weight: 600; flex: 1; }
.news-more { margin-top: 13px; font-size: 14px; font-weight: 900; color: var(--pink); }

/* ===== CTA ===== */
.cta-mem {
  background: var(--pink);
  border: var(--bw) solid var(--ink);
  border-radius: 24px;
  color: #fff;
  text-align: center;
  padding: 56px 50px;
  position: relative;
  overflow: hidden;
}
.cta-mem::before {
  content: "";
  position: absolute; left: -30px; top: -30px;
  width: 110px; height: 110px;
  border: 10px solid var(--yellow);
  border-radius: 50%;
}
.cta-mem::after {
  content: "";
  position: absolute; right: -20px; bottom: -34px;
  width: 0; height: 0;
  border-left: 54px solid transparent;
  border-right: 54px solid transparent;
  border-bottom: 92px solid var(--teal);
  transform: rotate(24deg);
}
.cta-mem h2 { color: #fff; font-size: 32px; margin-bottom: 8px; position: relative; z-index: 1; }
.cta-mem p { font-weight: 700; margin-bottom: 26px; position: relative; z-index: 1; }
.cta-mem .cta-phone { display: block; font-size: 26px; font-weight: 900; letter-spacing: 1px; margin-bottom: 24px; position: relative; z-index: 1; }
.cta-mem .btn { position: relative; z-index: 1; }

/* ===== Footer ===== */
.site-footer { border-top: var(--bw) solid var(--ink); background: var(--ink); color: #c9c2d8; font-size: 14px; margin-top: 78px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 54px 0 42px; }
.footer-col h3 { color: var(--yellow); font-size: 15px; font-weight: 900; letter-spacing: 1px; margin-bottom: 18px; }
.footer-col:nth-child(2) h3 { color: var(--teal); }
.footer-col:nth-child(3) h3 { color: var(--pink); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #c9c2d8; font-weight: 600; }
.footer-col a:hover { color: #fff; }
.footer-col p { margin-bottom: 10px; font-weight: 600; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand strong { color: #fff; font-size: 18px; font-weight: 900; }
.footer-contact li b { color: #fff; margin-right: 8px; }
.footer-bottom { border-top: 1px solid rgba(201, 194, 216, 0.25); padding: 15px 0; font-size: 12.5px; font-weight: 700; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ===== Inner pages ===== */
.page-hero { border-bottom: var(--bw) solid var(--ink); padding: 52px 0; background: #fff; position: relative; overflow: hidden; }
.page-hero::after {
  content: "";
  position: absolute; right: 5%; top: 50%;
  width: 90px; height: 90px;
  border: 9px solid var(--teal);
  border-radius: 50%;
  transform: translateY(-50%) rotate(10deg);
  opacity: 0.5;
}
.page-hero h1 { font-size: 33px; }
.breadcrumbs { margin-top: 8px; font-size: 13px; font-weight: 800; color: var(--gray); }
.breadcrumbs a { color: var(--pink); }

.layout { display: grid; grid-template-columns: 1fr 300px; gap: 42px; padding: 56px 0; }
.layout-full { padding: 56px 0; }
.main-col { min-width: 0; }

.entry-card {
  background: #fff;
  border: var(--bw) solid var(--ink);
  border-radius: 18px;
  padding: 26px 28px;
  margin-bottom: 24px;
  transition: transform 0.18s ease;
}
.entry-card:hover { transform: translateY(-4px) rotate(-0.4deg); }
.entry-card h2 { font-size: 21px; margin-bottom: 8px; }
.entry-card h2 a { color: var(--ink); }
.entry-card h2 a:hover { color: var(--pink); }
.entry-meta { font-size: 12.5px; font-weight: 800; color: var(--gray); margin-bottom: 10px; }
.entry-meta span { margin-right: 16px; }
.entry-excerpt { color: var(--gray); font-weight: 600; font-size: 14.5px; }
.entry-thumb { margin-bottom: 16px; border: var(--bw) solid var(--ink); border-radius: 12px; overflow: hidden; }

.entry-content { font-size: 16px; }
.entry-content h2, .entry-content h3 { margin: 1.6em 0 0.7em; }
.entry-content h2 { font-size: 25px; }
.entry-content h2 mark { background: var(--yellow); padding: 0 8px; border-radius: 6px; }
.entry-content h3 { font-size: 20px; }
.entry-content p { margin-bottom: 1.1em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.6em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content blockquote {
  border: var(--bw) solid var(--ink);
  border-radius: 14px;
  background: rgba(123, 94, 167, 0.1);
  padding: 16px 22px;
  margin: 1.4em 0;
  font-weight: 700;
}
.entry-content table th, .entry-content table td { border: 2px solid var(--ink); padding: 10px 14px; background: #fff; }
.entry-content table th { background: var(--teal); color: #fff; }
.entry-content a { color: var(--pink); text-decoration: underline; font-weight: 700; }
.entry-content img { border: var(--bw) solid var(--ink); border-radius: 12px; }
.single-header { margin-bottom: 26px; padding-bottom: 18px; border-bottom: var(--bw) solid var(--ink); }
.single-header h1 { font-size: 28px; margin-bottom: 8px; }
.post-nav { display: flex; justify-content: space-between; gap: 18px; margin-top: 38px; padding-top: 20px; border-top: 2px dashed var(--line); font-size: 14px; font-weight: 800; }

/* Sidebar */
.sidebar .widget { background: #fff; border: var(--bw) solid var(--ink); border-radius: 18px; padding: 24px; margin-bottom: 26px; }
.sidebar .widget-title, .sidebar .widget h2 {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 900;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  padding: 4px 16px;
  transform: rotate(-2deg);
  margin-bottom: 16px;
}
.sidebar .widget ul li { padding: 8px 0; border-bottom: 2px dashed var(--line); font-size: 14px; font-weight: 600; }
.sidebar .widget ul li:last-child { border-bottom: none; }
.sidebar-cta {
  background: var(--purple);
  border: var(--bw) solid var(--ink);
  border-radius: 18px;
  color: #fff;
  padding: 26px 24px;
  margin-bottom: 26px;
  text-align: center;
}
.sidebar-cta h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.sidebar-cta p { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.sidebar-cta strong { display: block; font-size: 21px; font-weight: 900; margin-bottom: 16px; }

/* Search form */
.search-form { display: flex; border: var(--bw) solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; }
.search-form .search-field { flex: 1; min-width: 0; padding: 11px 18px; border: none; outline: none; background: transparent; font-weight: 600; }
.search-form .search-submit {
  margin: 4px;
  padding: 7px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-weight: 900;
  cursor: pointer;
}
.search-form .search-submit:hover { background: var(--pink); color: #fff; }

/* Pagination */
.pagination { display: flex; gap: 9px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-block;
  min-width: 42px;
  padding: 8px 13px;
  text-align: center;
  background: #fff;
  border: var(--bw) solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  font-weight: 900;
  font-size: 13.5px;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--ink); color: var(--yellow); }

/* Comments */
.comments-area { margin-top: 44px; }
.comments-area > h2 { font-size: 21px; margin-bottom: 20px; }
.comment-list > li { background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.comment-list .children { margin: 12px 0 0 22px; }
.comment-meta { font-size: 12.5px; font-weight: 800; color: var(--gray); margin-bottom: 6px; }
.comment-meta b { color: var(--purple); }
.comment-form p { margin-bottom: 13px; }
.comment-form label { display: block; font-size: 13.5px; font-weight: 900; margin-bottom: 5px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%;
  padding: 11px 15px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  outline: none;
  font-weight: 600;
}
.comment-form input:focus, .comment-form textarea:focus { background: #fffbea; }

/* 404 */
.error-page { text-align: center; padding: 92px 20px; }
.error-code {
  display: inline-block;
  font-size: 96px; font-weight: 900; line-height: 1;
  background: var(--yellow);
  border: var(--bw) solid var(--ink);
  border-radius: 24px;
  padding: 14px 40px;
  transform: rotate(-3deg);
}
.error-page h1 { font-size: 27px; margin: 26px 0 10px; }
.error-page p { color: var(--gray); font-weight: 600; margin-bottom: 28px; }
.error-page .search-form { max-width: 420px; margin: 0 auto 26px; }

/* WP core */
.alignleft { float: left; margin: 0 22px 14px 0; }
.alignright { float: right; margin: 0 0 14px 22px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12.5px; color: var(--gray); font-weight: 700; text-align: center; padding: 7px 0; }
.sticky { outline: 3px dashed var(--pink); outline-offset: 4px; }
.bypostauthor { display: block; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .pm-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-row { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: 1fr; }
  .shape-ring, .shape-zig { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle-label { display: flex; }
  .header-cta { display: none; }
  .site-nav {
    position: absolute; top: 100%; left: 12px; right: 12px;
    background: #fff;
    border: var(--bw) solid var(--ink);
    border-radius: 18px;
    padding: 10px;
    display: none;
  }
  .nav-toggle-input:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { margin: 0; }
  .site-nav .sub-menu { position: static; display: block; border: none; }
  .hero { padding: 58px 0 50px; }
  .hero h1 { font-size: 35px; }
  .cta-mem { padding: 40px 26px; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero h1 { font-size: 28px; }
  .section-head h2 { font-size: 27px; }
  .pm-grid, .news-grid, .badge-row { grid-template-columns: 1fr; }
  .step, .step:nth-child(odd), .step:nth-child(even) { transform: none; width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
}
