/* Scoped styles for the quote widget on contacto.php
   (prevents clashing with the template / Bootstrap) */
.quote-widget{
  --pri:#0b8457;
  --pri-2:#06623b;
  --bg:#f5f7f8;
  --card:#ffffff;
  --muted:#667085;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial;
  padding: 18px 0;
}

.quote-widget .wrap{
  max-width:520px;
  margin: 0 auto;
  background:var(--card);
  padding:22px;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.07);
}

.quote-widget h2{
  margin:0 0 12px;
  color:var(--pri);
  text-align:center;
}

.quote-widget .lang{
  display:flex;
  gap:6px;
  margin-bottom:10px;
  flex-wrap: wrap;
}

.quote-widget .lang button{
  flex:1;
  min-width: 120px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid #ddd;
  background:#f2f2f2;
  cursor:pointer;
}

.quote-widget .lang button.active{
  background:var(--pri);
  color:#fff;
  border-color:var(--pri);
}

.quote-widget label{
  display:block;
  font-size:14px;
  color:#111;
  margin-top:10px;
}

.quote-widget input,
.quote-widget select,
.quote-widget textarea{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid #d0d5dd;
  outline:none;
  font-size:15px;
  margin-top:6px;
}

.quote-widget textarea{
  resize:vertical;
  min-height:74px;
}

.quote-widget .row{
  display:flex;
  gap:10px;
}

.quote-widget .row > div{
  flex:1;
}

.quote-widget .muted{
  color:var(--muted);
  font-size:12px;
  margin-top:2px;
}

.quote-widget .tot-card{
  margin-top:12px;
  background:#f8fafb;
  border:1px dashed #c5d2d9;
  border-radius:12px;
  padding:14px;
}

.quote-widget .tot-line{
  display:flex;
  justify-content:space-between;
  margin:6px 0;
  font-size:14px;
}

.quote-widget .tot-strong{
  font-weight:800;
  font-size:18px;
}

.quote-widget .cta{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}

.quote-widget .cta button{
  flex:1;
  min-width: 180px;
  padding:12px 14px;
  border:0;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
}

.quote-widget .cta .wa{
  background:var(--pri);
  color:#fff;
}

.quote-widget .cta .wa:hover{
  background:var(--pri-2);
}

.quote-widget .cta .clear{
  background:#eceff1;
}

.quote-widget .badge{
  display:inline-block;
  font-size:12px;
  background:#eef7f1;
  color:var(--pri);
  padding:2px 8px;
  border-radius:999px;
  margin-left:6px;
}

.quote-widget .hint{
  font-size:12px;
  color:#475467;
  margin-top:4px;
}
