/* =========================
   COTIZADOR WHATSAPP (qz-)
========================= */
.qz-quote{
  position: relative;
  padding: 92px 16px 60px;
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  scroll-margin-top: 110px;
}

.qz-wrap{
  max-width: 1180px;
  margin: 0 auto;
}

.qz-head{
  text-align: center;
  margin-bottom: 26px;
}
.qz-title{
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  color: #2c2c2c;
}
.qz-sub{
  margin: 10px auto 0;
  max-width: 820px;
  color: #6b6b6b;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.5;
}

/* GRID */
.qz-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: start;
}

/* FORM */
.qz-form{
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

.qz-row{ margin-bottom: 12px; }
.qz-2col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.qz-label{
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  color: #3a3a3a;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.qz-input{
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.10);
  padding: 12px 12px;
  outline: none;
  font: inherit;
  font-weight: 600;
  color: #222;
  background: #fff;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.qz-input:focus{
  border-color: rgba(124,255,78,.9);
  box-shadow: 0 0 0 4px rgba(124,255,78,.18);
}

select.qz-input option{
  background: #fff;
  color: #222;
}

.qz-textarea{
  min-height: 100px;
  resize: vertical;
}

/* BOTONES */
.qz-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.qz-btn{
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  user-select: none;
}
.qz-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,.14);
}

.qz-btn--wa{
  background: #0c0c0c;
  color: #7cff4e;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.qz-ico{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 4px rgba(37,211,102,.12);
}

.qz-btn--ghost{
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.10);
  color: #222;
}

.qz-note{
  display: block;
  margin-top: 10px;
  color: #7a7a7a;
  font-size: 12px;
  font-weight: 600;
}

/* PREVIEW */
.qz-preview .qz-card{
  background: #0f0f12;
  color: #fff;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 92px;
}

.qz-cardTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.qz-cardTitle{
  margin:0;
  font-weight: 900;
  letter-spacing: 0;
}
.qz-cardHint{
  margin:6px 0 0;
  color: rgba(255,255,255,.72);
  font-weight: 600;
  font-size: 12px;
}

.qz-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(124,255,78,.14);
  border: 1px solid rgba(124,255,78,.28);
  color: #7cff4e;
  font-weight: 900;
  letter-spacing: 0;
  font-size: 12px;
}

.qz-message{
  margin: 10px 0 0;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 220px;
}

.qz-tip{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
  font-size: 12px;
  line-height: 1.45;
}

/* RESPONSIVE */
@media (max-width: 1024px){
  .qz-grid{ grid-template-columns: 1fr; }
  .qz-preview .qz-card{ position: relative; top: 0; }
}

@media (max-width: 768px){
  .qz-quote{ padding-top: 78px; }
  .qz-title{ font-size: 30px; }
  .qz-2col{ grid-template-columns: 1fr; }
}

@media (max-width: 425px){
  .qz-quote{ padding: 68px 12px 42px; }
  .qz-title{ font-size: 26px; }
  .qz-form, .qz-preview .qz-card{ padding: 14px; }
  .qz-btn{ width: 100%; justify-content: center; }
}

body.dark .qz-title{
  color: #f5f5f5;
}

body.dark .qz-sub{
  color: rgba(245,245,245,.72);
}

body.dark .qz-form{
  background: rgba(18,20,22,.94);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

body.dark .qz-label,
body.dark .qz-note{
  color: rgba(245,245,245,.72);
}

body.dark .qz-input{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: #f5f5f5;
  color-scheme: dark;
}

body.dark select.qz-input{
  background-color: #1c1f22;
}

body.dark select.qz-input option{
  background: #1c1f22;
  color: #f5f5f5;
}

body.dark .qz-input::placeholder{
  color: rgba(245,245,245,.48);
}

body.dark .qz-btn--ghost{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: #f5f5f5;
}
