/* RICHPACK · Revisión 25 · Mercados en cuatro bloques. */
.brand .brand-rich{color:#007ebc}
.brand .brand-pack{color:#8dbd36}
#mercados .market-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
#mercados .market-panel{min-width:0;min-height:425px;overflow:hidden;display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:18px;padding:32px 26px 22px;background:#f2f6f9}
#mercados .market-panel-food{background:#f1f7e9}
#mercados .market-panel-pharma{background:#edf4f7}
#mercados .market-panel-consumer{background:#f5f6f2}
#mercados .market-panel h3{display:flex;align-items:center;justify-content:center;min-height:70px;width:100%;max-width:460px;margin:0 0 8px;color:var(--navy);font-size:29px;line-height:1.16;letter-spacing:-.7px;font-weight:900;text-wrap:balance}
#mercados .market-panel p{max-width:360px;min-height:43px;margin:0 0 17px;font-size:15px;line-height:1.45;color:#526673;text-wrap:balance}
#mercados .market-products-button{display:inline-flex;align-items:center;gap:10px;border:0;border-radius:999px;padding:11px 20px;background:var(--blue);color:#fff;font:900 14px/1.3 'Nunito',Arial,sans-serif;cursor:pointer;transition:background .2s,transform .2s}
#mercados .market-products-button:hover{background:#285b83;transform:translateY(-2px)}
#mercados .market-products-button:focus-visible{outline:3px solid var(--green);outline-offset:4px}
#mercados .market-hero{width:100%;height:238px;position:relative;display:flex;align-items:center;justify-content:center;margin-top:18px}
#mercados .market-hero img{display:block;width:94%;height:100%;max-width:100%;max-height:100%;object-fit:contain;transform:scale(.9);filter:drop-shadow(0 10px 12px #173e650d)}
#mercados .market-hero-pair img{position:absolute;width:72%;max-width:72%;height:77%;object-fit:contain}
#mercados .market-hero-pair img:first-child{left:-2%;top:0;z-index:1}
#mercados .market-hero-pair img:last-child{right:-2%;bottom:0;z-index:2}
@media(max-width:900px){
  #mercados .market-panel{padding:27px 18px 18px;min-height:390px}
  #mercados .market-panel h3{font-size:25px;min-height:60px}
  #mercados .market-panel p{font-size:14px;min-height:41px}
  #mercados .market-hero{height:215px}
}
@media(max-width:600px){
  #mercados .market-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  #mercados .market-panel{min-height:0;padding:28px 20px 22px}
  #mercados .market-panel h3{font-size:27px;min-height:0;margin-bottom:11px}
  #mercados .market-panel p{min-height:0;margin-bottom:16px}
  #mercados .market-hero{height:245px;margin-top:20px}
  #mercados .market-products-button{min-height:44px}
}
@media(max-width:360px){
  #mercados .market-panel h3{font-size:24px}
  #mercados .market-hero{height:205px}
}
