/* MyMexicoMove Batch 5 tools plus nav and footer polish, staged only.
   Scope: body.page-template-mmm-index for the tools index cards;
   header nav (.mmm-nav), footer (.mmm-foot), and the phone tab bar
   (.mmm-tabbar) are element scoped because the shell is the batch subject.
   Base system preserved: green #0B4A38, deep green #07382A, cream #FAF6EC,
   sheet #FFFDF7, line #E7DEC9, green #0B4A38, gold #F2C14E, Fraunces, Inter.
   Polish only: legibility, tap targets, one card language, motion.
   No navigation structure, labels, links, or footer copy change. */

/* Tools index: hero and cards */
body.page-template-mmm-index .mmm-hero h1 {
  letter-spacing: -0.015em;
  text-wrap: balance;
}
body.page-template-mmm-index .v2t-card {
  border: 1px solid #E7DEC9;
  border-radius: 16px;
  background: #FFFDF7;
  box-shadow: 0 8px 22px rgba(11, 74, 56, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
body.page-template-mmm-index .v2t-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11, 74, 56, 0.12);
  border-color: #DCCFA9;
}
body.page-template-mmm-index .v2t-q { line-height: 1.4; }
body.page-template-mmm-index .v2-btn {
  min-height: 52px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
body.page-template-mmm-index .v2-btn:hover { transform: translateY(-1px); }
body.page-template-mmm-index .mmm-tail-h { line-height: 1.25; letter-spacing: -0.01em; }
body.page-template-mmm-index .mmm-tail-intro { line-height: 1.65; }
body.page-template-mmm-index .mmm-tail-opt {
  border: 1px solid #E7DEC9;
  border-radius: 14px;
  background: #FFFDF7;
  transition: border-color 180ms ease, background-color 180ms ease;
}
body.page-template-mmm-index .mmm-tail-opt:hover { border-color: #DCCFA9; background: #F3EBD7; }
body.page-template-mmm-index .mmm-tail-opt-desc { line-height: 1.55; }

/* Nav shell: link clarity and tap comfort, same structure and labels */
.mmm-nav a { text-underline-offset: 5px; }
.mmm-nav a:hover { text-decoration: underline; text-decoration-color: #0B4A38; text-decoration-thickness: 2px; }
.mmm-nav .mmm-nav-cta, .mmm-nav a.wp-element-button {
  min-height: 48px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(7, 56, 42, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.mmm-nav .mmm-nav-cta:hover, .mmm-nav a.wp-element-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(7, 56, 42, 0.18);
  text-decoration: none;
}

/* Footer shell: reading rhythm on the deep green ground.
   Contrast held: cream on green 9.49 to 1, gold on deep green 7.78 to 1. */
footer.mmm-foot { line-height: 1.65; }
footer.mmm-foot a { text-underline-offset: 4px; }
footer.mmm-foot a:hover { text-decoration: underline; text-decoration-color: #F2C14E; text-decoration-thickness: 2px; }
footer.mmm-foot h2, footer.mmm-foot h3 { letter-spacing: -0.01em; line-height: 1.25; }

/* Phone tab bar: larger, steadier tap targets */
.mmm-tabbar a { min-height: 52px; font-weight: 600; }
.mmm-tabbar a:hover { background: #F3EBD7; }

@media (max-width: 900px) {
  body.page-template-mmm-index .v2t-card:hover { transform: none; }
  body.page-template-mmm-index .v2-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  body.page-template-mmm-index *, body.page-template-mmm-index *::before, body.page-template-mmm-index *::after,
  .mmm-nav *, footer.mmm-foot *, .mmm-tabbar * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  body.page-template-mmm-index .v2t-card:hover,
  body.page-template-mmm-index .v2-btn:hover,
  .mmm-nav .mmm-nav-cta:hover { transform: none; }
}
