:root {
  --mm-green: #2e7d32;
  --mm-green-dark: #1b5e20;
  --mm-amber: #f9a825;
  --mm-ink: #1f2328;
}

.main {
  max-width: 1100px;
}

.home-hero {
  text-align: center;
  padding: 2.5rem 1rem 3rem;
  background: linear-gradient(180deg, #f1f8e9 0%, transparent 100%);
  border-radius: 12px;
  margin-bottom: 2.5rem;
}

.home-hero img.hero-logo {
  max-width: 420px;
  width: 80%;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}

.home-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0.25rem 0 0.75rem;
  color: var(--mm-green-dark);
}

.home-hero .lede {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

a.cta {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: var(--mm-green);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

a.cta:hover {
  background: var(--mm-green-dark);
}

a.cta.secondary {
  background: #fff;
  color: var(--mm-green);
  border: 2px solid var(--mm-green);
}

a.cta.secondary:hover {
  background: #f1f8e9;
}

.home-section {
  margin: 0 auto 3rem;
  max-width: 860px;
}

.home-section h2 {
  color: var(--mm-green-dark);
  border-bottom: 2px solid var(--mm-amber);
  display: inline-block;
  padding-bottom: 0.25rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  background: #eee;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.character-grid article {
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
}

.brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.brands img {
  max-height: 64px;
  width: auto;
  filter: grayscale(0.1);
}

blockquote {
  border-left: 4px solid var(--mm-amber);
  padding-left: 1rem;
  margin: 1.25rem 0;
  font-style: italic;
}

blockquote footer {
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.75;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.social-links img {
  height: 34px;
  width: 34px;
}

.mm-card {
  max-width: 460px;
  margin: 2rem auto;
  padding: 1.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.mm-card h1 {
  margin-top: 0;
  text-align: center;
  color: var(--mm-green-dark);
}

.mm-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.mm-tabs button {
  flex: 1;
  padding: 0.55rem;
  border: 1px solid #cfcfcf;
  background: #f7f7f7;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.mm-tabs button.active {
  background: var(--mm-green);
  color: #fff;
  border-color: var(--mm-green);
}

.mm-card label {
  display: block;
  margin-bottom: 0.9rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.mm-card input,
.mm-card textarea {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.mm-card button[type="submit"] {
  width: 100%;
  padding: 0.7rem;
  border: none;
  border-radius: 8px;
  background: var(--mm-green);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.mm-card button[type="submit"]:hover {
  background: var(--mm-green-dark);
}

#mm-msg {
  margin-top: 1rem;
  text-align: center;
  min-height: 1.2em;
}

#mm-msg.error {
  color: #c62828;
}

#mm-msg.ok {
  color: var(--mm-green-dark);
}

.mm-hidden {
  display: none !important;
}

.contact-form p {
  margin-bottom: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  box-sizing: border-box;
}

.contact-form button {
  padding: 0.65rem 1.6rem;
  border: none;
  border-radius: 8px;
  background: var(--mm-green);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
