/* ===================================================================
   Magicoa Perú — Pattern G: Gallery / Visual-First
   Design signature: cocoa deep brown + reishi amber + cream + sage
   Class prefix: mg- (differentiated from last 3 projects)
   =================================================================== */

:root {
  --cocoa-900: #2b1810;
  --cocoa-800: #361e14;
  --cocoa-700: #4a2c1a;
  --cocoa-500: #6b4226;
  --cocoa-300: #a07a5a;
  --amber-600: #c8762a;
  --amber-500: #d98a3d;
  --amber-400: #e6a05a;
  --amber-300: #f0b870;
  --amber-100: #fbe8d0;
  --cream-100: #faf6f0;
  --cream-200: #f3e9da;
  --cream-300: #ecdcc4;
  --sage-500: #5e8564;
  --sage-400: #7a9e7e;
  --sage-200: #c9dcc6;
  --ink: #1a120b;
  --muted: #7a6a5a;
  --line: #e3d5c2;
  --white: #ffffff;

  --radius-card: 16px;
  --radius-pill: 999px;
  --radius-chip: 8px;

  --shadow-soft: 0 8px 32px rgba(43, 24, 16, 0.10);
  --shadow-lift: 0 18px 48px rgba(43, 24, 16, 0.18);
  --shadow-amber: 0 10px 28px rgba(217, 138, 61, 0.35);

  --maxw: 1200px;
  --maxw-read: 760px;

  --font-sans: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", "Iowan Old Style", serif;

  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream-100);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cocoa-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber-600); }
ul, ol { padding-left: 1.3em; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--cocoa-900); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { margin-bottom: 1em; }

/* ---------- Layout helpers ---------- */
.mg-wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mg-wrap-read { width: 100%; max-width: var(--maxw-read); margin: 0 auto; padding: 0 24px; }
.mg-section { padding: 72px 0; }
.mg-section-alt { background: var(--cream-200); }
.mg-section-dark { background: var(--cocoa-900); color: var(--cream-100); }
.mg-section-dark h2, .mg-section-dark h3 { color: var(--cream-100); }

/* ---------- Top nav (transparent overlay → solid on scroll) ---------- */
.mg-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(43, 24, 16, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--transition), padding var(--transition);
  border-bottom: 1px solid rgba(240, 184, 112, 0.15);
}
.mg-top.scrolled {
  background: var(--cocoa-900);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.mg-top .mg-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mg-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-weight: 700; font-size: 1.35rem; color: var(--cream-100); letter-spacing: 0.02em; }
.mg-brand-mark { width: 32px; height: 32px; flex-shrink: 0; }
.mg-nav-links { display: flex; align-items: center; gap: 26px; list-style: none; padding: 0; }
.mg-nav-links a { color: var(--cream-100); font-size: 0.95rem; font-weight: 500; opacity: 0.9; }
.mg-nav-links a:hover { color: var(--amber-300); opacity: 1; }
.mg-nav-cta { background: var(--amber-500); color: var(--cocoa-900) !important; padding: 10px 20px; border-radius: var(--radius-pill); font-weight: 700; box-shadow: var(--shadow-amber); }
.mg-nav-cta:hover { background: var(--amber-400); color: var(--cocoa-900) !important; transform: translateY(-1px); }
.mg-burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.mg-burger span { display: block; width: 26px; height: 2px; background: var(--cream-100); border-radius: 2px; transition: var(--transition); }

/* ---------- Hero (asymmetric full-bleed cocoa gradient) ---------- */
.mg-hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  background:
    radial-gradient(1200px 600px at 75% 20%, rgba(217, 138, 61, 0.28), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, rgba(122, 158, 126, 0.18), transparent 55%),
    linear-gradient(135deg, var(--cocoa-900) 0%, var(--cocoa-700) 55%, var(--cocoa-500) 100%);
  color: var(--cream-100);
  padding: 140px 0 90px;
  overflow: hidden;
}
.mg-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M0 40 Q20 20 40 40 T80 40' stroke='%23f0b870' stroke-opacity='0.04' fill='none' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}
.mg-hero .mg-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.mg-hero-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(240, 184, 112, 0.15); color: var(--amber-300); padding: 7px 16px; border-radius: var(--radius-pill); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid rgba(240, 184, 112, 0.3); margin-bottom: 24px; }
.mg-hero h1 { color: var(--cream-100); margin-bottom: 20px; }
.mg-hero h1 .accent { color: var(--amber-300); font-style: italic; }
.mg-hero-lead { font-size: 1.15rem; color: rgba(250, 246, 240, 0.85); margin-bottom: 32px; max-width: 540px; }
.mg-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 32px; }
.mg-action {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--amber-500); color: var(--cocoa-900);
  padding: 16px 32px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1.02rem;
  box-shadow: var(--shadow-amber);
  border: 2px solid var(--amber-500);
  transition: var(--transition);
}
.mg-action:hover { background: var(--amber-400); border-color: var(--amber-400); color: var(--cocoa-900); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.mg-action-outline { background: transparent; color: var(--cream-100); border: 2px solid rgba(250, 246, 240, 0.4); box-shadow: none; }
.mg-action-outline:hover { background: rgba(250, 246, 240, 0.1); color: var(--cream-100); border-color: var(--cream-100); transform: translateY(-2px); }
.mg-action-dark { background: var(--cocoa-900); color: var(--cream-100); border-color: var(--cocoa-900); box-shadow: var(--shadow-soft); }
.mg-action-dark:hover { background: var(--cocoa-700); color: var(--cream-100); border-color: var(--cocoa-700); }

/* hero product visual */
.mg-hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.mg-product-stage {
  position: relative; width: 100%; max-width: 460px; aspect-ratio: 4/5;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 35%, rgba(240, 184, 112, 0.35), transparent 65%),
    linear-gradient(160deg, rgba(74, 44, 26, 0.6), rgba(43, 24, 16, 0.85));
  border: 1px solid rgba(240, 184, 112, 0.25);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.mg-product-stage svg { width: 70%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4)); }
.mg-product-badge {
  position: absolute; top: 22px; right: -10px;
  background: var(--amber-500); color: var(--cocoa-900);
  font-weight: 700; font-size: 0.8rem;
  padding: 8px 18px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-amber); transform: rotate(6deg);
}
.mg-hero-mini { display: flex; gap: 28px; flex-wrap: wrap; }
.mg-hero-mini-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: rgba(250, 246, 240, 0.82); }
.mg-hero-mini-item svg { width: 22px; height: 22px; color: var(--amber-300); flex-shrink: 0; }

/* ---------- Trust strip ---------- */
.mg-trust { background: var(--cream-200); border-bottom: 1px solid var(--line); padding: 28px 0; }
.mg-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mg-trust-cell { display: flex; align-items: center; gap: 14px; }
.mg-trust-cell svg { width: 34px; height: 34px; color: var(--amber-600); flex-shrink: 0; }
.mg-trust-cell strong { display: block; font-size: 0.98rem; color: var(--cocoa-900); font-weight: 700; }
.mg-trust-cell span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Section heading ---------- */
.mg-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.mg-head.left { text-align: left; margin-left: 0; }
.mg-eyebrow { display: inline-block; color: var(--amber-600); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.mg-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Gallery (signature Pattern G element) ---------- */
.mg-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.mg-tile {
  position: relative; overflow: hidden; border-radius: var(--radius-card);
  background: var(--cocoa-700); min-height: 220px;
  display: flex; align-items: flex-end; padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.mg-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.mg-tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.mg-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(43, 24, 16, 0.92) 100%);
}
.mg-tile-body { position: relative; z-index: 2; color: var(--cream-100); }
.mg-tile-body h3 { color: var(--cream-100); margin-bottom: 6px; font-size: 1.15rem; }
.mg-tile-body p { font-size: 0.9rem; opacity: 0.85; margin: 0; }
.mg-tile-tag { display: inline-block; background: var(--amber-500); color: var(--cocoa-900); padding: 3px 10px; border-radius: var(--radius-chip); font-size: 0.72rem; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
/* tile sizes (masonry feel) */
.mg-tile.w6 { grid-column: span 6; }
.mg-tile.w4 { grid-column: span 4; }
.mg-tile.w3 { grid-column: span 3; }
.mg-tile.w8 { grid-column: span 8; min-height: 280px; }
.mg-tile.h-tall { min-height: 320px; }

/* ---------- Cards (image-first overlay cards) ---------- */
.mg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mg-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.mg-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.mg-card {
  background: var(--white); border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}
.mg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--amber-300); }
.mg-card-img { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--cocoa-500), var(--cocoa-700)); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mg-card-img svg { width: 56%; height: auto; opacity: 0.95; }
.mg-card-img.c-amber { background: linear-gradient(135deg, var(--amber-400), var(--amber-600)); }
.mg-card-img.c-sage { background: linear-gradient(135deg, var(--sage-400), var(--sage-500)); }
.mg-card-img.c-cream { background: linear-gradient(135deg, var(--cream-300), var(--cream-200)); }
.mg-card-chip { position: absolute; top: 14px; left: 14px; background: rgba(43, 24, 16, 0.85); color: var(--amber-300); padding: 5px 12px; border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.mg-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.mg-card-body h3 { color: var(--cocoa-900); margin-bottom: 10px; font-size: 1.2rem; }
.mg-card-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; flex: 1; }
.mg-card-link { color: var(--amber-600); font-weight: 700; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }
.mg-card-link:hover { color: var(--cocoa-700); }

/* ---------- Ingredient cards (color-coded) ---------- */
.mg-ing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mg-ing-card {
  border-radius: var(--radius-card); padding: 28px 22px;
  text-align: center; box-shadow: var(--shadow-soft);
  border-top: 5px solid; background: var(--white);
  transition: transform var(--transition);
}
.mg-ing-card:hover { transform: translateY(-4px); }
.mg-ing-card.ing-cocoa { border-color: var(--cocoa-500); }
.mg-ing-card.ing-reishi { border-color: var(--amber-500); }
.mg-ing-card.ing-inulin { border-color: var(--sage-400); }
.mg-ing-card.ing-malto { border-color: var(--cocoa-300); }
.mg-ing-ico { width: 56px; height: 56px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.mg-ing-card.ing-cocoa .mg-ing-ico { background: var(--cocoa-100, #e8d5c0); color: var(--cocoa-700); }
.mg-ing-card.ing-reishi .mg-ing-ico { background: var(--amber-100); color: var(--amber-600); }
.mg-ing-card.ing-inulin .mg-ing-ico { background: var(--sage-200); color: var(--sage-500); }
.mg-ing-card.ing-malto .mg-ing-ico { background: var(--cream-300); color: var(--cocoa-500); }
.mg-ing-ico svg { width: 30px; height: 30px; }
.mg-ing-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.mg-ing-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- How-to steps ---------- */
.mg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.mg-step { position: relative; padding: 28px 22px 24px; background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.mg-step-num { counter-increment: step; width: 44px; height: 44px; border-radius: 50%; background: var(--cocoa-900); color: var(--amber-300); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; }
.mg-step-num::before { content: counter(step); }
.mg-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.mg-step p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- Article / blog body ---------- */
.mg-article { font-size: 1.06rem; }
.mg-article h2 { margin: 48px 0 16px; }
.mg-article h3 { margin: 32px 0 12px; }
.mg-article p { margin-bottom: 1.2em; color: var(--ink); }
.mg-article ul, .mg-article ol { margin: 0 0 1.4em; }
.mg-article li { margin-bottom: 0.5em; }
.mg-article blockquote {
  border-left: 4px solid var(--amber-500);
  background: var(--cream-200);
  padding: 18px 24px; margin: 24px 0;
  border-radius: 0 var(--radius-chip) var(--radius-chip) 0;
  font-style: italic; color: var(--cocoa-700);
}
.mg-article img { border-radius: var(--radius-card); margin: 24px 0; box-shadow: var(--shadow-soft); }
.mg-article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.95rem; background: var(--white); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-soft); }
.mg-article th { background: var(--cocoa-900); color: var(--cream-100); padding: 14px 16px; text-align: left; font-weight: 700; }
.mg-article td { padding: 13px 16px; border-bottom: 1px solid var(--line); }
.mg-article tr:last-child td { border-bottom: 0; }
.mg-article tr:nth-child(even) td { background: var(--cream-100); }

/* ---------- TOC ---------- */
.mg-toc { background: var(--cream-200); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px 28px; margin: 32px 0; }
.mg-toc h2 { font-size: 1.05rem; margin-bottom: 14px; color: var(--cocoa-700); text-transform: uppercase; letter-spacing: 0.08em; }
.mg-toc ol { padding-left: 1.2em; margin: 0; }
.mg-toc li { margin-bottom: 6px; font-size: 0.95rem; }
.mg-toc a { color: var(--cocoa-700); }

/* ---------- FAQ (inline numbered Q&A — NOT accordion) ---------- */
.mg-qa { max-width: var(--maxw-read); margin: 0 auto; }
.mg-qa-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.mg-qa-item:last-child { border-bottom: 0; }
.mg-qa-q { display: flex; gap: 16px; align-items: baseline; margin-bottom: 10px; }
.mg-qa-num { font-family: var(--font-serif); font-weight: 700; color: var(--amber-600); font-size: 1.3rem; flex-shrink: 0; line-height: 1; }
.mg-qa-q h3 { font-size: 1.1rem; color: var(--cocoa-900); margin: 0; }
.mg-qa-a { padding-left: 36px; color: var(--ink); font-size: 0.98rem; }
.mg-qa-a p:last-child { margin-bottom: 0; }

/* ---------- Comparison table ---------- */
.mg-compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-soft); margin: 24px 0; }
.mg-compare th, .mg-compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.mg-compare th { background: var(--cocoa-900); color: var(--cream-100); font-weight: 700; }
.mg-compare th.highlight { background: var(--amber-600); }
.mg-compare td.highlight { background: var(--amber-100); }
.mg-compare tr:last-child td { border-bottom: 0; }
.mg-yes { color: var(--sage-500); font-weight: 700; }
.mg-no { color: var(--muted); }

/* ---------- Price / kit cards ---------- */
.mg-kits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.mg-kit {
  background: var(--white); border-radius: var(--radius-card); padding: 32px 28px;
  text-align: center; box-shadow: var(--shadow-soft); border: 2px solid var(--line);
  position: relative; display: flex; flex-direction: column;
}
.mg-kit.featured { border-color: var(--amber-500); box-shadow: var(--shadow-lift); transform: scale(1.02); }
.mg-kit-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--amber-500); color: var(--cocoa-900); padding: 6px 18px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; box-shadow: var(--shadow-amber); }
.mg-kit-title { font-family: var(--font-serif); font-size: 1.3rem; color: var(--cocoa-900); margin-bottom: 8px; }
.mg-kit-units { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.mg-kit-price { font-family: var(--font-serif); font-size: 2.4rem; color: var(--amber-600); font-weight: 700; margin-bottom: 4px; }
.mg-kit-old { color: var(--muted); text-decoration: line-through; font-size: 1rem; margin-bottom: 20px; }
.mg-kit-per { font-size: 0.82rem; color: var(--sage-500); font-weight: 600; margin-bottom: 24px; }
.mg-kit .mg-action { width: 100%; justify-content: center; }

/* ---------- Inline order form ---------- */
.mg-order { background: var(--cocoa-900); color: var(--cream-100); border-radius: var(--radius-card); padding: 40px; box-shadow: var(--shadow-lift); }
.mg-order h3 { color: var(--cream-100); margin-bottom: 8px; }
.mg-order p { color: rgba(250, 246, 240, 0.8); margin-bottom: 24px; }
.mg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mg-field { display: flex; flex-direction: column; gap: 6px; }
.mg-field.full { grid-column: span 2; }
.mg-field label { font-size: 0.85rem; color: var(--amber-300); font-weight: 600; }
.mg-field input, .mg-field select {
  padding: 13px 16px; border-radius: var(--radius-chip);
  border: 1px solid rgba(240, 184, 112, 0.3);
  background: rgba(250, 246, 240, 0.07); color: var(--cream-100);
  font-size: 1rem; font-family: inherit;
}
.mg-field input::placeholder { color: rgba(250, 246, 240, 0.4); }
.mg-field input:focus, .mg-field select:focus { outline: 0; border-color: var(--amber-400); background: rgba(250, 246, 240, 0.12); }
.mg-form .mg-action { grid-column: span 2; justify-content: center; width: 100%; margin-top: 8px; }
.mg-form-note { font-size: 0.78rem; color: rgba(250, 246, 240, 0.55); margin-top: 14px; text-align: center; }

/* ---------- CTA banner ---------- */
.mg-cta-banner {
  background:
    radial-gradient(800px 400px at 80% 30%, rgba(217, 138, 61, 0.25), transparent 60%),
    linear-gradient(135deg, var(--amber-600), var(--amber-400));
  border-radius: var(--radius-card); padding: 56px 48px;
  text-align: center; box-shadow: var(--shadow-lift);
}
.mg-cta-banner h2 { color: var(--cocoa-900); margin-bottom: 14px; }
.mg-cta-banner p { color: var(--cocoa-800); font-size: 1.08rem; margin-bottom: 28px; max-width: 620px; margin-left: auto; margin-right: auto; }
.mg-cta-banner .mg-action-dark { font-size: 1.1rem; padding: 18px 40px; }

/* ---------- Evidence notes ---------- */
.mg-evidence { background: var(--cream-200); border-left: 4px solid var(--sage-400); border-radius: 0 var(--radius-chip) var(--radius-chip) 0; padding: 22px 26px; margin: 32px 0; font-size: 0.92rem; }
.mg-evidence h4 { font-family: var(--font-sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage-500); margin-bottom: 10px; }
.mg-evidence ul { padding-left: 1.1em; margin: 0; }
.mg-evidence li { margin-bottom: 4px; color: var(--muted); }

/* ---------- Disclaimer (mandatory advertorial footnote) ---------- */
.mg-disclaimer { background: var(--cream-200); border: 1px dashed var(--cocoa-300); border-radius: var(--radius-chip); padding: 20px 24px; margin: 36px 0; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.mg-disclaimer p { margin-bottom: 8px; }
.mg-disclaimer p:last-child { margin-bottom: 0; }
.mg-disclaimer strong { color: var(--cocoa-700); }

/* ---------- Breadcrumbs ---------- */
.mg-crumbs { padding: 20px 0; font-size: 0.88rem; color: var(--muted); }
.mg-crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mg-crumbs li { display: flex; align-items: center; gap: 8px; }
.mg-crumbs li::after { content: "›"; color: var(--cocoa-300); }
.mg-crumbs li:last-child::after { display: none; }
.mg-crumbs a { color: var(--cocoa-700); }
.mg-crumbs li[aria-current] { color: var(--cocoa-900); font-weight: 600; }

/* ---------- Page header (inner pages) ---------- */
.mg-page-hero { background: linear-gradient(135deg, var(--cocoa-900), var(--cocoa-700)); color: var(--cream-100); padding: 120px 0 56px; position: relative; overflow: hidden; }
.mg-page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 20%, rgba(240, 184, 112, 0.18), transparent 50%); }
.mg-page-hero .mg-wrap { position: relative; z-index: 1; }
.mg-page-hero h1 { color: var(--cream-100); margin-bottom: 14px; max-width: 800px; }
.mg-page-hero p { color: rgba(250, 246, 240, 0.85); font-size: 1.1rem; max-width: 700px; }

/* ---------- Split layout (inner content + sidebar) ---------- */
.mg-split { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.mg-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.mg-aside-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px; box-shadow: var(--shadow-soft); }
.mg-aside-box h4 { font-family: var(--font-sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber-600); margin-bottom: 12px; }
.mg-aside-box ul { list-style: none; padding: 0; margin: 0; }
.mg-aside-box li { margin-bottom: 8px; font-size: 0.9rem; }
.mg-aside-box li a { color: var(--cocoa-700); }
.mg-aside-cta { background: var(--cocoa-900); color: var(--cream-100); text-align: center; }
.mg-aside-cta h4 { color: var(--amber-300); }
.mg-aside-cta p { font-size: 0.88rem; color: rgba(250, 246, 240, 0.8); margin-bottom: 16px; }
.mg-aside-cta .mg-action { width: 100%; justify-content: center; }

/* ---------- City/geo feature grid ---------- */
.mg-geo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mg-geo-pill { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 10px 16px; text-align: center; font-size: 0.9rem; color: var(--cocoa-700); transition: var(--transition); }
.mg-geo-pill:hover { background: var(--cocoa-900); color: var(--cream-100); border-color: var(--cocoa-900); }

/* ---------- Related links ---------- */
.mg-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.mg-related a { display: block; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); transition: var(--transition); }
.mg-related a:hover { border-color: var(--amber-300); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.mg-related span { display: block; color: var(--amber-600); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.mg-related strong { color: var(--cocoa-900); font-weight: 600; }

/* ---------- Footer ---------- */
.mg-foot { background: var(--cocoa-900); color: rgba(250, 246, 240, 0.7); padding: 56px 0 28px; margin-top: 0; }
.mg-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.mg-foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mg-foot-brand .mg-brand { color: var(--cream-100); padding: 0; }
.mg-foot p { font-size: 0.9rem; color: rgba(250, 246, 240, 0.6); max-width: 320px; }
.mg-foot h4 { font-family: var(--font-sans); color: var(--amber-300); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.mg-foot ul { list-style: none; padding: 0; }
.mg-foot li { margin-bottom: 9px; }
.mg-foot a { color: rgba(250, 246, 240, 0.75); font-size: 0.9rem; }
.mg-foot a:hover { color: var(--amber-300); }
.mg-foot-bottom { border-top: 1px solid rgba(240, 184, 112, 0.15); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 0.82rem; color: rgba(250, 246, 240, 0.5); }

/* ---------- Misc ---------- */
.mg-tag { display: inline-block; background: var(--amber-100); color: var(--amber-600); padding: 4px 12px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 700; }
.mg-lead { font-size: 1.15rem; color: var(--cocoa-700); }
.mg-callout { background: linear-gradient(135deg, var(--amber-100), var(--cream-200)); border-radius: var(--radius-card); padding: 28px 32px; margin: 28px 0; }
.mg-callout h3 { color: var(--cocoa-900); margin-bottom: 8px; }
.mg-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.mg-stat-num { font-family: var(--font-serif); font-size: 2.4rem; color: var(--amber-600); font-weight: 700; line-height: 1; margin-bottom: 6px; }
.mg-stat-label { font-size: 0.88rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .mg-section { padding: 52px 0; }
  .mg-nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--cocoa-900); flex-direction: column; padding: 20px 24px; gap: 16px; border-bottom: 1px solid rgba(240, 184, 112, 0.2); }
  .mg-nav-links.open { display: flex; }
  .mg-burger { display: flex; }
  .mg-hero { min-height: auto; padding: 120px 0 64px; }
  .mg-hero .mg-wrap { grid-template-columns: 1fr; gap: 36px; }
  .mg-hero-visual { order: -1; }
  .mg-product-stage { max-width: 320px; }
  .mg-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .mg-gallery { grid-template-columns: repeat(6, 1fr); }
  .mg-tile.w8, .mg-tile.w6 { grid-column: span 6; }
  .mg-tile.w4, .mg-tile.w3 { grid-column: span 3; }
  .mg-cards, .mg-cards.cols-4, .mg-ing, .mg-steps, .mg-kits, .mg-related, .mg-stat-row { grid-template-columns: repeat(2, 1fr); }
  .mg-split { grid-template-columns: 1fr; }
  .mg-aside { position: static; }
  .mg-geo-grid { grid-template-columns: repeat(3, 1fr); }
  .mg-foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .mg-form { grid-template-columns: 1fr; }
  .mg-field.full { grid-column: span 1; }
  .mg-form .mg-action { grid-column: span 1; }
  .mg-cta-banner { padding: 40px 24px; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .mg-wrap, .mg-wrap-read { padding: 0 18px; }
  .mg-section { padding: 44px 0; }
  .mg-gallery { grid-template-columns: 1fr; }
  .mg-tile.w8, .mg-tile.w6, .mg-tile.w4, .mg-tile.w3 { grid-column: span 1; }
  .mg-cards, .mg-cards.cols-2, .mg-cards.cols-4, .mg-ing, .mg-steps, .mg-kits, .mg-related, .mg-stat-row { grid-template-columns: 1fr; }
  .mg-trust-grid { grid-template-columns: 1fr; }
  .mg-geo-grid { grid-template-columns: repeat(2, 1fr); }
  .mg-order { padding: 28px 20px; }
  .mg-hero-actions { flex-direction: column; align-items: stretch; }
  .mg-hero-actions .mg-action { justify-content: center; }
  .mg-foot-bottom { flex-direction: column; text-align: center; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.4rem; }
}

/* ---------- Print ---------- */
@media print {
  .mg-top, .mg-action, .mg-order, .mg-cta-banner, .mg-aside, .mg-foot { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .mg-hero { background: none; color: #000; min-height: auto; padding: 20px 0; }
  .mg-hero h1, .mg-page-hero h1 { color: #000; }
  .mg-section { padding: 14px 0; }
  .mg-card, .mg-tile, .mg-ing-card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  a { color: #000; text-decoration: underline; }
  a::after { content: ""; }
}
