:root {
  --mch-i-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.75-.86-2.02-.96-.27-.1-.47-.15-.67.15-.2.3-.77.96-.94 1.16-.17.2-.35.22-.64.07-.3-.15-1.25-.46-2.38-1.47-.88-.79-1.47-1.76-1.65-2.06-.17-.3-.02-.46.13-.6.13-.14.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.03-.52-.07-.15-.67-1.61-.92-2.2-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48 0 1.46 1.07 2.88 1.21 3.07.15.2 2.1 3.2 5.08 4.49.71.3 1.26.49 1.7.63.71.22 1.36.19 1.87.12.57-.09 1.75-.72 2-1.41.25-.69.25-1.29.17-1.41-.07-.12-.27-.2-.57-.35zM12.04 21.5h-.01a9.43 9.43 0 0 1-4.81-1.32l-.34-.2-3.58.94.96-3.49-.23-.36a9.43 9.43 0 0 1-1.45-5.03c0-5.21 4.24-9.45 9.46-9.45 2.53 0 4.9.99 6.69 2.78a9.4 9.4 0 0 1 2.77 6.69c0 5.21-4.25 9.45-9.46 9.45zm8.05-17.5A11.32 11.32 0 0 0 12.04.66C5.77.66.66 5.77.66 12.04c0 2 .52 3.96 1.52 5.69L.57 23.6l6.02-1.58a11.36 11.36 0 0 0 5.44 1.39h.01c6.27 0 11.38-5.11 11.38-11.38 0-3.04-1.18-5.9-3.33-8.04z'/%3E%3C/svg%3E");
  --mch-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --mch-i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.8-7 9-4-1.2-7-4.5-7-9V6l7-3z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E");
  --mch-i-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h11v10H2zM13 9h4l4 4v3h-8'/%3E%3Ccircle cx='6' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E");
  --mch-i-people: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.6-3.6 3.2-5.5 6.5-5.5s5.9 1.9 6.5 5.5'/%3E%3Ccircle cx='17' cy='9' r='2.6'/%3E%3Cpath d='M16.5 14.6c2.6.2 4.4 1.9 5 4.9'/%3E%3C/svg%3E");
  --mch-i-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 9.5V20h14V9.5'/%3E%3Cpath d='M12 17.5s-3-1.8-3-3.8a1.6 1.6 0 0 1 3-.8 1.6 1.6 0 0 1 3 .8c0 2-3 3.8-3 3.8z'/%3E%3C/svg%3E");
  --mch-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
  --mch-i-award: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.5 14l-1.5 7 5-2.5 5 2.5-1.5-7'/%3E%3C/svg%3E");
  --mch-i-chev-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E");
  --mch-i-chev-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
}

/* ===================== Inicio (mod_mchome) ===================== */
.mch { --g: var(--cd-green, #8a9a1c); --g7: var(--cd-green-700, #6f7d14); --g9: var(--cd-green-900, #4f5a0d); --lime: var(--cd-lime, #b9cc3a); --lime2: var(--cd-lime-200, #e7edc0);
  --ink: var(--cd-ink, #23271d); --text: var(--cd-text, #4b5045); --muted: var(--cd-muted, #80857a); --line: var(--cd-line, #e5e3da);
  --serif: var(--cd-serif, "Merriweather", Georgia, serif); --sans: var(--cd-sans, "Inter", Arial, sans-serif);
  font-family: var(--sans); color: var(--text); box-sizing: border-box; }
.mch *, .mch *::before, .mch *::after { box-sizing: border-box; }
.mch ul { list-style: none; margin: 0; padding: 0; }
.mch li { margin: 0; }
.mch a { text-decoration: none !important; }
.mch-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.mch-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--lime); flex: 0 0 auto; }
.mch-eyebrow-soft { letter-spacing: .02em; text-transform: none; font-weight: 500; font-size: 13px; color: var(--muted); }
.mch-h2 { font-family: var(--serif) !important; font-weight: 700 !important; font-size: clamp(26px, 2.6vw, 34px) !important; line-height: 1.22 !important; color: var(--ink) !important; margin: 0 0 14px !important; letter-spacing: 0 !important; text-transform: none !important; }
.mch-h2 span { color: var(--g7); }
.mch-text { margin: 0 0 24px; font-size: 15px; line-height: 1.7; color: var(--text); }
.mch-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2; transition: background-color .2s, transform .2s; white-space: nowrap; }
.mch-btn:hover { transform: translateY(-1px); }
.mch-btn-dark { background: var(--g9); color: #fff !important; }
.mch-btn-dark:hover { background: var(--ink); }
.mch-arrow, .mch-wa { display: inline-block; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--mch-m) no-repeat center / contain; mask: var(--mch-m) no-repeat center / contain; }
.mch-arrow { --mch-m: var(--mch-i-arrow); } .mch-wa { --mch-m: var(--mch-i-wa); }

/* Tarjetas de categorías */
.mch-cats { display: grid; grid-template-columns: repeat(var(--mch-cols, 4), minmax(0, 1fr)); gap: 22px; padding: 6px 0; }
.mch-cat { position: relative; display: block; overflow: hidden; aspect-ratio: 9 / 10; min-height: 220px; border-radius: 10px; background: #2c2f22; box-shadow: 0 10px 26px rgba(35,39,29,.14); isolation: isolate; }
.mch-cat img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .7s ease; z-index: -1; }
.mch-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,15,0) 45%, rgba(20,22,15,.78) 100%); z-index: -1; }
.mch-cat:hover img { transform: scale(1.06); }
.mch-cat-body { position: absolute; left: 18px; right: 64px; bottom: 18px; color: #fff; }
.mch-cat-body strong { display: block; font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; line-height: 1.2; margin: 0 0 4px; color: #fff; }
.mch-cat-body small { display: block; font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.88); }
.mch-go { position: absolute; right: 16px; bottom: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); transition: transform .25s ease; }
.mch-go::after { content: ""; position: absolute; inset: 9px; background: var(--ink); -webkit-mask: var(--mch-i-arrow) no-repeat center / contain; mask: var(--mch-i-arrow) no-repeat center / contain; }
.mch-cat:hover .mch-go { transform: translateX(3px); }

/* Destacados */
.mch-feat { display: grid; grid-template-columns: minmax(240px, .9fr) minmax(0, 2.6fr); gap: 40px; align-items: center; padding: 18px 0; }
.mch-carousel { position: relative; min-width: 0; padding-top: 44px; }
.mch-nav { position: absolute; top: 0; right: 0; display: flex; gap: 8px; }
.mch-nav button { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; position: relative; transition: border-color .2s, background-color .2s; }
.mch-nav button::after { content: ""; position: absolute; inset: 9px; background: currentColor; -webkit-mask: var(--mch-m) no-repeat center / contain; mask: var(--mch-m) no-repeat center / contain; }
.mch-prev { --mch-m: var(--mch-i-chev-l); } .mch-next { --mch-m: var(--mch-i-chev-r); }
.mch-nav button:hover:not([disabled]) { border-color: var(--g7); background: var(--lime2); }
.mch-nav button[disabled] { opacity: .4; cursor: default; }
.mch-static .mch-nav, .mch-static .mch-dots { visibility: hidden; }
.mch-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 18px) / 3); column-gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 14px; }
.mch-track::-webkit-scrollbar { display: none; }
.mch-prod { scroll-snap-align: start; }
.mch-prod a { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(35,39,29,.05); transition: box-shadow .25s, transform .25s; }
.mch-prod a:hover { box-shadow: 0 14px 30px rgba(35,39,29,.12); transform: translateY(-2px); }
.mch-prod-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f3f2ec; }
.mch-prod-img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .6s ease; }
.mch-prod a:hover .mch-prod-img img { transform: scale(1.05); }
.mch-prod-body { display: block; padding: 14px 58px 16px 16px; }
.mch-prod-body strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.mch-prod-body small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.mch-go-line { right: 14px; bottom: 16px; width: 30px; height: 30px; background: #fff; border: 1.5px solid var(--line); }
.mch-go-line::after { inset: 8px; }
.mch-prod a:hover .mch-go-line { border-color: var(--g7); background: var(--lime2); }
.mch-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.mch-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #d8d6cb; cursor: pointer; transition: background-color .2s, transform .2s; }
.mch-dots button.is-on { background: var(--g7); transform: scale(1.15); }

/* ¿Por qué elegirnos? */
.mch-why { position: relative; display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2.15fr) minmax(220px, 1fr); align-items: center; gap: 28px; overflow: hidden; margin: 10px 0; min-height: 230px;
  border-radius: 12px; background: var(--cd-bg-2, #efeee6); }
.mch-why::after { content: ""; position: absolute; right: -30px; top: -20px; width: 260px; height: 300px; pointer-events: none; opacity: .7;
  background: var(--cd-leaf, none) no-repeat center / contain; }
.mch-why-img { align-self: stretch; min-height: 230px; background: #ddd no-repeat center / cover; clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); position: relative; }
.mch-why-img::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 22%; background: var(--g); clip-path: polygon(92% 0, 100% 0, 24% 100%, 16% 100%); }
.mch-why-main { position: relative; z-index: 1; padding: 26px 0; }
.mch-why-main .mch-h2 { margin-bottom: 20px !important; }
.mch-why-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mch-why-list li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 2px 10px; text-align: center; font-size: 13px; line-height: 1.4; color: var(--text); border-left: 1px solid #dcdacd; }
.mch-why-list li:first-child { border-left: 0; }
.mch-ico { display: block; width: 34px; height: 34px; background: var(--g7); -webkit-mask: var(--mch-m) no-repeat center / contain; mask: var(--mch-m) no-repeat center / contain; }
.mch-ico-shield { --mch-m: var(--mch-i-shield); } .mch-ico-truck { --mch-m: var(--mch-i-truck); } .mch-ico-people { --mch-m: var(--mch-i-people); }
.mch-ico-home { --mch-m: var(--mch-i-home); } .mch-ico-pin { --mch-m: var(--mch-i-pin); } .mch-ico-award { --mch-m: var(--mch-i-award); }
.mch-why-cta { position: relative; z-index: 1; padding: 26px 28px 26px 26px; border-left: 1px solid #dcdacd; }
.mch-why-cta::before { content: ""; display: block; width: 26px; height: 2px; border-radius: 2px; background: var(--lime); margin: 0 0 16px; }
.mch-why-cta p { margin: 0 0 18px; font-size: 13.5px; line-height: 1.55; color: var(--text); }
.mch-why-cta strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }

/* La fila de tarjetas/destacados no necesita el fondo de bloque de la plantilla */
#feature .block:has(.mch), #main-top .block:has(.mch), #footer .block:has(.mch), #bottom .block:has(.mch),
#feature .moduletable:has(.mch), #main-top .moduletable:has(.mch) { background: none !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
#feature .block > .header:has(+ .mch), .block:has(> .mch-cats) > .header { display: none !important; }

@media (max-width: 1100px) {
  .mch-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mch-feat { grid-template-columns: 1fr; gap: 10px; }
  .mch-track { grid-auto-columns: calc((100% - 18px) / 2); }
  .mch-why { grid-template-columns: 1fr; gap: 0; }
  .mch-why-img { min-height: 200px; clip-path: none; }
  .mch-why-img::after { display: none; }
  .mch-why-main { padding: 26px 24px 8px; }
  .mch-why-cta { border-left: 0; padding: 14px 24px 26px; }
}
@media (max-width: 600px) {
  .mch-cats { gap: 12px; }
  .mch-cat { min-height: 0; aspect-ratio: 3 / 3.6; }
  .mch-cat-body { left: 12px; right: 48px; bottom: 12px; }
  .mch-cat-body strong { font-size: 17px; }
  .mch-cat-body small { font-size: 11px; }
  .mch-go { right: 10px; bottom: 12px; width: 30px; height: 30px; }
  .mch-go::after { inset: 8px; }
  .mch-track { grid-auto-columns: 78%; }
  .mch-why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .mch-why-list li:nth-child(3) { border-left: 0; }
}

/* La plantilla convierte cada bloque de #feature en una tarjeta con foto: aquí el bloque es solo un contenedor */
#feature .block:has(> .mch), #feature .block:has(.mch-cats) { aspect-ratio: auto !important; height: auto !important; min-height: 0 !important; overflow: visible !important; transform: none !important; box-shadow: none !important; background: none !important; border-radius: 0 !important; cursor: auto; }
#feature .block:has(.mch-cats):hover { transform: none !important; box-shadow: none !important; }
#feature .column:has(.mch-cats) { flex: 1 1 100% !important; }
#feature .block:has(.mch) > .content, #feature .block:has(.mch) .content { position: static !important; inset: auto !important; height: auto !important; }
#feature .block:has(.mch) > .header { display: none !important; }
#feature .block:has(.mch)::before, #feature .block:has(.mch)::after { display: none !important; }

/* Certificaciones */
.mch-certs { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); gap: 36px; align-items: center; margin: 10px 0; padding: 32px 34px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(35,39,29,.05), 0 10px 30px rgba(35,39,29,.06); position: relative; overflow: hidden; }
.mch-certs::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--lime), var(--g7)); }
.mch-certs-head .mch-text { margin-bottom: 0; }
.mch-cert-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.mch-cert { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 12px; background: var(--cd-bg, #f6f5f0); border: 1px solid #ecebe3; transition: box-shadow .25s, transform .25s; }
.mch-cert:hover { box-shadow: 0 12px 26px rgba(35,39,29,.10); transform: translateY(-2px); }
.mch-cert-logo { flex: 0 0 84px; width: 84px; height: 96px; display: grid; place-items: center; padding: 8px; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px rgba(35,39,29,.06); }
.mch-cert-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.mch-cert-body h3 { margin: 0 0 2px !important; font-family: var(--sans) !important; font-size: 15.5px !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--ink) !important; text-transform: none !important; letter-spacing: 0 !important; }
.mch-cert-issuer { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: var(--g7); }
.mch-cert-desc { margin: 0 0 12px; font-size: 13.5px; line-height: 1.6; color: var(--text); }
.mch-cert-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.mch-cert-code { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--lime2); color: var(--g9); font-size: 12px; font-weight: 600; }
.mch-cert-code .mch-ico { width: 15px; height: 15px; background: var(--g9); }
.mch-cert-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--g7) !important; }
.mch-cert-link .mch-arrow { width: 14px; height: 14px; }
#bottom .block:has(.mch-certs), #bottom .column:has(.mch-certs) { background: none !important; box-shadow: none !important; padding: 0 !important; border: 0 !important; width: 100% !important; flex: 1 1 100% !important; }
#bottom .block:has(.mch-certs) > .header { display: none !important; }
@media (max-width: 900px) {
  .mch-certs { grid-template-columns: 1fr; gap: 20px; padding: 26px 22px; }
}
@media (max-width: 480px) {
  .mch-cert { flex-direction: column; }
}

/* ===================== Cómo llegar (sedes con mapa) ===================== */
.mch-sedes { margin: 10px 0; padding: 32px 34px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(35,39,29,.05), 0 10px 30px rgba(35,39,29,.06); }
.mch-sedes-head { max-width: 640px; margin-bottom: 22px; }
.mch-sedes-head .mch-text { margin-bottom: 0; }
.mch-sedes-body { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.5fr); gap: 24px; align-items: stretch; }
.mch-sede-list { display: flex; flex-direction: column; gap: 12px; }
.mch-sede { display: flex; gap: 14px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: #f6f5f0; cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; outline: none; }
.mch-sede:hover { border-color: var(--lime); }
.mch-sede:focus-visible { box-shadow: 0 0 0 3px rgba(185,204,58,.55); }
.mch-sede.is-on { background: #fff; border-color: var(--g7); box-shadow: 0 8px 22px rgba(35,39,29,.10); }
.mch-sede-img { width: 84px; height: 84px; flex: 0 0 84px; border-radius: 10px; object-fit: cover; }
.mch-sede-info { min-width: 0; }
.mch-sede h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px !important; font-family: var(--sans) !important; font-size: 16px !important; font-weight: 700 !important; color: var(--ink) !important; text-transform: none !important; letter-spacing: 0 !important; }
.mch-sede h3 .mch-ico { width: 18px; height: 18px; color: var(--g7); }
.mch-sede-addr, .mch-sede-hours { margin: 0 0 4px; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.mch-sede-hours { color: var(--muted); }
.mch-sede-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mch-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink) !important; white-space: nowrap; }
.mch-chip:hover { border-color: var(--g7); }
.mch-chip-wa { background: #25d366; border-color: #25d366; color: #fff !important; }
.mch-chip-go { background: var(--g9); border-color: var(--g9); color: #fff !important; }
.mch-chip .mch-wa, .mch-chip .mch-arrow { width: 14px; height: 14px; }
.mch-sede-map { position: relative; min-height: 340px; border-radius: 12px; overflow: hidden; background: #e9e7de; }
.mch-sede-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#main-bottom .block:has(.mch-sedes), #main-bottom .column:has(.mch-sedes), #bottom .block:has(.mch-sedes) { background: none !important; box-shadow: none !important; padding: 0 !important; border: 0 !important; }
.block:has(.mch-sedes) > .header, .block:has(.mch-pop) > .header { display: none !important; }
@media (max-width: 860px) {
  .mch-sedes { padding: 24px 18px; }
  .mch-sedes-body { grid-template-columns: 1fr; }
  .mch-sede-map { min-height: 280px; }
}

/* ===================== Ventana emergente promocional ===================== */
.mch-pop { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 24px 16px; opacity: 0; transition: opacity .25s ease; font-family: var(--cd-sans, "Inter", Arial, sans-serif); }
.mch-pop[hidden] { display: none; }
.mch-pop.is-open { opacity: 1; }
.mch-pop-backdrop { position: absolute; inset: 0; background: rgba(20,22,16,.72); backdrop-filter: blur(2px); }
.mch-pop-box { position: relative; width: 100%; max-width: 880px; max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); transform: translateY(14px) scale(.98); transition: transform .3s ease; }
.mch-pop.is-open .mch-pop-box { transform: none; }
.mch-pop-sm .mch-pop-box { max-width: 600px; } .mch-pop-lg .mch-pop-box { max-width: 1180px; }
.mch-pop-vertical .mch-pop-box { max-width: 420px; }
.mch-pop-media { position: relative; min-height: 0; overflow: hidden; display: flex; justify-content: center; background: #fff; }
.mch-pop-track { position: relative; width: 100%; display: grid; }
.mch-pop-slide { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; min-width: 0; opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
.mch-pop-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease; }
.mch-pop-slide > a { display: block; width: 100%; }
/* Con fotos y videos mezclados, la altura la ponen las fotos y el video se ajusta a ella */
.mch-pop-track.is-fit .mch-pop-slide.is-video { position: absolute; inset: 0; }
.mch-pop-track.is-fit .mch-pop-slide.is-video .mch-pop-video { aspect-ratio: auto; height: 100%; }
.mch-pop-slide.is-video { background: #111; }
.mch-pop-slide.is-vertical .mch-pop-video { aspect-ratio: 9 / 16; max-height: calc(100vh - 170px); width: auto; height: calc(100vh - 170px); max-width: 100%; }
.mch-pop-file video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #111; }
.mch-pop-nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #23271d; font-size: 30px; line-height: 40px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.22); opacity: .85; transition: opacity .2s, transform .2s, background .2s; }
.mch-pop-nav:hover, .mch-pop-nav:focus-visible { opacity: 1; background: var(--cd-lime, #b9cc3a); transform: scale(1.06); }
.mch-pop-prev { left: 12px; } .mch-pop-next { right: 12px; }
.mch-pop-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.mch-pop-dots button { pointer-events: auto; width: 10px; height: 10px; padding: 0; border: 2px solid #fff; border-radius: 10px; background: rgba(0,0,0,.25); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.3); transition: width .25s, background .25s; }
.mch-pop-dots button[aria-current] { width: 26px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .mch-pop-slide { transition: none; transform: none; } }
@media (max-width: 560px) { .mch-pop-nav { width: 36px; height: 36px; margin-top: -18px; font-size: 24px; line-height: 32px; } .mch-pop-prev { left: 6px; } .mch-pop-next { right: 6px; } }
.mch-pop-video, .mch-pop-vertical .mch-pop-media { background: #111; }
.mch-pop-media img { display: block; width: 100%; height: auto; max-height: calc(100vh - 170px); object-fit: contain; background: #fff; }
.mch-pop-video { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.mch-pop-vertical .mch-pop-video { aspect-ratio: 9 / 16; max-height: calc(100vh - 170px); }
.mch-pop-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mch-pop-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #23271d; font-size: 26px; line-height: 40px; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.mch-pop-close:hover { background: var(--cd-lime, #b9cc3a); }
.mch-pop-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 24px; background: var(--cd-bg, #f6f5f0); border-top: 1px solid var(--cd-line, #e5e3da); }
.mch-pop-bar strong { display: block; font-family: var(--cd-serif, "Merriweather", Georgia, serif); font-size: 19px; color: var(--cd-ink, #23271d); line-height: 1.25; }
.mch-pop-bar span { display: block; margin-top: 4px; font-size: 14px; color: var(--cd-text, #4b5045); }
.mch-pop-sm .mch-pop-bar strong { font-size: 16px; } .mch-pop-sm .mch-pop-bar span { display: none; }
@media (max-width: 560px) { .mch-pop-bar { padding: 14px 16px; } .mch-pop-bar .mch-btn { width: 100%; justify-content: center; } }
