/* ===== WONDEW Magnets Division (2026-10-31) ===== */
:root {
  --mg-ink: #1b2733;
  --mg-ink-2: #232f3d;
  --mg-paper: #f6f8fa;
  --mg-text: #3a4653;
  --mg-accent: #c96a2c;
  --mg-accent-dark: #a9531c;
  --mg-line: #d8dee5;
  --mg-muted: #8494a3;
}
body { background: var(--mg-paper); }

/* return bar */
.mg-return { background: var(--mg-ink); color: #c3cfd9; font-size: 0.82rem; }
.mg-return-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 16px; flex-wrap: wrap; }
.mg-return a { color: #e8edf2; text-decoration: none; font-weight: 700; }
.mg-return a:hover { color: var(--mg-accent); }

/* header */
.mg-header { background: #ffffff; border-bottom: 1px solid var(--mg-line); }
.mg-header .brand .company { color: var(--mg-ink); letter-spacing: 0.08em; }
.mg-header .brand .tagline { color: var(--mg-muted); }
.mg-nav a { color: var(--mg-text); }
.mg-nav a:hover { color: var(--mg-accent); }
.mg-nav a.active { color: var(--mg-accent); border-bottom-color: var(--mg-accent); }
.mg-nav a.mg-quote {
  border: 1.5px solid var(--mg-accent); border-radius: 999px;
  padding: 4px 14px; color: var(--mg-accent); font-weight: 700;
}
.mg-nav a.mg-quote:hover { background: var(--mg-accent); color: #fff; }

/* breadcrumbs */
.mg-crumbs { background: #eef1f4; border-bottom: 1px solid var(--mg-line); font-size: 0.84rem; }
.mg-crumbs .container { padding: 9px 0; color: var(--mg-muted); }
.mg-crumbs a { color: var(--mg-text); text-decoration: none; }
.mg-crumbs a:hover { color: var(--mg-accent); }
.mg-crumbs strong { color: var(--mg-ink); font-weight: 700; }

/* hero */
.mg-hero { background: linear-gradient(135deg, var(--mg-ink) 0%, var(--mg-ink-2) 100%); color: #e8edf2; }
.mg-hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; padding: 64px 0; }
.mg-hero .mg-kicker { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: #9fb2c4; }
.mg-hero h1 { font-family: var(--serif); font-size: 2.3rem; line-height: 1.2; color: #fff; margin: 12px 0 16px; }
.mg-hero .lead { color: #c3cfd9; line-height: 1.75; font-size: 1rem; max-width: 52ch; }
.mg-hero-art svg { width: 100%; max-width: 400px; height: auto; display: block; margin: 0 auto; }
.mg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--mg-line); border: 1px solid var(--mg-line); border-radius: 14px; overflow: hidden; margin: -1px 0 0; }
.mg-stats .st { background: #fff; padding: 20px 18px; }
.mg-stats .st b { display: block; font-size: 1.35rem; color: var(--mg-ink); font-family: var(--serif); }
.mg-stats .st span { font-size: 0.8rem; color: var(--mg-muted); }

/* sections */
.mg-section { padding: 56px 0; }
.mg-section.alt { background: #fff; border-top: 1px solid var(--mg-line); border-bottom: 1px solid var(--mg-line); }
.mg-section h2 { font-family: var(--serif); font-size: 1.65rem; color: var(--mg-ink); margin-bottom: 8px; }
.mg-section .sec-lead { color: var(--mg-text); max-width: 68ch; margin-bottom: 30px; line-height: 1.75; }
.mg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.mg-cards .card { background: #fff; border: 1px solid var(--mg-line); border-radius: 14px; padding: 24px; }
.mg-section.alt .mg-cards .card { background: var(--mg-paper); }
.mg-cards .card h3 { font-size: 1.05rem; color: var(--mg-ink); margin-bottom: 8px; }
.mg-cards .card p { font-size: 0.9rem; color: var(--mg-text); line-height: 1.7; }
.mg-cards .card .spec { display: inline-block; margin-top: 12px; font-size: 0.78rem; font-weight: 700; color: var(--mg-accent-dark); background: rgba(201, 106, 44, 0.1); border-radius: 6px; padding: 3px 9px; }
.mg-cards a.card { text-decoration: none; display: block; transition: transform .2s, box-shadow .2s; }
.mg-cards a.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(27, 39, 51, 0.12); }
.mg-cards a.card .go { display: inline-block; margin-top: 12px; color: var(--mg-accent); font-weight: 700; font-size: 0.85rem; }

/* tables */
.mg-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: 0.88rem; }
.mg-table th { background: var(--mg-ink); color: #e8edf2; text-align: left; padding: 11px 14px; font-weight: 600; }
.mg-table td { padding: 10px 14px; border-bottom: 1px solid var(--mg-line); color: var(--mg-text); }
.mg-table tr:last-child td { border-bottom: none; }
.mg-table tr:nth-child(even) td { background: #f2f5f8; }
.mg-note { font-size: 0.8rem; color: var(--mg-muted); margin-top: 10px; }

/* CTA band */
.mg-cta { background: var(--mg-ink); color: #e8edf2; }
.mg-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 44px 0; flex-wrap: wrap; }
.mg-cta h2 { font-family: var(--serif); color: #fff; margin: 0 0 6px; }
.mg-cta p { color: #c3cfd9; margin: 0; }

/* forms */
.mg-form { max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mg-form label { font-size: 0.82rem; font-weight: 700; color: var(--mg-ink); display: block; margin-bottom: 5px; }
.mg-form .full { grid-column: 1 / -1; }
.mg-form input, .mg-form select, .mg-form textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--mg-line);
  border-radius: 10px; font-size: 0.92rem; font-family: inherit; background: #fff; color: var(--mg-text);
}
.mg-form input:focus, .mg-form select:focus, .mg-form textarea:focus { outline: none; border-color: var(--mg-accent); }
.mg-form .honey { position: absolute; left: -5000px; opacity: 0; }
.mg-consent { display: flex; gap: 9px; align-items: flex-start; font-size: 0.85rem; color: var(--mg-text); }
.mg-consent input { width: auto; margin-top: 3px; }
.mg-consent a { color: var(--mg-accent); }
.mg-msg { grid-column: 1 / -1; font-size: 0.9rem; padding: 12px 14px; border-radius: 10px; }
.mg-msg.ok { background: #e8f5ee; color: #2e7d4f; }
.mg-msg.err { background: #fdeeea; color: #b3401f; }

/* responsive */
@media (max-width: 900px) {
  .mg-hero-inner { grid-template-columns: 1fr; padding: 44px 0; }
  .mg-stats { grid-template-columns: 1fr 1fr; }
  .mg-form { grid-template-columns: 1fr; }
}

/* ---- name badge product grid (v2 addition) ---- */
.badge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.badge-card { margin: 0; background: #fff; border: 1px solid #e3e0d8; border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; }
.badge-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.badge-card figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.badge-card strong { color: var(--mg-ink, #1c2733); font-size: .95rem; letter-spacing: .04em; }
.badge-card span { color: #55606c; font-size: .84rem; line-height: 1.5; }
.mg-band-photo { width: 230px; height: 230px; object-fit: cover; border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0,0,0,.45); border: 4px solid rgba(255,255,255,.14); background: #fff; }
@media (max-width: 900px) { .badge-grid { grid-template-columns: repeat(2, 1fr); } .mg-band-photo { width: 170px; height: 170px; } }
@media (max-width: 560px) { .badge-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .mg-band-photo { width: 132px; height: 132px; } }
