/* en.css: plixail.com additions on top of the shared site.css (Mexico design system).
   Components here exist inline on individual MX pages; on the US site they are shared. */

/* Footer sitemap (MX keeps this in the home page's inline CSS) */
.footer-sitemap{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;}
.footer-sitemap-col{display:flex;flex-direction:column;align-items:center;gap:.85rem;padding:.5rem 2rem;text-align:center;border-right:.0625rem solid rgba(255,255,255,.18);}
.footer-sitemap-col:last-child{border-right:none;}
.footer-sitemap-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.1rem;}
.footer-sitemap-links a{font-family:"Kallisto",sans-serif;font-weight:400;font-size:.95rem;color:rgba(255,255,255,.72);text-decoration:none;transition:color .35s ease;}
.footer-sitemap-links a:hover{color:rgb(220,30,30);}
.footer-addr{font-size:.95rem;line-height:1.5;}
@media (max-width:48rem){
  .footer-sitemap{grid-template-columns:1fr;}
  .footer-sitemap-col{border-right:none;border-bottom:.0625rem solid rgba(255,255,255,.18);padding:1.25rem 0;}
  .footer-sitemap-col:last-child{border-bottom:none;}
}

/* Stats band: keep white text legible over any background art */
.stats-band .stat-n{color:#fff;}
.stats-band .stat-l{color:rgba(255,255,255,.86);}
.stats-band-inner{text-shadow:0 .12rem 1.1rem rgba(0,0,0,.9),0 0 .35rem rgba(0,0,0,.95);}

/* Case box (service pages) */
.svc-case{max-width:52rem;margin:1.6rem auto 0;border:.0625rem solid rgba(255,255,255,.2);padding:1.8rem;background:linear-gradient(150deg,rgba(220,30,30,.1),rgba(255,255,255,0) 70%);}
.svc-case-head{display:flex;flex-wrap:wrap;gap:.4rem 1rem;align-items:baseline;margin-bottom:.8rem;}
.svc-case-head strong{font-family:"Kallisto Heading","Kallisto",sans-serif;color:#fff;font-size:1.15rem;letter-spacing:.06em;}
.svc-case-head span{color:rgba(220,30,30,.9);font-family:"Kallisto",sans-serif;font-size:.9rem;}
.svc-case p{font-family:"Kallisto",sans-serif;color:rgba(255,255,255,.8);margin:0 0 1.2rem;line-height:1.6;}
.svc-case-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;}
.svc-case-metrics div{border:.0625rem solid rgba(255,255,255,.16);padding:.9rem;}
.svc-case-metrics b{display:block;color:rgb(220,30,30);font-family:"Kallisto Heading","Kallisto",sans-serif;font-size:1.5rem;}
.svc-case-metrics span{display:block;color:#fff;font-family:"Kallisto",sans-serif;font-size:.85rem;margin-top:.3rem;}
.svc-case a{display:inline-block;margin-top:1.2rem;color:rgb(220,30,30);font-weight:700;text-decoration:none;font-family:"Kallisto",sans-serif;}
@media (max-width:40rem){.svc-case{padding:1.2rem;}.svc-case-metrics{grid-template-columns:1fr;}}

.case-note{text-align:center;max-width:46rem;margin:0 auto;color:rgba(255,255,255,.72);font-size:1rem;}
.case-note a,.related-links a{color:rgb(220,30,30);font-weight:700;text-decoration:none;}
.related-links{text-align:center;max-width:44rem;margin:0 auto;}

/* Why Mexico grid (home + about) */
.why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.2rem;margin-top:1.6rem;}
.why-item{border:.0625rem solid rgba(255,255,255,.16);padding:1.4rem 1.2rem;background:linear-gradient(160deg,rgba(220,30,30,.08),rgba(255,255,255,0) 60%);}
.why-item h3{font-family:"Kallisto",sans-serif;font-weight:700;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:rgb(220,30,30);margin:0 0 .8rem;}
.why-item p{font-family:"Kallisto",sans-serif;color:rgba(255,255,255,.82);font-size:.95rem;line-height:1.6;margin:0;}
.why-sec .section-head{text-align:center;}
@media (max-width:64rem){.why-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:40rem){.why-grid{grid-template-columns:1fr;}}

/* Work page */
.work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;position:relative;z-index:1;}
.work-card{border:.0625rem solid rgba(255,255,255,.16);background:rgba(0,0,0,.55);display:flex;flex-direction:column;}
.work-img{display:block;overflow:hidden;border-bottom:.0625rem solid rgba(255,255,255,.12);}
.work-img img{display:block;width:100%;height:auto;transition:transform .6s ease;}
.work-card:hover .work-img img{transform:scale(1.03);}
.work-card:hover{border-color:rgba(220,30,30,.7);}
.work-text{padding:1.3rem 1.4rem 1.5rem;display:flex;flex-direction:column;gap:.45rem;flex:1;}
.work-name{font-family:"Kallisto Heading","Kallisto",sans-serif;font-weight:700;color:#fff;font-size:1.25rem;letter-spacing:.04em;text-transform:uppercase;margin:0;}
.work-meta{font-family:"Kallisto",sans-serif;color:rgb(220,30,30);font-size:.85rem;margin:0;}
.work-did{font-family:"Kallisto",sans-serif;color:rgba(255,255,255,.8);font-size:.95rem;line-height:1.6;margin:0;flex:1;}
.work-link{font-family:"Kallisto",sans-serif;font-weight:700;color:#fff;text-decoration:none;font-size:.9rem;margin-top:.4rem;}
.work-link:hover{color:rgb(220,30,30);}
.work-sec .case-note{margin-top:2.4rem;}
@media (max-width:60rem){.work-grid{grid-template-columns:1fr;}}

/* Contact page (MX keeps these inline on /contacto) */
.contact-lines{display:flex;flex-direction:column;gap:1.1rem;margin-top:2rem;}
.contact-line{display:flex;align-items:center;gap:1rem;text-decoration:none;color:inherit;}
.contact-ico{width:2.6rem;height:2.6rem;flex-shrink:0;display:flex;align-items:center;justify-content:center;border:.0625rem solid var(--border-color);border-radius:.6rem;}
.contact-ico svg{width:1.25rem;height:1.25rem;fill:none;stroke:rgb(220,30,30);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.contact-line-text{display:flex;flex-direction:column;}
.contact-line-k{font-family:"Kallisto",sans-serif;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.55);}
.contact-line-v{font-family:"Kallisto Heading","Kallisto",sans-serif;font-weight:700;font-size:1.15rem;color:#fff;}
.contact-addr{font-size:.98rem;line-height:1.45;}
a.contact-line:hover .contact-line-v{color:rgb(220,30,30);}
.contact-form-wrap{display:flex;align-items:center;padding:2rem;}
.contact-form-wrap .footer-form{width:100%;}
.contact-topic{width:100%;background:transparent;color:#fff;border:.0625rem solid var(--border-color);padding:.9rem 1rem;font-family:"Kallisto",sans-serif;font-size:1rem;appearance:none;-webkit-appearance:none;border-radius:0;
  background-image:linear-gradient(45deg,transparent 50%,rgb(220,30,30) 50%),linear-gradient(135deg,rgb(220,30,30) 50%,transparent 50%);
  background-position:calc(100% - 1.3rem) 50%,calc(100% - .95rem) 50%;background-size:.35rem .35rem,.35rem .35rem;background-repeat:no-repeat;}
.contact-topic option{background:#000;color:#fff;}
.contact-topic:focus{outline:none;border-color:rgb(220,30,30);}
.ct-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;}
.ct-two h3{font-family:"Kallisto Heading","Kallisto",sans-serif;color:#fff;font-size:1.15rem;margin:0 0 .8rem;}
.ct-two li{font-family:"Kallisto",sans-serif;color:rgba(255,255,255,.82);line-height:1.65;margin-bottom:.45rem;}
.ct-two li::marker{color:rgb(220,30,30);font-weight:700;}
@media (max-width:40rem){
  .sec-contact{padding-top:1rem;}
  .sec-contact .split-panel{gap:.9rem;padding:.9rem;}
  .contact-lines{gap:.6rem;margin-top:1rem;}
  .contact-form-wrap{padding:.75rem;}
  .ct-two{grid-template-columns:1fr;}
  .sec-final-tight{padding:2.2rem 1.5rem !important;}
}

/* Legal pages */
.legal{max-width:48rem;}
.legal h2{font-family:"Kallisto Heading","Kallisto",sans-serif;color:#fff;font-size:1.25rem;margin:2.2rem 0 .8rem;}
.legal p{font-family:"Kallisto",sans-serif;color:rgba(255,255,255,.82);line-height:1.7;margin:0 0 .9rem;}
.legal a{color:rgb(220,30,30);}

/* Home "why Mexico" block reuses the MX home-guias layout (its CSS lived inline in the replaced MX section) */
.home-guias{padding:6rem 1.5rem;max-width:72rem;margin:0 auto;}
.home-guias h2{font-family:"Kallisto Heading","Kallisto",sans-serif;font-weight:700;color:#fff;font-size:clamp(1.8rem,3.4vw,2.8rem);margin:0 0 .8rem;}
.home-guias .home-guias-lead{font-family:"Kallisto",sans-serif;color:rgba(255,255,255,.7);font-size:1.05rem;margin:0 0 2.4rem;max-width:44rem;}
.home-guias-all{display:inline-block;margin-top:2rem;color:rgb(220,30,30);font-family:"Kallisto",sans-serif;font-weight:700;text-decoration:none;}
@media (max-width:40rem){.home-guias{padding:3.5rem 1rem;}}
