/* ============================================================
   mcp-contact.css — Modal de contacto HubSpot para /mcp
   Namespace: .mcpc-*
   ============================================================ */

.mcpc-modal .modal-dialog {
  max-width: 580px;
}

.mcpc-modal .modal-content {
  background: #0f1117;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  position: relative;
}

/* Close button */
.mcpc-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,.06);
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,.6);
  z-index: 1;
  padding: 0;
  transition: background .15s;
}
.mcpc-close:hover { background: rgba(255,255,255,.12); }
.mcpc-close svg { width: 16px; height: 16px; }

/* Header */
.mcpc-header {
  padding: 32px 32px 0;
}
.mcpc-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.3;
}
.mcpc-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,.50);
  margin: 0;
}

/* Body */
.mcpc-body {
  padding: 20px 32px 28px;
}

/* Field grid */
.mcpc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mcpc-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mcpc-field.full {
  grid-column: 1 / -1;
}

/* Labels */
.mcpc-label {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.60);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0;
}

/* Inputs */
.mcpc-input {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  color: #e7eaf0;
  font-size: 14px;
  padding: 10px 13px;
  width: 100%;
  transition: border-color .15s, background .15s;
  appearance: none;
  -webkit-appearance: none;
}
.mcpc-input::placeholder { color: rgba(255,255,255,.28); }
.mcpc-input:focus {
  outline: none;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.09);
}
.mcpc-input.invalid {
  border-color: #f87171;
}
select.mcpc-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
  cursor: pointer;
}
select.mcpc-input option { background: #1a1d27; color: #e7eaf0; }
textarea.mcpc-input { resize: vertical; min-height: 80px; }

/* Submit error */
.mcpc-submit-error {
  font-size: 12px;
  color: #f87171;
  margin: 10px 0 0;
}

/* Submit button */
.mcpc-submit {
  width: 100%;
  margin-top: 18px;
  background: rgb(61, 169, 254);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px;
  cursor: pointer;
  transition: opacity .2s;
}
.mcpc-submit:hover { opacity: .88; }
.mcpc-submit:disabled { opacity: .55; cursor: not-allowed; }

/* Privacy */
.mcpc-privacy {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  margin: 10px 0 0;
  text-align: center;
  line-height: 1.5;
}
.mcpc-privacy a { color: rgba(255,255,255,.55); text-decoration: underline; }

/* Success state */
.mcpc-success {
  padding: 52px 32px;
  text-align: center;
}
.mcpc-success-check {
  width: 56px;
  height: 56px;
  background: rgba(74,222,128,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.mcpc-success-check svg { color: #4ade80; width: 26px; height: 26px; }
.mcpc-success-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.mcpc-success-text {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin: 0 0 24px;
  line-height: 1.6;
}
.mcpc-success-close {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: rgba(255,255,255,.70);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  cursor: pointer;
  transition: background .15s;
}
.mcpc-success-close:hover { background: rgba(255,255,255,.13); }

/* Responsive */
@media (max-width: 560px) {
  .mcpc-modal .modal-dialog { margin: 12px; }
  .mcpc-header { padding: 24px 20px 0; }
  .mcpc-body { padding: 16px 20px 24px; }
  .mcpc-grid { grid-template-columns: 1fr; }
  .mcpc-field.full { grid-column: 1; }
  .mcpc-success { padding: 40px 20px; }
}
