/* Pie — venía del bloque HTML de Elementor «Footer #51». */
:root{
  --base:#FAF7F0;--card:#F0E8D0;--brasa:#1C1510;
  --tostado:#3D2008;--ambar:#C4631A;
  --line-dark:rgba(250,247,240,0.1);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
*{-webkit-tap-highlight-color:transparent;}

.agencia-bloque,
.agencia-caja,
.agencia-caja__dentro{
  padding:0 !important;margin:0 !important;
  width:100% !important;max-width:100% !important;
}

/* Force full width on site-footer regardless of parent constraints */
.site-footer,
.agencia-bloque .site-footer,
.agencia-caja .site-footer,
.agencia-caja__dentro .site-footer{
  background:var(--brasa);color:var(--base);
  font-family:'Poppins',sans-serif;font-weight:300;
  position:relative;overflow:hidden;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box;display:block;
  margin:0 !important;
  padding-left:0;
  padding-right:0;
}
.site-footer::before{
  content:'';position:absolute;
  bottom:-20%;right:-5%;width:40%;height:80%;
  background:radial-gradient(ellipse,rgba(196,99,26,0.1) 0%,transparent 65%);
  pointer-events:none;
}

/* ── TOP ── */
.footer-top{
  padding:64px 52px 52px;
  display:grid;
  grid-template-columns:1fr 1.4fr 1fr 1fr 1.2fr;
  gap:48px;
  position:relative;z-index:1;
  align-items:start;
}

/* Col 1 — Logo + tagline + RRSS */
.footer-brand{
  display:flex;align-items:center;justify-content:center;
}
.footer-brand img{
  width:100%;max-width:400px;height:auto;display:block;
}
.footer-tagline-col{
  display:flex;flex-direction:column;justify-content:flex-start;
}
.footer-tagline{
  font-family:'Poppins',sans-serif;
  font-size:1rem;font-weight:300;
  line-height:1.7;
  color:rgba(250,247,240,0.55);
  margin-bottom:28px;
}
.footer-social{display:flex;gap:20px;}
.footer-social a{
  font-family:'DM Sans',sans-serif;
  font-size:0.85rem;font-weight:500;
  letter-spacing:0.14em;text-transform:uppercase;
  color:rgba(250,247,240,0.45) !important;
  text-decoration:none !important;transition:color 0.2s;
}
.footer-social a:hover{color:var(--ambar) !important;}

/* Col titles */
.footer-col-title{
  font-family:'DM Sans',sans-serif;
  font-size:0.75rem;font-weight:500;
  letter-spacing:0.25em;text-transform:uppercase;
  color:var(--ambar);margin-bottom:20px;
  display:flex;align-items:center;gap:8px;
}
.footer-col-title::before{
  content:'';display:block;
  width:16px;height:1px;
  background:var(--ambar);flex-shrink:0;
}

/* Nav cols */
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:14px;}
.footer-col ul a,
.footer-col ul button{
  font-family:'Poppins',sans-serif;
  font-size:1rem;font-weight:300;
  color:rgba(250,247,240,0.6) !important;
  text-decoration:none !important;transition:color 0.2s;
  line-height:1.2;
  background:none;border:none;padding:0;cursor:pointer;
  text-align:left;
}
.footer-col ul a:hover,
.footer-col ul button:hover{color:var(--base) !important;}

/* Contact col */
.footer-contact-item{display:flex;flex-direction:column;gap:4px;margin-bottom:20px;}
.footer-contact-label{
  font-family:'DM Sans',sans-serif;
  font-size:0.7rem;font-weight:500;
  letter-spacing:0.18em;text-transform:uppercase;
  color:rgba(250,247,240,0.35);
}
.footer-contact-value{
  font-family:'Poppins',sans-serif;
  font-size:1rem;font-weight:300;
  color:rgba(250,247,240,0.7);
}
.footer-contact-value a{
  color:rgba(250,247,240,0.7) !important;
  text-decoration:none !important;transition:color 0.2s;
}
.footer-contact-value a:hover{color:var(--ambar) !important;}

/* ── BOTTOM ── */
.footer-bottom{
  padding:20px 52px;
  display:flex;justify-content:space-between;align-items:center;
  border-top:1px solid var(--line-dark);
  position:relative;z-index:1;
}
.footer-legal{
  font-family:'DM Sans',sans-serif;
  font-size:0.78rem;font-weight:400;
  letter-spacing:0.06em;
  color:rgba(250,247,240,0.25);
}
.footer-legal a{
  color:rgba(250,247,240,0.25) !important;
  text-decoration:none !important;transition:color 0.2s;
}
.footer-legal a:hover{color:rgba(250,247,240,0.55) !important;}
.footer-legal-links{display:flex;gap:28px;}

@media(max-width:1100px){
  .footer-top{grid-template-columns:1fr 1fr 1fr;gap:36px;}
  .footer-brand{grid-column:1/-1;justify-content:flex-start;}
  .footer-tagline-col{grid-column:1/-1;}
}
@media(max-width:900px){
  .footer-top{grid-template-columns:1fr 1fr;padding:48px 24px 36px;gap:32px;}
  .footer-brand{grid-column:1/-1;justify-content:flex-start;}
  .footer-tagline-col{grid-column:1/-1;}
  .footer-bottom{flex-direction:column;gap:12px;text-align:center;padding:20px 24px;}
  .footer-legal-links{flex-wrap:wrap;justify-content:center;gap:16px;}
}
@media(max-width:480px){
  .footer-top{grid-template-columns:1fr;padding:40px 24px 28px;gap:28px;}
  .footer-brand img{width:160px;}
}
