/* Captación de clientes: botones de contacto, formulario y páginas de producto */

.btn-whatsapp,
.btn-cotizar,
.btn-cotizar-sec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  border: 0;
  text-decoration: none;
}
.btn-whatsapp { background: #25d366; color: #05240f; }
.btn-whatsapp:hover { background: #1ebe5a; color: #05240f; }
.btn-cotizar { background: var(--accent-color); color: #0b0f1a; width: 100%; }
.btn-cotizar:disabled { opacity: .6; }
.btn-cotizar-sec { border: 2px solid var(--accent-color); color: var(--accent-color); }
.btn-cotizar-sec:hover { background: var(--accent-color); color: #0b0f1a; }

/* Formulario */
.cotizar-card { background: var(--surface-color); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 32px; }
.cotizar .form-label { font-size: 14px; margin-bottom: 4px; color: var(--default-color); }
.cotizar .form-control,
.cotizar .form-select { background-color: var(--background-color); color: var(--heading-color); border-color: rgba(255,255,255,.18); min-height: 46px; font-size: 16px; }
.cotizar .form-control:focus,
.cotizar .form-select:focus { border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(255,193,7,.2); }
.cotizar .form-control::placeholder { color: #8791a5; }
@media (max-width: 576px) { .cotizar-card { padding: 20px 16px; } }
.lead-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-note { font-size: 13px; margin: 8px 0 0; opacity: .8; }
.lead-status { margin-top: 12px; padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.lead-ok { background: #0f3d24; color: #a7f3c4; }
.lead-error { background: #4a1418; color: #ffc9cd; }

/* Inicio: el mensaje principal se ve de inmediato */
.hero .welcome h1 { margin: 0; font-size: clamp(30px, 6vw, 52px); font-weight: 800; color: #fff; }
.hero .welcome p { font-size: clamp(17px, 2.6vw, 22px); margin-top: 12px; }
@media (max-width: 768px) {
  .hero { padding: 36px 0; }
  .hero .welcome .d-flex { flex-direction: column; align-items: stretch; }
}

/* Páginas de producto */
.producto-hero { padding-top: 24px; }
.producto-hero img { width: 100%; max-height: 340px; object-fit: contain; }
.producto-hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; }
.producto-kicker { color: var(--accent-color); font-weight: 700; margin-bottom: 4px; }
.migas { font-size: 14px; margin-bottom: 20px; }
.pasos li { margin-bottom: 10px; }
.datos-cotizar { background: var(--surface-color); border-radius: 14px; padding: 24px; }
.datos-cotizar h3 { font-size: 20px; }
.trabajo-img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cotizar, .tab-pane { scroll-margin-top: 90px; }
.service-item a.stretched-link { font-weight: 700; color: var(--accent-color); }

/* WhatsApp flotante (escritorio) y barra de acciones (celular) */
.wa-flotante {
  position: fixed; right: 18px; bottom: 76px; z-index: 998;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; font-size: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.wa-flotante:hover { color: #fff; transform: scale(1.06); }
.barra-movil { display: none; }

@media (max-width: 768px) {
  .wa-flotante { display: none; }
  .barra-movil {
    display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--surface-color); border-top: 1px solid rgba(255,255,255,.12);
  }
  .barra-movil a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; }
  .barra-movil .llamar { border: 1px solid rgba(255,255,255,.25); color: var(--heading-color); }
  .barra-movil .wa { background: #25d366; color: #05240f; }
  .barra-movil .cot { background: var(--accent-color); color: #0b0f1a; }
  body { padding-bottom: 66px; }
  .scroll-top { bottom: 78px; }
}
